diff --git a/migration/360lts-release/oracle/928_IDEMPIERE-454.sql b/migration/360lts-release/oracle/928_IDEMPIERE-454.sql new file mode 100644 index 0000000000..97272a59a5 --- /dev/null +++ b/migration/360lts-release/oracle/928_IDEMPIERE-454.sql @@ -0,0 +1,93 @@ +-- Oct 7, 2012 7:15:57 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_ToolBarButton (Name,ComponentName,Classname,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_Client_ID,AD_Org_ID,Created,CreatedBy,AD_ToolBarButton_ID,Updated,UpdatedBy,IsActive,AD_ToolBarButton_UU) VALUES ('zk Window - File Import','FileImport','org.idempiere.ui.window','N',0,0,0,0,TO_DATE('2012-10-07 19:15:57','YYYY-MM-DD HH24:MI:SS'),100,1000007,TO_DATE('2012-10-07 19:15:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','afdd17a6-5fd1-411e-8596-5310aa68785f') +; + +-- Oct 25, 2012 11:42:24 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','Field {0} not found',200082,'D','a41866df-ebaf-4ea4-a5be-694b21d076c6','FieldNotFound','Y',TO_DATE('2012-10-25 23:42:22','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:42:22','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:42:24 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200082 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) +; + +-- Oct 25, 2012 11:43:32 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} not a window field',200083,'D','ff2e000e-330e-40d7-8da2-37c558c02fae','NotAWindowField','Y',TO_DATE('2012-10-25 23:43:31','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:43:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:43:32 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200083 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) +; + +-- Oct 25, 2012 11:45:01 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} is readonly',200084,'D','914303a5-b1b7-46db-9d3d-953258f1815c','FieldIsReadOnly','Y',TO_DATE('2012-10-25 23:45:00','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:45:00','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:45:01 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200084 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) +; + +-- Oct 25, 2012 11:45:50 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} is not displayed',200085,'D','6406807b-ead4-4bbe-9221-8d3936e77f22','FieldNotDisplayed','Y',TO_DATE('2012-10-25 23:45:49','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:45:49','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:45:50 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200085 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) +; + +-- Oct 25, 2012 11:46:55 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} not resolved = ({1})',200086,'D','bbaa12b8-df37-4a2a-812f-144bbfdef1a9','ForeignNotResolved','Y',TO_DATE('2012-10-25 23:46:53','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:46:53','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:46:55 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200086 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) +; + +-- Oct 25, 2012 11:48:44 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','ERROR: {0} parent cannot be changed',200087,'D','a47623df-6f91-42ad-9172-2459a680c3cf','ParentCannotChange','Y',TO_DATE('2012-10-25 23:48:43','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:48:43','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:48:44 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200087 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) +; + +-- Oct 25, 2012 11:49:42 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','ERROR: {0} not editable',200088,'D','78a73537-7dee-44cc-b66d-76cfba2fb199','FieldNotEditable','Y',TO_DATE('2012-10-25 23:49:40','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:49:40','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:49:42 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200088 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) +; + +-- Oct 25, 2012 11:50:46 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','Successfully saved [{0}]',200089,'D','9d255a1a-e4ea-402b-98ee-ad168603b4c5','SuccessfullySaved','Y',TO_DATE('2012-10-25 23:50:45','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_DATE('2012-10-25 23:50:45','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:50:46 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200089 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) +; + +-- Oct 25, 2012 11:50:57 PM COT +-- IDEMPIERE-454 Easy import +UPDATE AD_Message SET MsgType='I',Updated=TO_DATE('2012-10-25 23:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=200089 +; + +SELECT register_migration_script('928_IDEMPIERE-454.sql') FROM dual +; + diff --git a/migration/360lts-release/oracle/945_IDEMPIERE-197_FixedAssets.sql b/migration/360lts-release/oracle/945_IDEMPIERE-197_FixedAssets.sql new file mode 100644 index 0000000000..d9ca4747c1 --- /dev/null +++ b/migration/360lts-release/oracle/945_IDEMPIERE-197_FixedAssets.sql @@ -0,0 +1,40269 @@ +-- *** migration/FA/oracle/001_FA_Stabilization_oracle.sql *** + +-- Jun 17, 2010 3:12:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Asset', Processing='N', WindowType='M',Updated=TO_DATE('2010-06-17 15:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=251 +; + +-- Jun 17, 2010 3:12:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='3', Description='Asset used internally or by customers', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='Asset', ReplicationType='L', TableName='A_Asset',Updated=TO_DATE('2010-06-17 15:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=539 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_ID', Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', Name='Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset',Updated=TO_DATE('2010-06-17 15:12:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1884 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1884 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8070 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Lot', Description='Lot number (alphanumeric)', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', IsActive='Y', Name='Lot No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lot No',Updated=TO_DATE('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=446 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=446 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=255, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8038 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_User_ID', Description='User within the system - Internal or Business Partner Contact', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', IsActive='Y', Name='User/Contact', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='User',Updated=TO_DATE('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=138 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=138 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='AD_User.C_BPartner_ID=@C_BPartner_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='AD_User BPartner', Type='S',Updated=TO_DATE('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=123 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=123, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8039 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY AD_User_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDisposed', Description='The asset is disposed', EntityType='D', Help='The asset is no longer used and disposed', IsActive='Y', Name='Disposed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Disposed',Updated=TO_DATE('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1939 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1939 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1939, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDisposed', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is disposed', EntityType='D', FieldLength=1, Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposed', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8040 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_Locator_ID', Description='Warehouse Locator', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', IsActive='Y', Name='Locator', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator',Updated=TO_DATE('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=448 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=448 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Warehouse Locator Data type', EntityType='D', Help=NULL, IsActive='Y', Name='Locator (WH)', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=31 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=31 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=448, AD_Process_ID=NULL, AD_Reference_ID=31, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout='compiere.model.CalloutAsset.location', ColumnName='M_Locator_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Warehouse Locator', EntityType='D', FieldLength=22, Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Locator', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8041 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY M_Locator_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsInPosession', Description='The asset is in the possession of the organization', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', IsActive='Y', Name='In Possession', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Possession',Updated=TO_DATE('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1940 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1940 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1940, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsInPosession', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is in the possession of the organization', EntityType='D', FieldLength=1, Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Possession', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8042 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_DATE('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8043 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDepreciationDate', Description='Date of last depreciation', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', IsActive='Y', Name='Asset Depreciation Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset depreciation date',Updated=TO_DATE('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1931 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1931 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8044 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8045 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeYears', Description='Years of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Years', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life years',Updated=TO_DATE('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1947 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1947 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=11 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8046 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=8046 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='M_Product.IsSummary=''N'' AND M_Product.IsActive=''Y''', Description=NULL, EntityType='D', IsActive='Y', Name='M_Product (Trx)', Type='S',Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=231 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=454, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=231, Callout=NULL, ColumnName='M_Product_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product, Service, Item', EntityType='D', FieldLength=22, Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Product', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8047 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDisposalDate', Description='Date when the asset is/was disposed', EntityType='D', Help=NULL, IsActive='Y', Name='Asset Disposal Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset disposal date',Updated=TO_DATE('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1932 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1932 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDisposalDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when the asset is/was disposed', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Disposal Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8048 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Disposal Date', Description='Date when the asset is/was disposed', Help=NULL WHERE AD_Column_ID=8048 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Location_ID', Description='Location or Address', EntityType='D', Help='The Location / Address field defines the location of an entity.', IsActive='Y', Name='Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Address',Updated=TO_DATE('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=202 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Location/Address', EntityType='D', Help=NULL, IsActive='Y', Name='Location (Address)', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=21 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=21 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=202, AD_Process_ID=NULL, AD_Reference_ID=21, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout='compiere.model.CalloutAsset.locator', ColumnName='C_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Location or Address', EntityType='D', FieldLength=22, Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8049 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY C_Location_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8050 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_ID', Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', Name='Asset Group', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group',Updated=TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1929 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1929 +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53357,TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Group',TO_DATE('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +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=53357 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53357, 542, 8105, 8114, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52085,'A_Asset_Type_ID IN (NULL, @A_Asset_Type_ID@)',TO_DATE('2010-06-17 15:12:12','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Group for specified Asset Type','S',TO_DATE('2010-06-17 15:12:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53357, AD_Table_ID=539, AD_Val_Rule_ID=52085, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.assetGroup', ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Group', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8051 +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY A_Asset_Group_ID NUMBER(10) +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_DATE('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='VersionNo', Description='Version Number', EntityType='D', Help=NULL, IsActive='Y', Name='Version No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Version No',Updated=TO_DATE('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1949 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1949 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=20, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8053 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=8053 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Value', Description='Search key for the record in the format required - must be unique', EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', IsActive='Y', Name='Search Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Search Key',Updated=TO_DATE('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=620 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=620 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Value', ColumnSQL=NULL, DefaultValue=NULL, Description='Search key for the record in the format required - must be unique', EntityType='D', FieldLength=40, Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Search Key', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8054 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsOwned', Description='The asset is owned by the organization', EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', IsActive='Y', Name='Owned', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Owned',Updated=TO_DATE('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1941 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1941 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8055 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_DATE('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=469 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=20, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8056 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_DATE('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=275 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8057 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LocationComment', Description='Additional comments or remarks concerning the location', EntityType='D', Help=NULL, IsActive='Y', Name='Location comment', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Location comment',Updated=TO_DATE('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1943 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1943 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1943, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LocationComment', ColumnSQL=NULL, DefaultValue=NULL, Description='Additional comments or remarks concerning the location', EntityType='D', FieldLength=255, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Location comment', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8058 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Location comment', Description='Additional comments or remarks concerning the location', Help=NULL WHERE AD_Column_ID=8058 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDepreciated', Description='The asset will be depreciated', EntityType='D', Help='The asset is used internally and will be depreciated', IsActive='Y', Name='Depreciate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciate',Updated=TO_DATE('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1938 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1938 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8059 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LifeUseUnits', Description='Units of use until the asset is not usable anymore', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', IsActive='Y', Name='Life use', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life use',Updated=TO_DATE('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1942 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1942 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1942, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LifeUseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Units of use until the asset is not usable anymore', EntityType='D', FieldLength=22, Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life use', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8060 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_DATE('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8061 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=8061 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Help', Description='Comment or Hint', EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', IsActive='Y', Name='Comment/Help', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Comment',Updated=TO_DATE('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=326 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=326 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=14 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8062 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8063 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='AD_Client.AD_Client_ID <> 0', Description=NULL, EntityType='D', IsActive='Y', Name='AD_Client Trx Security validation', Type='S',Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=129 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8064 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartner_ID', Description='Identifies a Business Partner', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', IsActive='Y', Name='Business Partner ', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Business Partner ',Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=187 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=187 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_BPartner.IsActive=''Y'' AND C_BPartner.IsSummary=''N''', Description=NULL, EntityType='D', IsActive='Y', Name='C_BPartner (Trx)', Type='S',Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=230 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=230, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8065 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GuaranteeDate', Description='Date when guarantee expires', EntityType='D', Help='Date when the normal guarantee or availability expires', IsActive='Y', Name='Guarantee Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Guarantee date',Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1936 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1936 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1936, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='GuaranteeDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when guarantee expires', EntityType='D', FieldLength=7, Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Guarantee Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8066 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths', Description='Months of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Months', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life months',Updated=TO_DATE('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1946 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1946 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue=NULL, Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8067 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=8067 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetServiceDate', Description='Date when Asset was put into service', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', IsActive='Y', Name='In Service Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Service date',Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1934 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1934 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1934, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetServiceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when Asset was put into service', EntityType='D', FieldLength=7, Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Service Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8068 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseUnits', Description='Currently used units of the assets', EntityType='D', Help=NULL, IsActive='Y', Name='Use units', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Use units',Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1948 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1948 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8069 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=8069 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='SerNo', Description='Product Serial Number ', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', IsActive='Y', Name='Serial No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Serial No',Updated=TO_DATE('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=568 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=568 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=255, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8071 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_DATE('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8072 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_BPartner_Loc', Type='S',Updated=TO_DATE('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=131 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=131, Callout='compiere.model.CalloutAsset.locator', ColumnName='C_BPartner_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies the (ship to) address for this Business Partner', EntityType='D', FieldLength=22, Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Partner Location', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8073 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsFullyDepreciated', Description='The asset is fully depreciated', EntityType='D', Help='The asset costs are fully amortized.', IsActive='Y', Name='Fully depreciated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Fully depreciated',Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1951 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1951 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1951, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsFullyDepreciated', ColumnSQL=NULL, DefaultValue='N', Description='The asset is fully depreciated', EntityType='D', FieldLength=1, Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Fully depreciated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8126 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_AttributeSetInstance_ID', Description='Product Attribute Set Instance', EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', IsActive='Y', Name='Attribute Set Instance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Attribute Set Instance',Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2019 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2019 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Product Attribute', EntityType='D', Help=NULL, IsActive='Y', Name='Product Attribute', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=35 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=35 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2019, AD_Process_ID=NULL, AD_Reference_ID=35, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_AttributeSetInstance_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Attribute Set Instance', EntityType='D', FieldLength=22, Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Attribute Set Instance', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10007 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=526, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Qty', ColumnSQL=NULL, DefaultValue=NULL, Description='Quantity', EntityType='D', FieldLength=22, Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13601 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Project_ID', Description='Financial Project', EntityType='D', Help='A Project allows you to track and control internal or external activities.', IsActive='Y', Name='Project', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Project',Updated=TO_DATE('2010-06-17 15:12:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=208 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=208 +; + +-- Jun 17, 2010 3:12:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=208, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Project_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Financial Project', EntityType='D', FieldLength=10, Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14091 +; + +-- Jun 17, 2010 3:12:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY C_Project_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartnerSR_ID', Description='Business Partner (Agent or Sales Rep)', EntityType='D', Help=NULL, IsActive='Y', Name='BPartner (Agent)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner (Agent)',Updated=TO_DATE('2010-06-17 15:12:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2810 +; + +-- Jun 17, 2010 3:12:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2810 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Vendor or SalesRep selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Vendor or SalesRep', ValidationType='T',Updated=TO_DATE('2010-06-17 15:12:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=232 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=232 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'N', OrderByClause = 'C_BPartner.Value', EntityType ='D', WhereClause = '(C_BPartner.IsSalesRep=''Y'' OR C_BPartner.IsVendor=''Y'')' WHERE AD_Reference_ID = 232 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2810, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=232, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartnerSR_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Business Partner (Agent or Sales Rep)', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='BPartner (Agent)', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14096 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='BPartner (Agent)', Description='Business Partner (Agent or Sales Rep)', Help=NULL WHERE AD_Column_ID=14096 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_InOutLine_ID', Description='Line on Shipment or Receipt document', EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', IsActive='Y', Name='Shipment/Receipt Line', PO_Description='Line on Receipt document', PO_Help=NULL, PO_Name='Receipt Line', PO_PrintName='Receipt Line', PrintName='Shipment/Receipt Line',Updated=TO_DATE('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1026 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1026 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=10, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14285 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceDate', Description='Last Maintenance Date', EntityType='D', Help=NULL, IsActive='Y', Name='Last Maintenance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Maintenance',Updated=TO_DATE('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2931 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2931 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Date', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Maintenance', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14845 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Maintenance', Description='Last Maintenance Date', Help=NULL WHERE AD_Column_ID=14845 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY LastMaintenanceDate DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='NextMaintenenceDate', Description='Next Maintenence Date', EntityType='D', Help=NULL, IsActive='Y', Name='Next Maintenence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Next Maintenence',Updated=TO_DATE('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2932 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2932 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NextMaintenenceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Next Maintenence Date', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Next Maintenence', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14846 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=14846 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Next Maintenence', Description='Next Maintenence Date', Help=NULL WHERE AD_Column_ID=14846 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset MODIFY NextMaintenenceDate DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceUnit', Description='Last Maintenance Unit', EntityType='D', Help=NULL, IsActive='Y', Name='Last Unit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Unit',Updated=TO_DATE('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2933 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2933 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2933, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceUnit', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Unit', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Unit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14847 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Unit', Description='Last Maintenance Unit', Help=NULL WHERE AD_Column_ID=14847 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='NextMaintenenceUnit', Description='Next Maintenence Unit', EntityType='D', Help=NULL, IsActive='Y', Name='Next Unit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Next Unit',Updated=TO_DATE('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2934 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2934 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2934, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NextMaintenenceUnit', ColumnSQL=NULL, DefaultValue=NULL, Description='Next Maintenence Unit', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Next Unit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14848 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Next Unit', Description='Next Maintenence Unit', Help=NULL WHERE AD_Column_ID=14848 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LeaseTerminationDate', Description='Lease Termination Date', EntityType='D', Help='Last Date of Lease', IsActive='Y', Name='Lease Termination', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lease Termination',Updated=TO_DATE('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2935 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2935 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2935, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LeaseTerminationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Lease Termination Date', EntityType='D', FieldLength=7, Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lease Termination', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14849 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Lease_BPartner_ID', Description='The Business Partner who rents or leases', EntityType='D', Help=NULL, IsActive='Y', Name='Lessor', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lessor',Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2936 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2936 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Vendor selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Vendors', ValidationType='T',Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'C_BPartner.IsVendor=''Y''' WHERE AD_Reference_ID = 192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2936, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=192, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lease_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='The Business Partner who rents or leases', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lessor', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14850 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Lessor', Description='The Business Partner who rents or leases', Help=NULL WHERE AD_Column_ID=14850 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceNote', Description='Last Maintenance Note', EntityType='D', Help=NULL, IsActive='Y', Name='Last Note', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Note',Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2937 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2937 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2937, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceNote', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Note', EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Note', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14851 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Note', Description='Last Maintenance Note', Help=NULL WHERE AD_Column_ID=14851 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_CreateDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_CreateDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_CreateDate',Updated=TO_DATE('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53526 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53526 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53526, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_CreateDate', ColumnSQL=NULL, DefaultValue='@Date@', Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_CreateDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55591 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55591 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_CreateDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55591 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_RevalDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_RevalDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_RevalDate',Updated=TO_DATE('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53527 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53527 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53527, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_RevalDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_RevalDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55592 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55592 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_RevalDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55592 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Parent_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Parent_Asset_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Parent_Asset_ID',Updated=TO_DATE('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53528 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Asset ID', EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_ID', ValidationType='T',Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 539, AD_Display = 8054, AD_Key = 8070, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53528, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53258, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Parent_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Parent_Asset_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55593 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55593 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Parent_Asset_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55593 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_QTY_Current', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Qty',Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53494 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Float Number', EntityType='D', Help=NULL, IsActive='Y', Name='Number', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=22 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55594 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55594 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55594 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_QTY_Original', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_QTY_Original', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_QTY_Original',Updated=TO_DATE('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53529 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53529 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53529, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Original', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_QTY_Original', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55595 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55595 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_QTY_Original', Description=NULL, Help=NULL WHERE AD_Column_ID=55595 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54165,0,'A_Asset_Class_ID',TO_DATE('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset class','Asset class',TO_DATE('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54165 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) +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53358,TO_DATE('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Class (all)',TO_DATE('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +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=53358 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53269,'3',TO_DATE('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','A_Asset_Class','L','A_Asset_Class',TO_DATE('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53269 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:12:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53381,TO_DATE('2010-06-17 15:12:45','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Class',1,'Y','N','Y','Y','A_Asset_Class','N',1000000,TO_DATE('2010-06-17 15:12:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59251,0,30,53269,'Description',TO_DATE('2010-06-17 15:12:46','YYYY-MM-DD HH24:MI:SS'),0,10,'Y','N','N','N','N','N','N','N','N','Y','Description',TO_DATE('2010-06-17 15:12:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59251 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) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59252,0,30,53269,'A_Asset_Class_ID',TO_DATE('2010-06-17 15:12:47','YYYY-MM-DD HH24:MI:SS'),0,10,'Y','N','N','N','N','N','N','N','N','Y','A_Asset_Class_ID',TO_DATE('2010-06-17 15:12:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59252 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) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53358, 53269, 59251, 59252, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59253,54165,0,30,53358,539,'A_Asset_Class_ID',TO_DATE('2010-06-17 15:12:48','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_DATE('2010-06-17 15:12:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59253 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) +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD A_Asset_Class_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54166,0,'A_Asset_Status',TO_DATE('2010-06-17 15:12:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Status','Asset Status',TO_DATE('2010-06-17 15:12:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54166 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) +; + +-- Jun 17, 2010 3:12:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_DATE('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=17 +; + +-- Jun 17, 2010 3:12:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17 +; + +-- Jun 17, 2010 3:12:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53359,TO_DATE('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),0,'Asset Status','D','Y','A_Asset Status',TO_DATE('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:12:52 PM CDT +-- Generated Central ID for Fixed Asset +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=53359 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53587,53359,TO_DATE('2010-06-17 15:12:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activated',TO_DATE('2010-06-17 15:12:52','YYYY-MM-DD HH24:MI:SS'),0,'AC') +; + +-- Jun 17, 2010 3:12:56 PM CDT +-- Generated Central ID for Fixed Asset +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=53587 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) +; + +-- Jun 17, 2010 3:12:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53588,53359,TO_DATE('2010-06-17 15:12:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposed',TO_DATE('2010-06-17 15:12:56','YYYY-MM-DD HH24:MI:SS'),0,'DI') +; + +-- Jun 17, 2010 3:12:57 PM CDT +-- Generated Central ID for Fixed Asset +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=53588 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) +; + +-- Jun 17, 2010 3:12:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53589,53359,TO_DATE('2010-06-17 15:12:57','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciated',TO_DATE('2010-06-17 15:12:57','YYYY-MM-DD HH24:MI:SS'),0,'DP') +; + +-- Jun 17, 2010 3:12:58 PM CDT +-- Generated Central ID for Fixed Asset +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=53589 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) +; + +-- Jun 17, 2010 3:12:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53590,53359,TO_DATE('2010-06-17 15:12:58','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','New',TO_DATE('2010-06-17 15:12:58','YYYY-MM-DD HH24:MI:SS'),0,'NW') +; + +-- Jun 17, 2010 3:12:59 PM CDT +-- Generated Central ID for Fixed Asset +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=53590 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) +; + +-- Jun 17, 2010 3:13:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53591,53359,TO_DATE('2010-06-17 15:12:59','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Preservation',TO_DATE('2010-06-17 15:12:59','YYYY-MM-DD HH24:MI:SS'),0,'PR') +; + +-- Jun 17, 2010 3:13:04 PM CDT +-- Generated Central ID for Fixed Asset +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=53591 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) +; + +-- Jun 17, 2010 3:13:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53592,53359,TO_DATE('2010-06-17 15:13:04','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Retired',TO_DATE('2010-06-17 15:13:04','YYYY-MM-DD HH24:MI:SS'),0,'RE') +; + +-- Jun 17, 2010 3:13:05 PM CDT +-- Generated Central ID for Fixed Asset +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=53592 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) +; + +-- Jun 17, 2010 3:13:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53593,53359,TO_DATE('2010-06-17 15:13:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Sold',TO_DATE('2010-06-17 15:13:05','YYYY-MM-DD HH24:MI:SS'),0,'SO') +; + +-- Jun 17, 2010 3:13:10 PM CDT +-- Generated Central ID for Fixed Asset +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=53593 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) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59254,54166,0,17,53359,539,'A_Asset_Status',TO_DATE('2010-06-17 15:13:10','YYYY-MM-DD HH24:MI:SS'),0,'''NW''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Status',TO_DATE('2010-06-17 15:13:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59254 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) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD A_Asset_Status NVARCHAR2(2) DEFAULT 'NW' NOT NULL +; + +-- Jun 17, 2010 3:13:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54167,0,'A_Asset_Action',TO_DATE('2010-06-17 15:13:12','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Action','Asset Action',TO_DATE('2010-06-17 15:13:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:13 PM CDT +-- Generated Central ID for Fixed Asset +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=54167 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) +; + +-- Jun 17, 2010 3:13:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53360,TO_DATE('2010-06-17 15:13:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset Actions',TO_DATE('2010-06-17 15:13:13','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:13:14 PM CDT +-- Generated Central ID for Fixed Asset +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=53360 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:13:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53594,53360,TO_DATE('2010-06-17 15:13:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Dispose',TO_DATE('2010-06-17 15:13:14','YYYY-MM-DD HH24:MI:SS'),0,'DI') +; + +-- Jun 17, 2010 3:13:15 PM CDT +-- Generated Central ID for Fixed Asset +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=53594 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) +; + +-- Jun 17, 2010 3:13:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53595,53360,TO_DATE('2010-06-17 15:13:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Inbound',TO_DATE('2010-06-17 15:13:15','YYYY-MM-DD HH24:MI:SS'),0,'IB') +; + +-- Jun 17, 2010 3:13:16 PM CDT +-- Generated Central ID for Fixed Asset +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=53595 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) +; + +-- Jun 17, 2010 3:13:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53596,53360,TO_DATE('2010-06-17 15:13:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Modify',TO_DATE('2010-06-17 15:13:16','YYYY-MM-DD HH24:MI:SS'),0,'MD') +; + +-- Jun 17, 2010 3:13:17 PM CDT +-- Generated Central ID for Fixed Asset +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=53596 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) +; + +-- Jun 17, 2010 3:13:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53597,53360,TO_DATE('2010-06-17 15:13:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Outbound',TO_DATE('2010-06-17 15:13:17','YYYY-MM-DD HH24:MI:SS'),0,'OB') +; + +-- Jun 17, 2010 3:13:20 PM CDT +-- Generated Central ID for Fixed Asset +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=53597 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) +; + +-- Jun 17, 2010 3:13:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53598,53360,TO_DATE('2010-06-17 15:13:20','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reevaluate',TO_DATE('2010-06-17 15:13:20','YYYY-MM-DD HH24:MI:SS'),0,'RE') +; + +-- Jun 17, 2010 3:13:22 PM CDT +-- Generated Central ID for Fixed Asset +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=53598 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) +; + +-- Jun 17, 2010 3:13:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53599,53360,TO_DATE('2010-06-17 15:13:22','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Retire',TO_DATE('2010-06-17 15:13:22','YYYY-MM-DD HH24:MI:SS'),0,'RT') +; + +-- Jun 17, 2010 3:13:23 PM CDT +-- Generated Central ID for Fixed Asset +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=53599 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) +; + +-- Jun 17, 2010 3:13:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53600,53360,TO_DATE('2010-06-17 15:13:23','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Transfer',TO_DATE('2010-06-17 15:13:23','YYYY-MM-DD HH24:MI:SS'),0,'TR') +; + +-- Jun 17, 2010 3:13:25 PM CDT +-- Generated Central ID for Fixed Asset +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=53600 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) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59255,54167,0,17,53360,539,'A_Asset_Action',TO_DATE('2010-06-17 15:13:25','YYYY-MM-DD HH24:MI:SS'),0,'''MD''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Action',TO_DATE('2010-06-17 15:13:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59255 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) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD A_Asset_Action NVARCHAR2(2) DEFAULT 'MD' NOT NULL +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_DATE('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1047 +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047 +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59256,1047,0,20,539,'Processed',TO_DATE('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),0,'''N''','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_DATE('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59256 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) +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:13:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54168,0,'AssetActivationDate',TO_DATE('2010-06-17 15:13:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation Date','Activation Date',TO_DATE('2010-06-17 15:13:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:29 PM CDT +-- Generated Central ID for Fixed Asset +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=54168 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) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59257,54168,0,15,539,'AssetActivationDate',TO_DATE('2010-06-17 15:13:29','YYYY-MM-DD HH24:MI:SS'),0,'D',7,'Y','N','N','N','N','N','N','N','Y','N','Y','Activation Date',TO_DATE('2010-06-17 15:13:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59257 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) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD AssetActivationDate DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54169,0,'InventoryNo',TO_DATE('2010-06-17 15:13:31','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Inventory No','Inventory No',TO_DATE('2010-06-17 15:13:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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=54169 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) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59258,54169,0,10,539,'InventoryNo',TO_DATE('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,'D',30,'Y','N','N','Y','N','N','N','Y','Y','N','Y','Inventory No',10,TO_DATE('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59258 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) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD InventoryNo NVARCHAR2(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54170,0,'A_Asset_Type_ID',TO_DATE('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type','Asset Type',TO_DATE('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:34 PM CDT +-- Generated Central ID for Fixed Asset +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=54170 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) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59259,54170,0,19,539,'compiere.model.MAssetType$Callout.assetType','A_Asset_Type_ID',TO_DATE('2010-06-17 15:13:34','YYYY-MM-DD HH24:MI:SS'),0,'1','D',10,'Y','N','N','Y','N','Y','N','Y','Y','N','Y','Asset Type',30,TO_DATE('2010-06-17 15:13:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59259 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) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD A_Asset_Type_ID NUMBER(10) DEFAULT 1 NOT NULL +; + +-- Jun 17, 2010 3:13:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54171,0,'A_Asset_Type',TO_DATE('2010-06-17 15:13:36','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type','Asset Type',TO_DATE('2010-06-17 15:13:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54171 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) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59260,54171,0,10,539,'A_Asset_Type',TO_DATE('2010-06-17 15:13:37','YYYY-MM-DD HH24:MI:SS'),0,'MFX','D',3,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Type',30,TO_DATE('2010-06-17 15:13:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59260 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) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD A_Asset_Type NVARCHAR2(3) DEFAULT 'MFX' NOT NULL +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Activity_ID', Description='Business Activity', EntityType='D', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', IsActive='Y', Name='Activity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Activity',Updated=TO_DATE('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1005 +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1005 +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59261,1005,0,19,539,'C_Activity_ID',TO_DATE('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','D',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','N','N','N','N','N','N','Y','N','Y','Activity',TO_DATE('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59261 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) +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD C_Activity_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Manufacturer', Description='Manufacturer of the Product', EntityType='D', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', IsActive='Y', Name='Manufacturer', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Manufacturer',Updated=TO_DATE('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1915 +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1915 +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59262,1915,0,10,539,'Manufacturer',TO_DATE('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturer of the Product','D',30,'The manufacturer of the Product (used if different from the Business Partner / Vendor)','Y','N','N','N','N','N','N','N','Y','N','Y','Manufacturer',TO_DATE('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59262 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) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD Manufacturer NVARCHAR2(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54172,0,'ManufacturedYear',TO_DATE('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Manufactured Year','Manufactured Year',TO_DATE('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54172 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) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMax,ValueMin,Version) VALUES (0,59263,54172,0,11,539,'ManufacturedYear',TO_DATE('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','Y','N','Y','Manufactured Year',TO_DATE('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'2100','1900',0) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59263 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) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD ManufacturedYear NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=539, AD_Window_ID=251, CommitWarning=NULL, Description='Asset used internally or by customers', EntityType='D', HasTree='N', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:13:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:13:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8070, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=0, SortNo=1,Updated=TO_DATE('2010-06-17 15:13:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6145 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8061, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Quantity', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11523 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12879 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55595, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_QTY_Original', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55594, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:13:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59255,114,58987,0,450,TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','Y','Asset Action',0,0,TO_DATE('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:49 PM CDT +-- Generated Central ID for Fixed Asset +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=58987 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) +; + +-- Jun 17, 2010 3:13:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59260,58988,0,450,TO_DATE('2010-06-17 15:13:49','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','N','N','N','N','N','Asset Type',0,0,TO_DATE('2010-06-17 15:13:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:50 PM CDT +-- Generated Central ID for Fixed Asset +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=58988 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) +; + +-- Jun 17, 2010 3:13:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59262,58989,0,450,TO_DATE('2010-06-17 15:13:50','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturer of the Product',30,'D','The manufacturer of the Product (used if different from the Business Partner / Vendor)','Y','Y','N','N','N','N','N','Manufacturer',0,0,TO_DATE('2010-06-17 15:13:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:51 PM CDT +-- Generated Central ID for Fixed Asset +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=58989 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) +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8064, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6164 +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8052, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6153 +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8054, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Search key for the record in the format required - must be unique', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Search Key', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6155 +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59258,58990,0,450,TO_DATE('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),0,20,'D','Y','Y','Y','N','N','N','Y','Inventory No',40,0,TO_DATE('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +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=58990 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) +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8056, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6157 +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8057, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6158 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8062, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6163 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8043, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6140 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55593, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=14, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='A_Parent_Asset_ID', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:13:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59259,58991,0,450,TO_DATE('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Asset Type',100,0,TO_DATE('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:56 PM CDT +-- Generated Central ID for Fixed Asset +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=58991 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) +; + +-- Jun 17, 2010 3:13:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8051, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Group', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6152 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59253,58992,0,450,TO_DATE('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),0,30,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','N','Asset class',120,0,TO_DATE('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +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=58992 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) +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8053, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic='@A_Asset_Type@=SUP', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Version No', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8047, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:13:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6149 +; + +-- Jun 17, 2010 3:14:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=10007, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8345 +; + +-- Jun 17, 2010 3:14:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8071, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6146 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59263,58993,0,450,TO_DATE('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Manufactured Year',180,0,TO_DATE('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +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=58993 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) +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8038, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6135 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8068, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6143 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8066, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when guarantee expires', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Guarantee Date', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6166 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55591, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55592, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Asset_RevalDate', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14091, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12106 +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59261,58994,0,450,TO_DATE('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity',10,'D','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','Y','Activity',250,0,TO_DATE('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +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=58994 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) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50016,0,TO_DATE('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Location',TO_DATE('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50016 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8042, AD_FieldGroup_ID=50016, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Possession', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6139 +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8065, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=26, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6165 +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8073, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Partner Location', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6147 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8039, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6136 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8041, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=14, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6138 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Partner (Agent or Sales Rep)', DisplayLength=10, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='BPartner (Agent)', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8049, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=26, DisplayLogic='@IsInPosession@=N | @GZ_TipComponenta@=BR | @GZ_TipComponenta@=RD', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6151 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8058, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Additional comments or remarks concerning the location', DisplayLength=20, DisplayLogic='@IsInPosession@=N | @GZ_TipComponeta@=BR | @GZ_TipComponeta@=RD', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Location comment', SeqNo=350, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8055, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=360, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6156 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The Business Partner who rents or leases', DisplayLength=10, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lessor', SeqNo=370, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lease Termination Date', DisplayLength=7, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Lease Termination', SeqNo=380, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12875 +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50017,0,TO_DATE('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Fixed Asset',TO_DATE('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50017 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8059, AD_FieldGroup_ID=50017, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=390, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6160 +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8126, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y & @IsDepreciated@=Y', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Fully depreciated', SeqNo=400, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6213 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8046, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8067, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8060, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6161 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8069, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50018,0,TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Maintenance',TO_DATE('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50018 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14845, AD_FieldGroup_ID=50018, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Maintenance', SeqNo=450, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Last Unit', SeqNo=460, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Note', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Note', SeqNo=470, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Next Maintenence', SeqNo=480, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14848, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Next Unit', SeqNo=490, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Status',Updated=TO_DATE('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=101 +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59254,101,58995,0,450,TO_DATE('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','Y','N','Asset Status',500,0,TO_DATE('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +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=58995 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) +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8044, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=14, DisplayLogic='@IsOwned@=Y & @IsDepeciated@=Y', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=510, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6141 +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59256,58996,0,450,TO_DATE('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',0,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','Y','Processed',520,0,TO_DATE('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +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=58996 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) +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8040, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposed', SeqNo=530, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6137 +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59257,58997,0,450,TO_DATE('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=N','D','Y','Y','Y','N','N','Y','N','Activation Date',540,0,TO_DATE('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +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=58997 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) +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8048, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=14, DisplayLogic='@IsDisposed@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Disposal Date', SeqNo=550, SortNo=0,Updated=TO_DATE('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:14:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53270,251,'3',TO_DATE('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','Asset Product','L','A_Asset_Product',TO_DATE('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53270 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:14:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53382,TO_DATE('2010-06-17 15:14:20','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Product',1,'Y','N','Y','Y','A_Asset_Product','N',1000000,TO_DATE('2010-06-17 15:14:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54173,0,'A_Asset_Product_ID',TO_DATE('2010-06-17 15:14:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Product','Asset Product',TO_DATE('2010-06-17 15:14:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:23 PM CDT +-- Generated Central ID for Fixed Asset +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=54173 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) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59264,54173,0,13,53270,'A_Asset_Product_ID',TO_DATE('2010-06-17 15:14:23','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Product',TO_DATE('2010-06-17 15:14:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59264 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) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Product (A_Asset_Product_ID NUMBER(10) NOT NULL, CONSTRAINT A_Asset_Product_Key PRIMARY KEY (A_Asset_Product_ID)) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59265,102,0,19,53270,129,'AD_Client_ID',TO_DATE('2010-06-17 15:14:25','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:14:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59265 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) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59266,113,0,19,53270,'AD_Org_ID',TO_DATE('2010-06-17 15:14:26','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Org_ID@','Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:14:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59266 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) +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59267,348,0,20,53270,'IsActive',TO_DATE('2010-06-17 15:14:27','YYYY-MM-DD HH24:MI:SS'),0,'''Y''','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:14:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59267 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) +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59268,245,0,16,53270,'Created',TO_DATE('2010-06-17 15:14:35','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-17 15:14:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59268 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) +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59269,246,0,18,110,53270,'CreatedBy',TO_DATE('2010-06-17 15:14:36','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-17 15:14:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59269 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) +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59270,607,0,16,53270,'Updated',TO_DATE('2010-06-17 15:14:37','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-17 15:14:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59270 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) +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59271,608,0,18,110,53270,'UpdatedBy',TO_DATE('2010-06-17 15:14:38','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-17 15:14:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59271 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) +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +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,59272,1884,0,30,53270,'A_Asset_ID',TO_DATE('2010-06-17 15:14:39','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers','D',10,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','Y','N','Y','Y','N','Y','N','N','Asset',10,TO_DATE('2010-06-17 15:14:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59272 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) +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD A_Asset_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Product selection no summary', EntityType='D', Help=NULL, IsActive='Y', Name='M_Product (no summary)', ValidationType='T',Updated=TO_DATE('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=162 +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=162 +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 208, AD_Display = 1410, AD_Key = 1402, isValueDisplayed = 'N', OrderByClause = 'M_Product.Value', EntityType ='D', WhereClause = 'M_Product.IsSummary=''N''' WHERE AD_Reference_ID = 162 +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59273,454,0,18,162,53270,'M_Product_ID',TO_DATE('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Product',20,TO_DATE('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59273 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) +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD M_Product_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +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,59274,2019,0,35,53270,'M_AttributeSetInstance_ID',TO_DATE('2010-06-17 15:14:44','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance','D',10,'The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Attribute Set Instance',30,TO_DATE('2010-06-17 15:14:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59274 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) +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD M_AttributeSetInstance_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +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,59275,448,0,31,53270,'M_Locator_ID',TO_DATE('2010-06-17 15:14:45','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','Y','N','N','N','N','Y','N','Y','Locator',40,TO_DATE('2010-06-17 15:14:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59275 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) +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD M_Locator_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59276,275,0,10,53270,'Description',TO_DATE('2010-06-17 15:14:48','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-17 15:14:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59276 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) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59277,53494,0,29,53270,'A_QTY_Current',TO_DATE('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Current Qty',TO_DATE('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59277 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) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD A_QTY_Current NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,59272,0,53320,53270,251,NULL,TO_DATE('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','N','Y','N','N','N','Product','N',11,1,TO_DATE('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53320 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59264,58998,0,53320,TO_DATE('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Product',0,0,TO_DATE('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +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=58998 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) +; + +-- Jun 17, 2010 3:14:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59265,58999,0,53320,TO_DATE('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:53 PM CDT +-- Generated Central ID for Fixed Asset +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=58999 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) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59266,59000,0,53320,TO_DATE('2010-06-17 15:14:53','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:14:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59000 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) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59272,59001,0,53320,TO_DATE('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',30,0,TO_DATE('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59001 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) +; + +-- Jun 17, 2010 3:14:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59267,59002,0,53320,TO_DATE('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','Y','Active',40,0,TO_DATE('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59002 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) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59273,59003,0,53320,TO_DATE('2010-06-17 15:14:56','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',50,0,TO_DATE('2010-06-17 15:14:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59003 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) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59274,59004,0,53320,TO_DATE('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',60,0,TO_DATE('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59004 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) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59277,59005,0,53320,TO_DATE('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',70,0,TO_DATE('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59005 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) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59275,59006,0,53320,TO_DATE('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',80,0,TO_DATE('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59006 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) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59276,59007,0,53320,TO_DATE('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',90,0,TO_DATE('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59007 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) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the Cost and Depreciation Balances for each fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Depreciation_Workfile_ID', ReplicationType='L', TableName='A_Depreciation_Workfile',Updated=TO_DATE('2010-06-17 15:15:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53116 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53116 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Workfile_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Workfile_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Workfile_ID',Updated=TO_DATE('2010-06-17 15:15:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53487 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53487 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53487, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Workfile_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Workfile_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55395 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55395 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Workfile_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55395 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55396 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55397 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Accumulated_Depr',Updated=TO_DATE('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53488 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Number with 4 decimals', EntityType='D', Help=NULL, IsActive='Y', Name='Amount', ValidationType='D',Updated=TO_DATE('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=12 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53488, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumulated_Depr', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55398 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55398 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55398 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Accumulated_Depr NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Accumulated_Depr=0 WHERE A_Accumulated_Depr IS NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Accumulated_Depr NOT NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Cost',Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53489 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53489, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare', ColumnName='A_Asset_Cost', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Cost', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55399 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55399 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Cost', Description=NULL, Help=NULL WHERE AD_Column_ID=55399 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_Cost NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Cost=0 WHERE A_Asset_Cost IS NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_Cost NOT NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55400 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Life_Current_Year', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Life_Current_Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Life_Current_Year',Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53490 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53490 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53490, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Life_Current_Year', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Life_Current_Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55401 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55401 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Life_Current_Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55401 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_Life_Current_Year NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Life_Current_Year=0 WHERE A_Asset_Life_Current_Year IS NULL +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_Life_Current_Year NOT NULL +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Forecast', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Forecast',Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53491 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53491 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53491, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Forecast', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55402 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55402 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Forecast', Description=NULL, Help=NULL WHERE AD_Column_ID=55402 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Prior_Year_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Prior_Year_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Prior_Year_Accumulated_Depr',Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53492 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53492 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53492, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Prior_Year_Accumulated_Depr', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Prior_Year_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55403 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55403 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Prior_Year_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55403 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='PostingType', Description='The type of posted amount for the transaction', EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', IsActive='Y', Name='PostingType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='PostingType',Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=514 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=514 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Posting Type (Actual Budget etc.) list', EntityType='D', Help=NULL, IsActive='Y', Name='_Posting Type', ValidationType='L',Updated=TO_DATE('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=125 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=125 +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55404 +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55405 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55406 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DateAcct', Description='Accounting Date', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', IsActive='Y', Name='Account Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Acct Date',Updated=TO_DATE('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=263 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=263 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55407 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY DateAcct DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55408 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55409 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55410 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Salvage_Value', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Salvage_Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Salvage_Value',Updated=TO_DATE('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53493 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55411 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55411 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55411 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Salvage_Value NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Salvage_Value=0 WHERE A_Salvage_Value IS NULL +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Salvage_Value NOT NULL +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55412 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55412 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55412 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55413 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55414 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_DATE('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 17, 2010 3:15:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53207,'3','ro.arhipac.adempiere.fa.process.A_Depreciation_Workfile_Build',TO_DATE('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Update depreciation','Y',0,0,TO_DATE('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Workfile_Build',NULL) +; + +-- Jun 17, 2010 3:15:08 PM CDT +-- Generated Central ID for Fixed Asset +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=53207 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) +; + +-- Jun 17, 2010 3:15:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54174,0,'AllAssets',TO_DATE('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','All Assets','AllAssets',TO_DATE('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:09 PM CDT +-- Generated Central ID for Fixed Asset +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=54174 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) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +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,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54174,0,53207,53412,20,'AllAssets',TO_DATE('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0,'Y','Y','Y','N','All Assets',1,TO_DATE('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +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=53412 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) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=53207, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55415 +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55415 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY Processing CHAR(1) DEFAULT 'N' +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Posted', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Posted', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Posted',Updated=TO_DATE('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53495 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53495 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53495, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Posted', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Posted', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55416 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55416 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Posted', Description=NULL, Help=NULL WHERE AD_Column_ID=55416 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Life_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Life Periods', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life Periods',Updated=TO_DATE('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53496 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53496 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53496, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Life_Period', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life Periods', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_DATE('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55417 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55417 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Life Periods', Description=NULL, Help=NULL WHERE AD_Column_ID=55417 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Life_Period NUMBER(10) DEFAULT 0 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Life_Period=0 WHERE A_Life_Period IS NULL +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Life_Period NOT NULL +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Life_Years', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Life Years', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life Years',Updated=TO_DATE('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53497 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53497 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53497, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Life_Years', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life Years', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55418 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55418 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Life Years', Description=NULL, Help=NULL WHERE AD_Column_ID=55418 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Asset_Life_Years NUMBER(10) DEFAULT 0 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Life_Years=0 WHERE A_Asset_Life_Years IS NULL +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Base_Amount', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Base_Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Base_Amount',Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53498 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53498 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53498, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Base_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Base_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55419 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55419 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Base_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55419 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Calc_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Calc_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Calc_Accumulated_Depr',Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53499 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53499 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53499, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Calc_Accumulated_Depr', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Calc_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55420 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55420 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Calc_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55420 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Curr_Dep_Exp', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Curr_Dep_Exp', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Curr_Dep_Exp',Updated=TO_DATE('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53500 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53500 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53500, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Curr_Dep_Exp', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Curr_Dep_Exp', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55421 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55421 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Curr_Dep_Exp', Description=NULL, Help=NULL WHERE AD_Column_ID=55421 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Curr_Dep_Exp NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Curr_Dep_Exp=0 WHERE A_Curr_Dep_Exp IS NULL +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile MODIFY A_Curr_Dep_Exp NOT NULL +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Current_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Period',Updated=TO_DATE('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53501 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53501 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53501, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Current_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55422 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55422 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54175,0,'A_Accumulated_Depr_F',TO_DATE('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation (fiscal)','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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=54175 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) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59278,54175,0,12,53116,'A_Accumulated_Depr_F',TO_DATE('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59278 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) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Accumulated_Depr_F NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54176,0,'A_Asset_Life_Years_F',TO_DATE('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Years (fiscal)','Life Years (fiscal)',TO_DATE('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:18 PM CDT +-- Generated Central ID for Fixed Asset +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=54176 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) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59279,54176,0,11,53116,'A_Asset_Life_Years_F',TO_DATE('2010-06-17 15:15:18','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Life Years (fiscal)',TO_DATE('2010-06-17 15:15:18','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59279 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) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Asset_Life_Years_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54177,0,'A_Life_Period_F',TO_DATE('2010-06-17 15:15:19','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Period (fiscal)','Life Period (fiscal)',TO_DATE('2010-06-17 15:15:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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=54177 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) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59280,54177,0,11,53116,'A_Life_Period_F',TO_DATE('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Life Period (fiscal)',TO_DATE('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59280 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) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Life_Period_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59281,1947,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears',TO_DATE('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0','Years of the usable life of the asset','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Years',TO_DATE('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59281 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) +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD UseLifeYears NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59282,1946,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths',TO_DATE('2010-06-17 15:15:31','YYYY-MM-DD HH24:MI:SS'),0,'0','Months of the usable life of the asset','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Months',TO_DATE('2010-06-17 15:15:31','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59282 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) +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD UseLifeMonths NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54178,0,'UseLifeYears_F',TO_DATE('2010-06-17 15:15:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Use Life - Years (fiscal)','Use Life - Years (fiscal)',TO_DATE('2010-06-17 15:15:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54178 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) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59283,54178,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears_F',TO_DATE('2010-06-17 15:15:33','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Years (fiscal)',TO_DATE('2010-06-17 15:15:33','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59283 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) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD UseLifeYears_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54179,0,'UseLifeMonths_F',TO_DATE('2010-06-17 15:15:34','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Use Life - Months (fiscal)','Use Life - Months (fiscal)',TO_DATE('2010-06-17 15:15:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:35 PM CDT +-- Generated Central ID for Fixed Asset +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=54179 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) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59284,54179,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths_F',TO_DATE('2010-06-17 15:15:35','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_DATE('2010-06-17 15:15:35','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59284 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) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD UseLifeMonths_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:15:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54180,0,'A_Asset_Remaining',TO_DATE('2010-06-17 15:15:36','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Remaining Amt','Remaining Amt',TO_DATE('2010-06-17 15:15:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54180 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) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59285,54180,0,12,53116,'A_Asset_Remaining',TO_DATE('2010-06-17 15:15:37','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Remaining Amt',TO_DATE('2010-06-17 15:15:37','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59285 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) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Asset_Remaining NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:15:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54181,0,'A_Asset_Remaining_F',TO_DATE('2010-06-17 15:15:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Remaining Amt (fiscal)','Remaining Amt (fiscal)',TO_DATE('2010-06-17 15:15:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:42 PM CDT +-- Generated Central ID for Fixed Asset +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=54181 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) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59286,54181,0,12,53116,'A_Asset_Remaining_F',TO_DATE('2010-06-17 15:15:42','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Remaining Amt (fiscal)',TO_DATE('2010-06-17 15:15:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59286 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) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Asset_Remaining_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54182,0,'A_Expense_SL',TO_DATE('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','SL Expense/Period','SL Expense/Period',TO_DATE('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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=54182 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) +; + +-- Jun 17, 2010 3:15:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59287,54182,0,12,53116,'A_Expense_SL','(case when UseLifeMonths - decode(A_Current_Period, 0, 1, A_Current_Period)+ 1> 0 then (A_Asset_Cost - A_Accumulated_Depr)/(UseLifeMonths - decode(A_Current_Period, 0, 1, A_Current_Period) + 1) else 0 end)',TO_DATE('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','SL Expense/Period',TO_DATE('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59287 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) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54183,0,'A_Expense_SL_F',TO_DATE('2010-06-17 15:15:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','SL Expense/Period (fiscal)','SL Expense/Period (fiscal)',TO_DATE('2010-06-17 15:15:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54183 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) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59288,54183,0,12,53116,'A_Expense_SL_F','(case when UseLifeMonths_F - decode(A_Current_Period, 0, 1, A_Current_Period)+ 1> 0 then (A_Asset_Cost - A_Accumulated_Depr_F)/(UseLifeMonths_F - decode(A_Current_Period, 0, 1, A_Current_Period) + 1) else 0 end)',TO_DATE('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','SL Expense/Period (fiscal)',TO_DATE('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59288 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) +; + +-- Jun 17, 2010 3:15:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54184,0,'A_Life_Period_Max',TO_DATE('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life periods (max)','Life periods (max)',TO_DATE('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:51 PM CDT +-- Generated Central ID for Fixed Asset +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=54184 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) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59289,54184,0,11,53116,'A_Life_Period_Max','(select min(A_Life_Period_Max) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Depreciation_Workfile.A_Asset_ID)',TO_DATE('2010-06-17 15:15:51','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (max)',TO_DATE('2010-06-17 15:15:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59289 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) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54185,0,'A_Life_Period_Min',TO_DATE('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life periods (min)','Life periods (min)',TO_DATE('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +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=54185 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) +; + +-- Jun 17, 2010 3:15:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59290,54185,0,11,53116,'A_Life_Period_Min','(select min(A_Life_Period_MIN) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Depreciation_Workfile.A_Asset_ID)',TO_DATE('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (min)',TO_DATE('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59290 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) +; + +-- Jun 17, 2010 3:15:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54186,0,'A_Tip_Finantare',TO_DATE('2010-06-17 15:15:53','YYYY-MM-DD HH24:MI:SS'),0,'Tipul finantarii','D','Y','Tip finantare','Tip finantare',TO_DATE('2010-06-17 15:15:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54186 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) +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53361,TO_DATE('2010-06-17 15:15:54','YYYY-MM-DD HH24:MI:SS'),0,'Tip finantare investitii','D','Y','A_Tip_Finantare',TO_DATE('2010-06-17 15:15:54','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +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=53361 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53601,53361,TO_DATE('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Cofinantare',TO_DATE('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'C') +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +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=53601 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) +; + +-- Jun 17, 2010 3:15:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53602,53361,TO_DATE('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Proprie',TO_DATE('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'P') +; + +-- Jun 17, 2010 3:15:56 PM CDT +-- Generated Central ID for Fixed Asset +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=53602 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) +; + +-- Jun 17, 2010 3:16:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53603,53361,TO_DATE('2010-06-17 15:15:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Terti',TO_DATE('2010-06-17 15:15:56','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:16:01 PM CDT +-- Generated Central ID for Fixed Asset +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=53603 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) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59291,54186,0,17,53361,53116,'A_Tip_Finantare',TO_DATE('2010-06-17 15:16:01','YYYY-MM-DD HH24:MI:SS'),0,'''P''','Tipul finantarii','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Tip finantare',TO_DATE('2010-06-17 15:16:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59291 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) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Tip_Finantare CHAR(1) DEFAULT 'P' NOT NULL +; + +-- Jun 17, 2010 3:16:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54187,0,'A_Valoare_Cofinantare',TO_DATE('2010-06-17 15:16:02','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Contribuţia proprie','Contribuţia proprie',TO_DATE('2010-06-17 15:16:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:03 PM CDT +-- Generated Central ID for Fixed Asset +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=54187 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) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59292,54187,0,12,53116,'org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare','A_Valoare_Cofinantare',TO_DATE('2010-06-17 15:16:03','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','Y','N','N','N','N','N','N','Y','N','Y','Contribuţia proprie',TO_DATE('2010-06-17 15:16:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59292 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) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Valoare_Cofinantare NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:16:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54188,0,'A_Valoare_Tert',TO_DATE('2010-06-17 15:16:04','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Contributie tert','Contributie tert',TO_DATE('2010-06-17 15:16:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:08 PM CDT +-- Generated Central ID for Fixed Asset +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=54188 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) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59293,54188,0,12,53116,'org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare','A_Valoare_Tert',TO_DATE('2010-06-17 15:16:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Contributie tert',TO_DATE('2010-06-17 15:16:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59293 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) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_Valoare_Tert NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59294,275,0,10,53116,'Description',TO_DATE('2010-06-17 15:16:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-17 15:16:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59294 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) +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:16:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54189,0,'A_FundingMode_ID',TO_DATE('2010-06-17 15:16:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Funding Mode','Asset Funding Mode',TO_DATE('2010-06-17 15:16:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:16 PM CDT +-- Generated Central ID for Fixed Asset +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=54189 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) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59295,54189,0,19,53116,'A_FundingMode_ID',TO_DATE('2010-06-17 15:16:16','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','Y','N','Y','Asset Funding Mode',TO_DATE('2010-06-17 15:16:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59295 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) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD A_FundingMode_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59296,1047,0,20,53116,'Processed',TO_DATE('2010-06-17 15:16:17','YYYY-MM-DD HH24:MI:SS'),0,'N','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_DATE('2010-06-17 15:16:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59296 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) +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55400, AD_Table_ID=53116, AD_Window_ID=251, CommitWarning=NULL, Description='Asset Balance Report and Adjustments', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Asset Balances', OrderByClause=NULL, Processing='N', SeqNo=12, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55395, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Workfile_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55401, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Life_Current_Year', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55403, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Prior_Year_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55418, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Years', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55420, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Calc_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:16:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55421, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Curr_Dep_Exp', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:16:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55419, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Base_Amount', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55417, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Periods', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:16:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:16:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55416, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Posted', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55410, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56023 +; + +-- Jun 17, 2010 3:16:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55406, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56025 +; + +-- Jun 17, 2010 3:16:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55402,59008,0,53162,TO_DATE('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','N','A_Period_Forecast',0,0,TO_DATE('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59008 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) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59279,59009,0,53162,TO_DATE('2010-06-17 15:16:25','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','Y','Life Years (fiscal)',0,0,TO_DATE('2010-06-17 15:16:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59009 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) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59280,59010,0,53162,TO_DATE('2010-06-17 15:16:29','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','Y','Life Period (fiscal)',0,0,TO_DATE('2010-06-17 15:16:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59010 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) +; + +-- Jun 17, 2010 3:16:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59296,59011,0,53162,TO_DATE('2010-06-17 15:16:30','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_DATE('2010-06-17 15:16:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59011 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) +; + +-- Jun 17, 2010 3:16:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55396, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56015 +; + +-- Jun 17, 2010 3:16:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55397, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56016 +; + +-- Jun 17, 2010 3:16:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55400, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56017 +; + +-- Jun 17, 2010 3:16:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59294,59012,0,53162,TO_DATE('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',0,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_DATE('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59012 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) +; + +-- Jun 17, 2010 3:16:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55399, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Cost', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:16:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:16:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50019,0,TO_DATE('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Funding',TO_DATE('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50019 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:16:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59291,50019,59013,0,53162,TO_DATE('2010-06-17 15:16:40','YYYY-MM-DD HH24:MI:SS'),0,'Tipul finantarii',10,'D','Y','Y','Y','N','N','Y','N','Tip finantare',60,0,TO_DATE('2010-06-17 15:16:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59013 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) +; + +-- Jun 17, 2010 3:16:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55404, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56018 +; + +-- Jun 17, 2010 3:16:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59295,50019,59014,0,53162,TO_DATE('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Tip_Finantare@!P','D','Y','Y','Y','N','N','N','Y','Asset Funding Mode',80,0,TO_DATE('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59014 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) +; + +-- Jun 17, 2010 3:16:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59292,50019,59015,0,53162,TO_DATE('2010-06-17 15:16:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Contribuţia proprie',90,0,TO_DATE('2010-06-17 15:16:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59015 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) +; + +-- Jun 17, 2010 3:16:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59293,50019,59016,0,53162,TO_DATE('2010-06-17 15:16:46','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Contributie tert',100,0,TO_DATE('2010-06-17 15:16:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59016 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) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50020,0,TO_DATE('2010-06-17 15:16:47','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Depreciation',TO_DATE('2010-06-17 15:16:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50020 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55398, AD_FieldGroup_ID=50020, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:16:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59278,59017,0,53162,TO_DATE('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),0,0,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (fiscal)',120,0,TO_DATE('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59017 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) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59285,59018,0,53162,TO_DATE('2010-06-17 15:16:50','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Remaining Amt',130,0,TO_DATE('2010-06-17 15:16:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59018 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) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59286,59019,0,53162,TO_DATE('2010-06-17 15:16:51','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Remaining Amt (fiscal)',140,0,TO_DATE('2010-06-17 15:16:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59019 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) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59287,59020,0,53162,TO_DATE('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','SL Expense/Period',150,0,TO_DATE('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59020 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) +; + +-- Jun 17, 2010 3:16:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59288,59021,0,53162,TO_DATE('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','SL Expense/Period (fiscal)',160,0,TO_DATE('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59021 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) +; + +-- Jun 17, 2010 3:16:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59290,59022,0,53162,TO_DATE('2010-06-17 15:16:53','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Life periods (min)',170,0,TO_DATE('2010-06-17 15:16:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59022 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) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59289,59023,0,53162,TO_DATE('2010-06-17 15:16:57','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Life periods (max)',180,0,TO_DATE('2010-06-17 15:16:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59023 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) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59281,59024,0,53162,TO_DATE('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0,'Years of the usable life of the asset',22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Usable Life - Years',190,0,TO_DATE('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59024 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) +; + +-- Jun 17, 2010 3:17:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59283,59025,0,53162,TO_DATE('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Years (fiscal)',200,0,TO_DATE('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59025 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) +; + +-- Jun 17, 2010 3:17:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59282,59026,0,53162,TO_DATE('2010-06-17 15:17:02','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Usable Life - Months',210,0,TO_DATE('2010-06-17 15:17:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59026 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) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59284,59027,0,53162,TO_DATE('2010-06-17 15:17:04','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Months (fiscal)',220,0,TO_DATE('2010-06-17 15:17:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59027 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) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55405, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Depreciate', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56024 +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55422, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Current Period', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:17:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55407,59028,0,53162,TO_DATE('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',0,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','Y','N','N','N','N','Account Date',250,0,TO_DATE('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59028 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) +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55415, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Update depreciation', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the accounting setup for each fixed asset. Settings include account numbers to be used in depreciation entries as well depreciation calculation methods', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Acct_ID', ReplicationType='L', TableName='A_Asset_Acct',Updated=TO_DATE('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53123 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53123 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Acct_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Acct_ID',Updated=TO_DATE('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53519 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53519 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55596 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55596 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55596 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Client selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Client', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 112, AD_Display = 208, AD_Key = 207, isValueDisplayed = 'N', OrderByClause = 'AD_Client.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55597 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Organization selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Org (all)', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 155, AD_Display = 522, AD_Key = 528, isValueDisplayed = 'Y', OrderByClause = 'AD_Org.Value', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53123, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55598 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55599 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Account', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Account',Updated=TO_DATE('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53530 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53530 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Account Element', EntityType='D', Help=NULL, IsActive='Y', Name='Account', ValidationType='D',Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=25 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=25 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55600 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55600 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55600 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Acct NOT NULL +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation',Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53473 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53473 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Depreciation Type selection', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Type', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53112, AD_Display = 55346, AD_Key = 55340, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53473, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Field_Clear', ColumnName='A_Depreciation_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55601 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55601 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55601 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_ID NUMBER(10) +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Manual_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Manual_Period',Updated=TO_DATE('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53531 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53531 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List available periods for calculating manual depreciation expense', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Period', ValidationType='L',Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53256 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53256 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53256, Description='Amount entered in the Manual Depreciation Field is by period', EntityType='D', IsActive='Y', Name='Period', Value='PR',Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53358 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53256, Description='The amount entered into the manual depreciation field is for the year', EntityType='D', IsActive='Y', Name='Yearly', Value='YR',Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53359 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55602 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55602 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55602 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Manual_Period NVARCHAR2(2) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Table_Header_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Table_Header_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Table_Header_ID',Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53481 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53481 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List of depreciation table codes', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Table_Codes', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53114, AD_Display = 55373, AD_Key = 55364, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Table_Period', ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55603 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55603 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55603 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Gain', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Gain', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Gain',Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53532 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53532 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53532, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Gain', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposal_Gain', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55604 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55604 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Gain', Description=NULL, Help=NULL WHERE AD_Column_ID=55604 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cost_Offset_Prior', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Cost Offset for Prior Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Cost Offset for Prior Year',Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53533 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53533 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55605 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55605 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cost_Offset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Cost Offset for Current Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Cost Offset for Current Year',Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53534 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53534 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55606 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55606 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cal_Method', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Reval_Cal_Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Reval_Cal_Method',Updated=TO_DATE('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53509 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53509 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List of Revaluation Types', EntityType='D', Help=NULL, IsActive='Y', Name='A_Reval_Method_Type', ValidationType='L',Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53259 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53259 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53259, Description='Revaluate each year seperately', EntityType='D', IsActive='N', Name='Inception to date', Value='IDF',Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53367 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53259, Description='Revaluate current year to date balances and then revaluates the beginning balance', EntityType='D', IsActive='Y', Name='Year Balances', Value='YBF',Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53368 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55607 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55607 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55607 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Reval_Cal_Method NVARCHAR2(3) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Accumdep_Offset_Prior', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Accumulated Depreciation Offset for Prior Year',Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53535 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53535 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55608 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55608 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Accumdep_Offset_Cur', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Accumulated Depreciation Offset for Current Year',Updated=TO_DATE('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53536 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53536 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55609 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55609 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Start', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Start', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Start',Updated=TO_DATE('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53537 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53537 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55610 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55610 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55610 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_End', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_End', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_End',Updated=TO_DATE('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53538 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53538 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55611 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55611 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55611 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Disposal Revenue', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Disposal Revenue',Updated=TO_DATE('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53539 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53539 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55612 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55612 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Loss on Disposal', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Loss on Disposal',Updated=TO_DATE('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53540 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53540 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55613 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55613 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55614 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55615 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='''Y''', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55616 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55616 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55617 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Acct SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55618 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55619 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55620 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_AcctSchema_ID', Description='Rules for accounting', EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', IsActive='Y', Name='Accounting Schema', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accounting Schema',Updated=TO_DATE('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=181 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=181 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55621 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Split_Percent', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Split Percent', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Split Percent',Updated=TO_DATE('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53541 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53541 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, ValueMax='1', ValueMin='0.01', Version=0,Updated=TO_DATE('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55622 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55622 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55622 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Split_Percent NUMBER DEFAULT 1 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Acct SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55623 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55623 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55623 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Salvage_Value NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Salvage_Value NULL +; + +-- Jun 17, 2010 3:17:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Depexp_Offset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Expense Offs', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Expense Offs',Updated=TO_DATE('2010-06-17 15:17:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53542 +; + +-- Jun 17, 2010 3:17:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53542 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55624 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55624 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Variable_Perc', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Variable Percent', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Variable Percent',Updated=TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53543 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53543 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55625 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55625 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55625 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Method_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Method',Updated=TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53544 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53544 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53362,TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),0,'Depreciation Calculation Method','D','Y','A_Depreciation_Method',TO_DATE('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +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=53362 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53362, 53124, 55626, 55627, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53544, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Method_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55628 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55628 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55628 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Method_ID NUMBER(10) +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Manual_Amount', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Manual_Amount',Updated=TO_DATE('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53545 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53545 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55629 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55629 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55629 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Conv_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Convention Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Convention Type',Updated=TO_DATE('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53546 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53546 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Display mid year convention types', EntityType='D', Help=NULL, IsActive='Y', Name='A_ConventionType', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53267 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53267 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53125, AD_Display = 55630, AD_Key = 55631, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53267 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53546, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Conv_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Convention Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55632 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55632 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Conv_ID NUMBER(10) +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Spread_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Spread_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Spread_ID',Updated=TO_DATE('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53547 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53547 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Depreciation Type Spread', EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Spread', ValidationType='T',Updated=TO_DATE('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53126, AD_Display = 55633, AD_Key = 55634, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53547, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Spread_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55635 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55635 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Spread_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55635 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation Account', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation Account',Updated=TO_DATE('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53548 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53548 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55636 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55636 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55636 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Accumdepreciation_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Accumdepreciation_Acct NOT NULL +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetAcct',Updated=TO_DATE('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53549 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53549 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55637 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55637 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55637 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Asset_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct MODIFY A_Asset_Acct NOT NULL +; + +-- Jun 17, 2010 3:17:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54190,0,'A_Disposal_Gain_Acct',TO_DATE('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Gain Acct','Disposal Gain Acct',TO_DATE('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54190 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) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59297,54190,0,25,53123,'A_Disposal_Gain_Acct',TO_DATE('2010-06-17 15:17:33','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Gain Acct',TO_DATE('2010-06-17 15:17:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59297 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) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Disposal_Gain_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54191,0,'A_Reval_Cost_Offset_Prior_Acct',TO_DATE('2010-06-17 15:17:35','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Cost Offset Prior Acct','Reval Cost Offset Prior Acct',TO_DATE('2010-06-17 15:17:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54191 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) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59298,54191,0,25,53123,'A_Reval_Cost_Offset_Prior_Acct',TO_DATE('2010-06-17 15:17:37','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_DATE('2010-06-17 15:17:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59298 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) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Reval_Cost_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54192,0,'A_Reval_Cost_Offset_Acct',TO_DATE('2010-06-17 15:17:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Cost Offset Acct','Reval Cost Offset Acct',TO_DATE('2010-06-17 15:17:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:39 PM CDT +-- Generated Central ID for Fixed Asset +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=54192 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) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59299,54192,0,25,53123,'A_Reval_Cost_Offset_Acct',TO_DATE('2010-06-17 15:17:39','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_DATE('2010-06-17 15:17:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59299 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) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Reval_Cost_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54193,0,'A_Reval_Adep_Offset_Prior_Acct',TO_DATE('2010-06-17 15:17:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Reval_Accumdep_Offset_Prior','A_Reval_Accumdep_Offset_Prior',TO_DATE('2010-06-17 15:17:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:41 PM CDT +-- Generated Central ID for Fixed Asset +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=54193 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) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59300,54193,0,25,53123,'A_Reval_Adep_Offset_Prior_Acct',TO_DATE('2010-06-17 15:17:41','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_DATE('2010-06-17 15:17:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59300 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) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Reval_Adep_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54194,0,'A_Reval_Adep_Offset_Cur_Acct',TO_DATE('2010-06-17 15:17:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Reval_Accumdep_Offset_Cur','A_Reval_Accumdep_Offset_Cur',TO_DATE('2010-06-17 15:17:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54194 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) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59301,54194,0,25,53123,'A_Reval_Adep_Offset_Cur_Acct',TO_DATE('2010-06-17 15:17:43','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_DATE('2010-06-17 15:17:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59301 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) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Reval_Adep_Offset_Cur_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54195,0,'A_Disposal_Revenue_Acct',TO_DATE('2010-06-17 15:17:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Disposal_Revenue','A_Disposal_Revenue',TO_DATE('2010-06-17 15:17:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:46 PM CDT +-- Generated Central ID for Fixed Asset +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=54195 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) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59302,54195,0,25,53123,'A_Disposal_Revenue_Acct',TO_DATE('2010-06-17 15:17:46','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Disposal_Revenue',TO_DATE('2010-06-17 15:17:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59302 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) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Disposal_Revenue_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:17:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54196,0,'A_Disposal_Loss_Acct',TO_DATE('2010-06-17 15:17:47','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Loss Acct','Disposal Loss Acct',TO_DATE('2010-06-17 15:17:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:48 PM CDT +-- Generated Central ID for Fixed Asset +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=54196 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) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59303,54196,0,25,53123,'A_Disposal_Loss_Acct',TO_DATE('2010-06-17 15:17:48','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct',TO_DATE('2010-06-17 15:17:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59303 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) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Disposal_Loss_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:17:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54197,0,'A_Reval_Depexp_Offset_Acct',TO_DATE('2010-06-17 15:17:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Depexp Offset Acct','Reval Depexp Offset Acct',TO_DATE('2010-06-17 15:17:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54197 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) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59304,54197,0,25,53123,'A_Reval_Depexp_Offset_Acct',TO_DATE('2010-06-17 15:17:50','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_DATE('2010-06-17 15:17:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59304 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) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Reval_Depexp_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54198,0,'A_Depreciation_Method_F_ID',TO_DATE('2010-06-17 15:17:51','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Method (fiscal)','Depreciation Method (fiscal)',TO_DATE('2010-06-17 15:17:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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=54198 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) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59305,54198,0,18,53362,53123,'A_Depreciation_Method_F_ID',TO_DATE('2010-06-17 15:17:52','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method (fiscal)',TO_DATE('2010-06-17 15:17:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59305 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) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Depreciation_Method_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:17:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54199,0,'A_Depreciation_F_ID',TO_DATE('2010-06-17 15:17:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation (fiscal)','Depreciation (fiscal)',TO_DATE('2010-06-17 15:17:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:57 PM CDT +-- Generated Central ID for Fixed Asset +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=54199 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) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59306,54199,0,18,53264,53123,'A_Depreciation_F_ID',TO_DATE('2010-06-17 15:17:57','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation (fiscal)',TO_DATE('2010-06-17 15:17:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59306 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) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Depreciation_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54200,0,'A_Depreciation_Conv_F_ID',TO_DATE('2010-06-17 15:18:01','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Convention (fiscal)','Depreciation Convention (fiscal)',TO_DATE('2010-06-17 15:18:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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=54200 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) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59307,54200,0,18,53267,53123,'A_Depreciation_Conv_F_ID',TO_DATE('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Convention (fiscal)',TO_DATE('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59307 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) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Depreciation_Conv_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:18:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54201,0,'A_Depreciation_Variable_Perc_F',TO_DATE('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Variable Percent (fiscal)','Variable Percent (fiscal)',TO_DATE('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:04 PM CDT +-- Generated Central ID for Fixed Asset +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=54201 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) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59308,54201,0,22,53123,'A_Depreciation_Variable_Perc_F',TO_DATE('2010-06-17 15:18:04','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Variable Percent (fiscal)',TO_DATE('2010-06-17 15:18:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59308 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) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD A_Depreciation_Variable_Perc_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ValidFrom', Description='Valid from including this date (first day)', EntityType='D', Help='The Valid From date indicates the first day of a date range', IsActive='Y', Name='Valid from', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Valid from',Updated=TO_DATE('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=617 +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=617 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59309,617,0,15,53123,'ValidFrom',TO_DATE('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)','D',7,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','N','Valid from',TO_DATE('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59309 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) +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD ValidFrom DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55599, AD_Table_ID=53123, AD_Window_ID=251, CommitWarning=NULL, Description='Enter accounting setup information', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Accounting Setup', OrderByClause=NULL, Processing='N', SeqNo=14, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55618, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55862 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55610, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55611, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55623, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Accounts',Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50001 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55622, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55597, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55863 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55598, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=2,Updated=TO_DATE('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55864 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55621, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55865 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55866 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59309,59029,0,53157,TO_DATE('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)',7,'D','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',50,0,TO_DATE('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59029 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) +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Setup',Updated=TO_DATE('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50002 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55617, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=1,Updated=TO_DATE('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55867 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59306,59030,0,53157,TO_DATE('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation (fiscal)',80,0,TO_DATE('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59030 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) +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55629, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55603, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic='@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_ID@=1000006|@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55625, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59308,59031,0,53157,TO_DATE('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022','D','Y','Y','Y','N','N','N','Y','Variable Percent (fiscal)',130,0,TO_DATE('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59031 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) +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55635, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Spread_ID', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55628, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Method', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59305,59032,0,53157,TO_DATE('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Method (fiscal)',160,0,TO_DATE('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59032 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) +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55632, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Convention Type', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59307,59033,0,53157,TO_DATE('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Convention (fiscal)',180,0,TO_DATE('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59033 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) +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55637, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55636, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55600, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55612, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55613, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59302,59034,0,53157,TO_DATE('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',220,0,TO_DATE('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59034 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) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59303,59035,0,53157,TO_DATE('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct',230,0,TO_DATE('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59035 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) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Revaluation Accounts',Updated=TO_DATE('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50004 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55607, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55606, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55605, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59299,59036,0,53157,TO_DATE('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',250,0,TO_DATE('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59036 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) +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55609, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59298,59037,0,53157,TO_DATE('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',260,0,TO_DATE('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59037 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) +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55608, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59301,59038,0,53157,TO_DATE('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',270,0,TO_DATE('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59038 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) +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55624, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59300,59039,0,53157,TO_DATE('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',280,0,TO_DATE('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59039 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) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59304,59040,0,53157,TO_DATE('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',290,0,TO_DATE('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59040 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) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Addition', ReplicationType='L', TableName='A_Asset_Addition',Updated=TO_DATE('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Addition_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Addition', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Addition',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53612 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53612 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetValueAmt', Description='Book Value of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Asset value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset value',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1935 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1935 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GL_JournalBatch_ID', Description='General Ledger Journal Batch', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', IsActive='Y', Name='Journal Batch', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Journal Batch',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=313 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=313 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Line', Description='Unique line for this document', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', IsActive='Y', Name='Line No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Line No',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=439 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=439 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocumentNo', Description='Document sequence number of the document', EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', IsActive='Y', Name='Document No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Document No',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=290 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=290 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='DocumentNo Invoice Vendor', ValidationType='T',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 318, AD_Display = 3492, AD_Key = 3484, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Invoice_ID', Description='Invoice Identifier', EntityType='D', Help='The Invoice Document.', IsActive='Y', Name='Invoice', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1008 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1008 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_SourceType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Source Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Source Type',Updated=TO_DATE('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53640 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53640 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Entry Source Types', EntityType='D', Help='Listing of entry source types', IsActive='Y', Name='A_SourceType', ValidationType='L',Updated=TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53276 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry was created from an imported document', EntityType='D', IsActive='Y', Name='Imported', Value='IMP',Updated=TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53412 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry is related to an invoice', EntityType='D', IsActive='Y', Name='Invoice', Value='INV',Updated=TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53413 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='The entry was created from a journal entry', EntityType='D', IsActive='N', Name='Journal Entry', Value='JRN',Updated=TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53414 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry was manually created', EntityType='D', IsActive='Y', Name='Manual', Value='MAN',Updated=TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53415 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53604,53276,TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Project',TO_DATE('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),0,'PRJ') +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +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=53604 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) +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_CapvsExp', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Capital/Expense', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Capital/Expense',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53641 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53641 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Capital vs Expense', EntityType='D', Help='Inidcates if charge is capital or expense', IsActive='Y', Name='A_CapvsExp', ValidationType='L',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53277 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53277, Description='Indicates cost associated with this entry is capital', EntityType='D', IsActive='Y', Name='Capital', Value='Cap',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53416 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53277, Description='Inidicates this charge is an expense', EntityType='D', IsActive='Y', Name='Expense', Value='Exp',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53417 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocStatus', Description='The current status of the document', EntityType='D', Help='The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field', IsActive='Y', Name='Document Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Status',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=289 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=289 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Document Status list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Status', ValidationType='L',Updated=TO_DATE('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=131 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=131 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Unknown', Value='??',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=190 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=190 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Approved', Value='AP',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=166 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=166 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Closed', Value='CL',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=177 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=177 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Completed', Value='CO',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=165 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=165 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Drafted', Value='DR',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=164 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=164 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid', Value='IN',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=173 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=173 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='In Progress', Value='IP',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=341 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=341 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Not Approved', Value='NA',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=168 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=168 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Reversed', Value='RE',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=176 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=176 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Voided', Value='VO',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=172 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=172 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Confirmation', Value='WC',Updated=TO_DATE('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=670 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=670 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Payment', Value='WP',Updated=TO_DATE('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=346 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=346 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocAction', Description='The targeted status of the document', EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', IsActive='Y', Name='Document Action', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Action',Updated=TO_DATE('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=287 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=287 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Document action list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Action', ValidationType='L',Updated=TO_DATE('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=135 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135 +; + +-- Jun 17, 2010 3:18:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,Limit,Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53137,50020,'1','teo_sarca',0,TO_DATE('2010-06-17 15:18:35','YYYY-MM-DD HH24:MI:SS'),0,'10000000',0,'D','D','Y','N','N','N',0,'Process_Asset_Adition',0,'R',TO_DATE('2010-06-17 15:18:35','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Adition',0,0,'P',0) +; + +-- Jun 17, 2010 3:18:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50020 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:18:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50099,50020,'D',0,TO_DATE('2010-06-17 15:18:37','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_DATE('2010-06-17 15:18:37','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,5,168) +; + +-- Jun 17, 2010 3:18:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50099 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50100,50020,'D',0,TO_DATE('2010-06-17 15:18:38','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_DATE('2010-06-17 15:18:38','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,229,169) +; + +-- Jun 17, 2010 3:18:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50100 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50101,50020,'D',0,TO_DATE('2010-06-17 15:18:39','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_DATE('2010-06-17 15:18:39','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,230,5) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50101 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50100,50076,50101,TO_DATE('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50102,50020,'Z',0,TO_DATE('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_DATE('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,5,5) +; + +-- Jun 17, 2010 3:18:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50102 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50099,50077,50102,TO_DATE('2010-06-17 15:18:41','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:18:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50101,50078,50102,TO_DATE('2010-06-17 15:18:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_DATE('2010-06-17 15:18:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,Description,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50103,50020,'Z',0,TO_DATE('2010-06-17 15:18:43','YYYY-MM-DD HH24:MI:SS'),0,'Approve asset activation','CO',0,0,'D','N','N','X','Activation Approval',0,'X',TO_DATE('2010-06-17 15:18:43','YYYY-MM-DD HH24:MI:SS'),0,'Activation Approval',0,0,0,440,67) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50103 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50102, IsValid='Y',Updated=TO_DATE('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50020 +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53208,50020,'1',TO_DATE('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Addition Process','Y',0,0,TO_DATE('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Adition_Process',NULL) +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +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=53208 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) +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_CreateAsset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Create Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Asset',Updated=TO_DATE('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53646 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53646 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsApproved', Description='Indicates if this document requires approval', EntityType='D', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', IsActive='Y', Name='Approved', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Approved',Updated=TO_DATE('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=351 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=351 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_MatchInv_ID', Description='Match Shipment/Receipt to Invoice', EntityType='D', Help=NULL, IsActive='Y', Name='Match Invoice', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Match Invoice',Updated=TO_DATE('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1689 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1689 +; + +-- Jun 17, 2010 3:18:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53363,TO_DATE('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_MatchInv for Asset Addition',TO_DATE('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:18:46 PM CDT +-- Generated Central ID for Fixed Asset +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=53363 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53363, 472, 13086, 6497, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52086,'A_Processed=''N''',TO_DATE('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Document line is not processed from asset perspective','S',TO_DATE('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_InvoiceLine_ID', Description='Invoice Detail Line', EntityType='D', Help='The Invoice Line uniquely identifies a single line of an Invoice.', IsActive='Y', Name='Invoice Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Line',Updated=TO_DATE('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1076 +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1076 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52087,'M_Locator.AD_Org_ID=@AD_Org_ID@',TO_DATE('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0,'Locator from selected Organization','D','Y','M_Locator of Org','S',TO_DATE('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Currency_ID', Description='The Currency for this record', EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', IsActive='Y', Name='Currency', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Currency',Updated=TO_DATE('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=193 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=193 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_ConversionType_ID', Description='Currency Conversion Rate Type', EntityType='D', Help='The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.', IsActive='Y', Name='Currency Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Currency Type',Updated=TO_DATE('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2278 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2278 +; + +-- Jun 17, 2010 3:18:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54202,0,'AssetSourceAmt',TO_DATE('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Source Amount','Source Amount',TO_DATE('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:52 PM CDT +-- Generated Central ID for Fixed Asset +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=54202 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54203,0,'DeltaUseLifeYears',TO_DATE('2010-06-17 15:18:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Delta Use Life Years','Delta Use Life Years',TO_DATE('2010-06-17 15:18:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +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=54203 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54204,0,'DeltaUseLifeYears_F',TO_DATE('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)','D','Y','Delta Use Life Years (fiscal)','Delta Use Life Years (fiscal)',TO_DATE('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +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=54204 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DateDoc', Description='Date of the Document', EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', IsActive='Y', Name='Document Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc date',Updated=TO_DATE('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=265 +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=265 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54205,0,'I_FixedAsset_ID',TO_DATE('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Imported Fixed Asset','Imported Fixed Asset',TO_DATE('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54205 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) +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='CurrencyRate', Description='Currency Conversion Rate', EntityType='D', Help='The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency', IsActive='Y', Name='Rate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Rate',Updated=TO_DATE('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=253 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=253 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_Project.IsSummary=''N'' AND C_Project.ProjectCategory IN (''W'',''A'')', Description=NULL, EntityType='D', IsActive='Y', Name='C_Project - WorkOrder/Asset', Type='S',Updated=TO_DATE('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=176 +; + +-- Jun 17, 2010 3:18:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54206,0,'A_Accumulated_Depr_Adjust',TO_DATE('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Adjust Accumulated Depreciation','Adjust Accumulated Depreciation',TO_DATE('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:55 PM CDT +-- Generated Central ID for Fixed Asset +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=54206 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) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54207,0,'AssetAmtEntered',TO_DATE('2010-06-17 15:18:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Entered Amount','Amount',TO_DATE('2010-06-17 15:18:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +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=54207 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) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Posted', Description='Posting status', EntityType='D', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', IsActive='Y', Name='Posted', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Posted',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1308 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1308 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='_Posted Status', ValidationType='L',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=234 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=234 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posting Error', Value='E',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=684 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=684 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Posted', Value='N',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=458 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=458 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posted', Value='Y',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=459 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=459 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Balanced', Value='b',Updated=TO_DATE('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=460 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=460 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Convertible (no rate)', Value='c',Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=461 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=461 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid Account', Value='i',Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=464 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=464 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Period Closed', Value='p',Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=462 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=462 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Post Prepared', Value='y',Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=463 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=463 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Charge_ID', Description='Additional document charges', EntityType='D', Help='The Charge indicates a type of Charge (Handling, Shipping, Restocking)', IsActive='Y', Name='Charge', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Charge',Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=968 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=968 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Cost Detail', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Cost Details', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56027 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56028 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56029 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56030 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56031 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56032 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56033 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56036 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56037 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56038 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56039 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:19:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:19:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:19:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:19:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_PrintPaper SET Code='iso-a4', Description='1/2 inch margin on all sides', DimensionUnits=NULL, IsActive='Y', IsDefault='N', IsLandscape='N', MarginBottom=36, MarginLeft=40, MarginRight=36, MarginTop=36, Name='A4 Portrait', SizeX=NULL, SizeY=NULL,Updated=TO_DATE('2010-06-17 15:19:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintPaper_ID=103 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Disposed_ID', ReplicationType='L', TableName='A_Asset_Disposed',Updated=TO_DATE('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Disposed_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Disposed_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Disposed_ID',Updated=TO_DATE('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53550 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53550 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52088,'Processed=''Y'' AND A_Asset_Status<>''DI''',TO_DATE('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset - processed but not disposed','S',TO_DATE('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Date',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53551 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Reason', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Reason', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Reason',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53552 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Reason for Disposal', EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Reason', ValidationType='L',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53269 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53269 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Donated to Charity', EntityType='D', IsActive='Y', Name='Charity', Value='C',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53380 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Destroyed', EntityType='D', IsActive='Y', Name='Destroyed', Value='D',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53381 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Scraped', EntityType='D', IsActive='Y', Name='Scraped', Value='S',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53382 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Sold', EntityType='D', IsActive='Y', Name='Sold', Value='S1',Updated=TO_DATE('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53383 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Sold with trade', EntityType='D', IsActive='Y', Name='Sold w/Trade', Value='S2',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53384 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Stolen', EntityType='D', IsActive='Y', Name='Theft', Value='T',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53385 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Period_ID', Description='Period of the Calendar', EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', IsActive='Y', Name='Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=206 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=206 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Periods Sorted by Date', EntityType='D', Help=NULL, IsActive='Y', Name='C_Period (Open)', ValidationType='T',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 145, AD_Display = 482, AD_Key = 837, isValueDisplayed = 'N', OrderByClause = 'C_Period.StartDate', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_PeriodControl pc WHERE C_Period.C_Period_ID=pc.C_Period_ID AND pc.PeriodStatus=''O'')' WHERE AD_Reference_ID = 233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Proceeds', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Proceeds', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Proceeds',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53553 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53553 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Method', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Method',Updated=TO_DATE('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53554 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Method of Disposals', EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Method', ValidationType='L',Updated=TO_DATE('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53270 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53270 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53605,53270,TO_DATE('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'Sold for cash','D','N','Cash_',TO_DATE('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'C_') +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +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=53605 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) +; + +-- Jun 17, 2010 3:20:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53606,53270,TO_DATE('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Partial Retirement',TO_DATE('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'PD') +; + +-- Jun 17, 2010 3:20:14 PM CDT +-- Generated Central ID for Fixed Asset +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=53606 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) +; + +-- Jun 17, 2010 3:20:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53607,53270,TO_DATE('2010-06-17 15:20:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Preservation',TO_DATE('2010-06-17 15:20:14','YYYY-MM-DD HH24:MI:SS'),0,'PR') +; + +-- Jun 17, 2010 3:20:15 PM CDT +-- Generated Central ID for Fixed Asset +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=53607 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) +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53608,53270,TO_DATE('2010-06-17 15:20:15','YYYY-MM-DD HH24:MI:SS'),0,'No cash or trade','D','Y','Simple_',TO_DATE('2010-06-17 15:20:15','YYYY-MM-DD HH24:MI:SS'),0,'S_') +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +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=53608 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) +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53270, Description='Traded in', EntityType='D', IsActive='Y', Name='Trade', Value='T1',Updated=TO_DATE('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53388 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53270, Description='Traded In with cash', EntityType='D', IsActive='N', Name='Trade w/cash', Value='T2',Updated=TO_DATE('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53389 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Trade_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Trade_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Trade_ID',Updated=TO_DATE('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53555 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53555 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Organization selection, no summary, no 0', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Org (Trx)', ValidationType='T',Updated=TO_DATE('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=130 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=130 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 155, AD_Display = 522, AD_Key = 528, isValueDisplayed = 'Y', OrderByClause = 'AD_Org.Name', EntityType ='D', WhereClause = 'AD_Org.IsSummary=''N'' AND AD_Org_ID <> 0' WHERE AD_Reference_ID = 130 +; + +-- Jun 17, 2010 3:20:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,Limit,Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53127,50021,'1','teo_sarca',0,TO_DATE('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),0,'10000001',0,'D','D','Y','N','N','N',0,'Process_Asset_Disposed',0,'R',TO_DATE('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Disposed',0,0,'P',0) +; + +-- Jun 17, 2010 3:20:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50021 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:20:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50104,50021,'D',0,TO_DATE('2010-06-17 15:20:18','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_DATE('2010-06-17 15:20:18','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50104 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50105,50021,'D',0,TO_DATE('2010-06-17 15:20:19','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_DATE('2010-06-17 15:20:19','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50105 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50106,50021,'D',0,TO_DATE('2010-06-17 15:20:20','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_DATE('2010-06-17 15:20:20','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50106 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50105,50079,50106,TO_DATE('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50107,50021,'Z',0,TO_DATE('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_DATE('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50107 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50106,50080,50107,TO_DATE('2010-06-17 15:20:23','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_DATE('2010-06-17 15:20:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50104,50081,50107,TO_DATE('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50107, IsValid='Y',Updated=TO_DATE('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50021 +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53210,50021,'1',TO_DATE('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Disposed Process','Y',0,0,TO_DATE('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Disposed_Process',NULL) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +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=53210 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) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54208,0,'A_Activation_Method',TO_DATE('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation Method','Activation Method',TO_DATE('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +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=54208 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) +; + +-- Jun 17, 2010 3:20:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53364,TO_DATE('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'Activation Methods','D','Y','A_Activation_Method',TO_DATE('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:20:28 PM CDT +-- Generated Central ID for Fixed Asset +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=53364 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53609,53364,TO_DATE('2010-06-17 15:20:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation',TO_DATE('2010-06-17 15:20:28','YYYY-MM-DD HH24:MI:SS'),0,'AA') +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +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=53609 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) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54209,0,'A_Disposal_Amt',TO_DATE('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Amount','Disposal Amt',TO_DATE('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +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=54209 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) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Expense', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Expense', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Expense',Updated=TO_DATE('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53485 +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53485 +; + +-- Jun 17, 2010 3:20:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54210,0,'A_Accumulated_Depr_Delta',TO_DATE('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation (delta)','Accumulated Depreciation (delta)',TO_DATE('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:30 PM CDT +-- Generated Central ID for Fixed Asset +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=54210 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) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55640,0,53321,53127,251,NULL,TO_DATE('2010-06-17 15:20:30','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','Y','N','N','N','N','Disposal','N',16,1,TO_DATE('2010-06-17 15:20:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53321 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55638,59041,0,53321,TO_DATE('2010-06-17 15:20:31','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_DATE('2010-06-17 15:20:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59041 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) +; + +-- Jun 17, 2010 3:20:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55643,59042,0,53321,TO_DATE('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',22,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_DATE('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59042 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) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55649,59043,0,53321,TO_DATE('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_DATE('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59043 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) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55642,59044,0,53321,TO_DATE('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','N','N','N','N','Y','A_Disposed_Reason',0,0,TO_DATE('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59044 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) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55639,59045,0,53321,TO_DATE('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_DATE('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59045 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) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55656,59046,0,53321,TO_DATE('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','Y','Y','Organization',20,0,TO_DATE('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59046 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) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55640,59047,0,53321,TO_DATE('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_DATE('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59047 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) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55654,59048,0,53321,TO_DATE('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Method',90,0,TO_DATE('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59048 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) +; + +-- Jun 17, 2010 3:20:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55641,59049,0,53321,TO_DATE('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Date',100,0,TO_DATE('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59049 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) +; + +-- Jun 17, 2010 3:20:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55645,59050,0,53321,TO_DATE('2010-06-17 15:20:41','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',110,0,TO_DATE('2010-06-17 15:20:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59050 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) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55651,59051,0,53321,TO_DATE('2010-06-17 15:20:42','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',120,0,TO_DATE('2010-06-17 15:20:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59051 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) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55653,59052,0,53321,TO_DATE('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=C | @A_Disposed_Method@=T2','D','Y','Y','Y','N','N','N','N','A_Proceeds',130,0,TO_DATE('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59052 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) +; + +-- Jun 17, 2010 3:20:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55655,59053,0,53321,TO_DATE('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2','D','Y','Y','Y','N','N','N','N','A_Asset_Trade_ID',140,0,TO_DATE('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59053 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) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55650,59054,0,53321,TO_DATE('2010-06-17 15:20:44','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','Y','N','Active',150,0,TO_DATE('2010-06-17 15:20:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59054 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) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55646,59055,0,53321,TO_DATE('2010-06-17 15:20:45','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',190,0,TO_DATE('2010-06-17 15:20:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59055 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) +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='3', Description='Delivery of Asset', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Delivery', ReplicationType='L', TableName='A_Asset_Delivery',Updated=TO_DATE('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=541 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Delivery_ID', Description='Delivery of Asset', EntityType='D', Help='The availability of the asset to the business partner (customer).', IsActive='Y', Name='Asset Delivery', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Delivery',Updated=TO_DATE('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1928 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1928 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1928, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Delivery_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Delivery of Asset', EntityType='D', FieldLength=22, Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Delivery', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8102 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8086 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=40, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8087 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8089 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=40, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8090 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8091 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Referrer', Description='Referring web address', EntityType='D', Help=NULL, IsActive='Y', Name='Referrer', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Referrer',Updated=TO_DATE('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1429 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1429 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1429, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Referrer', ColumnSQL=NULL, DefaultValue=NULL, Description='Referring web address', EntityType='D', FieldLength=255, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Referrer', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8092 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Referrer', Description='Referring web address', Help=NULL WHERE AD_Column_ID=8092 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8093 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=20, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8094 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=8094 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='EMail', Description='Electronic Mail Address', EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', IsActive='Y', Name='EMail Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail',Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=881 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=881 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=881, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMail', ColumnSQL=NULL, DefaultValue=NULL, Description='Electronic Mail Address', EntityType='D', FieldLength=60, Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='EMail Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8095 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8096 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Delivery MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Remote_Host', Description='Remote host Info', EntityType='D', Help=NULL, IsActive='Y', Name='Remote Host', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Remote Host',Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1431 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1431 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1431, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Remote_Host', ColumnSQL=NULL, DefaultValue=NULL, Description='Remote host Info', EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Remote Host', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8097 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Remote Host', Description='Remote host Info', Help=NULL WHERE AD_Column_ID=8097 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8098 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8099 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Remote_Addr', Description='Remote Address', EntityType='D', Help='The Remote Address indicates an alternative or external address.', IsActive='Y', Name='Remote Addr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Remote Addr',Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1430 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1430 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1430, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Remote_Addr', ColumnSQL=NULL, DefaultValue=NULL, Description='Remote Address', EntityType='D', FieldLength=60, Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Remote Addr', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8100 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8101 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='MovementDate', Description='Date a product was moved in or out of inventory', EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', IsActive='Y', Name='Movement Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Movement Date',Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1037 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1037 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1037, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='MovementDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date a product was moved in or out of inventory', EntityType='D', FieldLength=7, Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Movement Date', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8103 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8104 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DeliveryConfirmation', Description='EMail Delivery confirmation', EntityType='D', Help=NULL, IsActive='Y', Name='Delivery Confirmation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Delivery Confirmation',Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1950 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1950 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1950, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DeliveryConfirmation', ColumnSQL=NULL, DefaultValue=NULL, Description='EMail Delivery confirmation', EntityType='D', FieldLength=120, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Delivery Confirmation', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8127 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Delivery Confirmation', Description='EMail Delivery confirmation', Help=NULL WHERE AD_Column_ID=8127 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='MessageID', Description='EMail Message ID', EntityType='D', Help='SMTP Message ID for tracking purposes', IsActive='Y', Name='Message ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Message ID',Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1952 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1952 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1952, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='MessageID', ColumnSQL=NULL, DefaultValue=NULL, Description='EMail Message ID', EntityType='D', FieldLength=120, Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Message ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8128 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='URL', Description='Full URL address - e.g. http://www.idempiere.org', EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', IsActive='Y', Name='URL', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='URL',Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=983 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=983 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='URL', EntityType='D', Help=NULL, IsActive='Y', Name='URL', ValidationType='D',Updated=TO_DATE('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=40 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=40 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=983, AD_Process_ID=NULL, AD_Reference_ID=40, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='URL', ColumnSQL=NULL, DefaultValue=NULL, Description='Full URL address - e.g. http://www.idempiere.org', EntityType='D', FieldLength=120, Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='URL', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8129 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=22, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8130 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_DATE('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9596 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_ProductDownload_ID', Description='Product downloads', EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', IsActive='Y', Name='Product Download', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Download',Updated=TO_DATE('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2725 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2725 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2725, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_ProductDownload_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product downloads', EntityType='D', FieldLength=10, Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Product Download', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13599 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=541, AD_Window_ID=251, CommitWarning=NULL, Description='Delivery or availability', EntityType='D', HasTree='N', Help='Record of delivery or availability', ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Delivery', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8099, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6177 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8102, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Delivery of Asset', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Delivery', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6180 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8093, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6171 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8101, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6179 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6174 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product downloads', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Product Download', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11515 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8103, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Date a product was moved in or out of inventory', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Movement Date', SeqNo=50, SortNo=-1,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6181 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8098, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='User/Contact', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6176 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=9596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7834 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8094, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8087, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6167 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8090, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Serial No', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6169 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8130, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6217 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8095, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Electronic Mail Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='EMail Address', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6173 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8128, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Message ID', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Message ID', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6215 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8127, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Delivery confirmation', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delivery Confirmation', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8129, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Full URL address - e.g. http://www.idempiere.org', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='URL', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6216 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8092, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Referring web address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Referrer', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8100, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remote Addr', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6178 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8097, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote host Info', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remote Host', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Use_ID', ReplicationType='L', TableName='A_Asset_Use',Updated=TO_DATE('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53138 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53138 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Use_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Use_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Use_ID',Updated=TO_DATE('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53642 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53642 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53642, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Use_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Use_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55972 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55972 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Use_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55972 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55973 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Use MODIFY AD_Client_ID NUMBER(10) +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55974 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Use MODIFY AD_Org_ID NUMBER(10) +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55975 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55976 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55977 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55978 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=55978 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='UseDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UseDate',Updated=TO_DATE('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53643 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53643 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53643, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='UseDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55979 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='UseDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55979 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55980 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Use MODIFY Updated DATE +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55981 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55982 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Use MODIFY Created DATE +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53258, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue='@A_Asset_ID@', Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55983 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Use MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53138, AD_Window_ID=251, CommitWarning=NULL, Description='Record Asset Usage', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Usage', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55972, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Use_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55976, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56043 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55973, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56044 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55974, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56045 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55983, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56046 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55979, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='UseDate', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55978, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55981, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56049 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Change_ID', ReplicationType='L', TableName='A_Asset_Change',Updated=TO_DATE('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53133 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53133 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Change_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Change_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Change_ID',Updated=TO_DATE('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53603 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53603 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53603, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Change_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Change_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55825 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55825 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Change_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55825 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55826 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55827 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55828 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55828 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55828 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53526, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_CreateDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_CreateDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55829 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55829 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_CreateDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55829 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Retirement_ID', Description='Internally used asset is not longer used.', EntityType='D', Help=NULL, IsActive='Y', Name='Asset Retirement', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Retirement',Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1930 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1930 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1930, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Retirement_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Internally used asset is not longer used.', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Retirement', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55830 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Retirement', Description='Internally used asset is not longer used.', Help=NULL WHERE AD_Column_ID=55830 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Spread_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Spread Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Spread Type',Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53569 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53569 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53569, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Spread Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55831 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55831 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Spread Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55831 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Calc_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Calculation Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calculation Type',Updated=TO_DATE('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53588 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53588 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53588, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Calc_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Calculation Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55832 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55832 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55832 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55833 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55833 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55833 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53529, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Original', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_QTY_Original', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55834 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55834 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_QTY_Original', Description=NULL, Help=NULL WHERE AD_Column_ID=55834 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55835 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55835 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55835 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55836 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55836 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55836 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55837 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55837 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55837 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53528, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Parent_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Parent_Asset_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55838 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55838 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Parent_Asset_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55838 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55839 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55839 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55840 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55840 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55841 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55841 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55841 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55842 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55842 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55842 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55843 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1935, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Book Value of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset value', Description='Book Value of the asset', Help=NULL WHERE AD_Column_ID=55844 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY AssetValueAmt NUMBER +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY AssetValueAmt NOT NULL +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1934, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetServiceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when Asset was put into service', EntityType='D', FieldLength=7, Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='In Service Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55845 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetMarketValueAmt', Description='Market value of the asset', EntityType='D', Help='For reporting, the market value of the asset', IsActive='Y', Name='Market value Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Market value amt',Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1933 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1933 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1933, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetMarketValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Market value of the asset', EntityType='D', FieldLength=22, Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Market value Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55846 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDisposalDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when the asset is/was disposed', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Disposal Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55847 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Disposal Date', Description='Date when the asset is/was disposed', Help=NULL WHERE AD_Column_ID=55847 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55848 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetBookValueAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AssetBookValueAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetBookValueAmt',Updated=TO_DATE('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53604 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53604 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53604, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetBookValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='AssetBookValueAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55849 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55849 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='AssetBookValueAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55849 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetAccumDepreciationAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AssetAccumDepreciationAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetAccumDepreciationAmt',Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53605 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53605 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53605, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetAccumDepreciationAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='AssetAccumDepreciationAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55850 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55850 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='AssetAccumDepreciationAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55850 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Employee or SalesRep', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - Internal', ValidationType='T',Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND (bp.IsEmployee=''Y'' OR bp.IsSalesRep=''Y''))' WHERE AD_Reference_ID = 286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=286, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55851 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1940, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsInPosession', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is in the possession of the organization', EntityType='D', FieldLength=1, Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Possession', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55852 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1951, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsFullyDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is fully depreciated', EntityType='D', FieldLength=1, Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Fully depreciated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55853 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1939, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDisposed', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is disposed', EntityType='D', FieldLength=1, Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55854 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55855 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55856 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DepreciationType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='DepreciationType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='DepreciationType',Updated=TO_DATE('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53474 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53474 +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53474, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DepreciationType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='DepreciationType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55857 +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='DepreciationType', Description=NULL, Help=NULL WHERE AD_Column_ID=55857 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55858 +; + +-- Jun 17, 2010 3:21:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55859 +; + +-- Jun 17, 2010 3:21:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55860 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55861 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=55861 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55862 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=55862 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55863 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55863 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue=NULL, Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55864 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55864 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55865 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55866 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='TextDetails', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Details', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Details',Updated=TO_DATE('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2437 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2437 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2437, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextDetails', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Details', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55867 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Details', Description=NULL, Help=NULL WHERE AD_Column_ID=55867 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=40, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55868 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=10, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55869 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY PostingType NVARCHAR2(10) DEFAULT 'A' +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=40, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55870 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1942, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LifeUseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Units of use until the asset is not usable anymore', EntityType='D', FieldLength=22, Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Life use', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55871 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55872 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ConventionType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ConventionType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ConventionType',Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53585 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53585 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53585, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ConventionType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='ConventionType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55873 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ConventionType', Description=NULL, Help=NULL WHERE AD_Column_ID=55873 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeType',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53609 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53609 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Update Type', EntityType='D', Help=NULL, IsActive='Y', Name='A_Update_Type', ValidationType='L',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53273 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53273 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Cost/quantity addition to asset', EntityType='D', IsActive='Y', Name='Addition', Value='ADD',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53398 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Transaction updating the cost or accum depr balance', EntityType='D', IsActive='Y', Name='Balance', Value='BAL',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53399 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Master Record Created', EntityType='D', IsActive='Y', Name='Create', Value='CRT',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53400 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Depreciation Expense Recorded', EntityType='D', IsActive='Y', Name='Depreciation', Value='DEP',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53401 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Disposal of Asset', EntityType='D', IsActive='Y', Name='Disposal', Value='DIS',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53402 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Expense invoice was recorded against this asset', EntityType='D', IsActive='Y', Name='Expense', Value='EXP',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53403 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Forecast Type', EntityType='D', IsActive='Y', Name='Forecast', Value='FOR',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53404 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset created by import', EntityType='D', IsActive='Y', Name='Import', Value='IMP',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53405 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Revaluation of Asset', EntityType='D', IsActive='Y', Name='Revaluation', Value='RVL',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53406 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Accounting Setup Modified', EntityType='D', IsActive='Y', Name='Setup', Value='SET',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53407 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Split', EntityType='D', IsActive='Y', Name='Split', Value='SPL',Updated=TO_DATE('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53408 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Transfered', EntityType='D', IsActive='Y', Name='Transfer', Value='TRN',Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53409 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Master Record Updated', EntityType='D', IsActive='Y', Name='Update', Value='UPD',Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53410 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Record asset usage', EntityType='D', IsActive='Y', Name='Usage', Value='USE',Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53411 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53609, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53273, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55874 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeType', Description=NULL, Help=NULL WHERE AD_Column_ID=55874 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeDate',Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53610 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53610 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53610, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55875 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55875 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeAmt',Updated=TO_DATE('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53611 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53611 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53611, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55876 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55876 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_ValidCombination_ID', Description='Valid Account Combination', EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', IsActive='Y', Name='Combination', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Combination',Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=222 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=222 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=222, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_ValidCombination_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Valid Account Combination', EntityType='D', FieldLength=22, Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Combination', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55877 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=202, AD_Process_ID=NULL, AD_Reference_ID=21, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Location or Address', EntityType='D', FieldLength=22, Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55878 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY C_Location_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Locations of a Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Location', ValidationType='T',Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 293, AD_Display = 2960, AD_Key = 3434, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=159, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies the (ship to) address for this Business Partner', EntityType='D', FieldLength=22, Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Partner Location', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55879 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55880 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55881 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55881 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55881 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY A_Split_Percent NUMBER DEFAULT 1 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55882 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55882 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55882 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55883 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55883 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55884 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55884 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55885 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55885 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55886 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55886 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55886 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY A_Reval_Cal_Method NVARCHAR2(3) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55887 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55887 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55888 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55888 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55889 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55889 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55889 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55890 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55890 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55890 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53527, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_RevalDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_RevalDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55891 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55891 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_RevalDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55891 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55892 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55893 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55893 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55893 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55894 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55894 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55894 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53612, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Addition_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Addition', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55895 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Addition', Description=NULL, Help=NULL WHERE AD_Column_ID=55895 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59312,54195,0,25,53133,'A_Disposal_Revenue_Acct',TO_DATE('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Disposal_Revenue',TO_DATE('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59312 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) +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Disposal_Revenue_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59313,54196,0,25,53133,'A_Disposal_Loss_Acct',TO_DATE('2010-06-17 15:21:21','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Loss Acct',TO_DATE('2010-06-17 15:21:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59313 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) +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Disposal_Loss_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59314,54197,0,11,53133,'A_Reval_Depexp_Offset_Acct',TO_DATE('2010-06-17 15:21:22','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_DATE('2010-06-17 15:21:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59314 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) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Reval_Depexp_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59315,54191,0,11,53133,'A_Reval_Cost_Offset_Prior_Acct',TO_DATE('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_DATE('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59315 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) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Reval_Cost_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59316,54192,0,11,53133,'A_Reval_Cost_Offset_Acct',TO_DATE('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_DATE('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59316 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) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Reval_Cost_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59317,54193,0,11,53133,'A_Reval_Adep_Offset_Prior_Acct',TO_DATE('2010-06-17 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_DATE('2010-06-17 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59317 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) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Reval_Adep_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59318,54194,0,11,53133,'A_Reval_Adep_Offset_Cur_Acct',TO_DATE('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_DATE('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59318 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) +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD A_Reval_Adep_Offset_Cur_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53133, AD_Window_ID=251, CommitWarning=NULL, Description='Detail asset transaction history', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset History', OrderByClause=NULL, Processing='N', SeqNo=25, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55830, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Internally used asset is not longer used.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Retirement', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55856, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55892 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55875, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeDate', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55895, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55894, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55877, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Valid Account Combination', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Combination', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55896 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55826, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55897 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55827, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55898 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55892, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55899 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55867, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Details', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55869, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55901 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55874, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeType', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55860, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date this record was created', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Created', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55903 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55865, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User who updated this records', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Updated By', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55904 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55843, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55905 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55836, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_Start@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55837, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_End@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55857, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@DepreciationType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55889, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Manual_Amount@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55833, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic='@A_Depreciation_Manual_Period@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55841, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Variable_Perc@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55842, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Table_Header_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55832, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Depreciation_Calc_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55831, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Spread_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55873, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ConventionType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55882, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Salvage_Value@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55881, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Split_Percent@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55872, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55918 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55852, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='In Possession', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55919 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55855, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55920 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55853, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Fully depreciated', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55921 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55854, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposed', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55922 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55886, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@A_Reval_Cal_Method@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55876, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ChangeAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeAmt', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55844, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=10, DisplayLogic='@AssetValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetBookValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetBookValueAmt', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetAccumDepreciationAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetAccumDepreciationAmt', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Market value of the asset', DisplayLength=10, DisplayLogic='@AssetMarketValueAmt@!""', EntityType='D', Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Market value Amount', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55928 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55834, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Original@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_QTY_Original', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55835, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Current@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Dates',Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50003 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55858, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic='@DateAcct@!""', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=350, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55931 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55829, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_CreateDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=360, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55845, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=7, DisplayLogic='@AssetServiceDate@!""', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=370, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55933 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55848, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic='@AssetDepreciationDate@!""', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=380, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55934 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55891, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_RevalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_RevalDate', SeqNo=390, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=7, DisplayLogic='@AssetDisposalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Disposal Date', SeqNo=400, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55863, AD_FieldGroup_ID=102, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeYears@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55864, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeMonths@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55871, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=22, DisplayLogic='@LifeUseUnits@!""', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55939 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55862, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=10, DisplayLogic='@UseUnits@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Reference',Updated=TO_DATE('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=104 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55838, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Parent_Asset_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Parent_Asset_ID', SeqNo=450, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=22, DisplayLogic='@Ad_User_ID@!0', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=460, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55942 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55878, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=22, DisplayLogic='@C_Location_ID@!0', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=470, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55943 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55870, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=22, DisplayLogic='@Lot@!""', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=480, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55944 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55868, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=22, DisplayLogic='@Serno@!""', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=490, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55945 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55861, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=22, DisplayLogic='@Versionno@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=500, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55880, AD_FieldGroup_ID=107, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic='@C_Bpartner_ID@!0', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=510, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55947 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55879, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=22, DisplayLogic='@C_BPartner_Location_ID@!0', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Partner Location', SeqNo=520, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55948 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55893, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Asset_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=530, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55890, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Depreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=540, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55828, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Accumdepreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation Account', SeqNo=550, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55839, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=560, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59312,59056,0,53158,TO_DATE('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Disposal_Revenue@!""','D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',560,0,TO_DATE('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59056 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) +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55840, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=570, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:21:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59313,59057,0,53158,TO_DATE('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Disposal_Loss@!""','D','Y','Y','Y','N','N','N','Y','Disposal Loss Acct',570,0,TO_DATE('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59057 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) +; + +-- Jun 17, 2010 3:21:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55885, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=580, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:21:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59316,50004,59058,0,53158,TO_DATE('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Cost_Offset@!""','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',580,0,TO_DATE('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59058 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) +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55884, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=590, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59315,59059,0,53158,TO_DATE('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Cost_Offset_Prior@!""','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',590,0,TO_DATE('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59059 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) +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55888, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=600, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59318,59060,0,53158,TO_DATE('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Accumdep_Offset_Cur@!""','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',600,0,TO_DATE('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59060 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) +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55887, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=610, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59317,59061,0,53158,TO_DATE('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Accumdep_Offset_Prior@!""','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',610,0,TO_DATE('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59061 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) +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55883, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=620, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59314,59062,0,53158,TO_DATE('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Depexp_Offset@!""','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',620,0,TO_DATE('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59062 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) +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55825, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Change_ID', SeqNo=630, SortNo=1,Updated=TO_DATE('2010-06-17 15:21:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=370, AccessLevel='6', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='Issue Project', ReplicationType='L', TableName='R_IssueProject',Updated=TO_DATE('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=842 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='R_IssueProject_ID', Description='Implementation Projects', EntityType='D', Help=NULL, IsActive='Y', Name='Issue Project', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Issue Project',Updated=TO_DATE('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2958 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2958 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2958, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='R_IssueProject_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Implementation Projects', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Issue Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14946 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Issue Project', Description='Implementation Projects', Help=NULL WHERE AD_Column_ID=14946 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=10, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14947 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=10, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14948 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14949 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14950 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=10, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14951 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14952 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=10, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14953 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=120, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14954 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14955 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=10, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14956 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=208, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Project_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Financial Project', EntityType='D', FieldLength=10, Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14957 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='StatisticsInfo', Description='Information to help profiling the system for solving support issues', EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', IsActive='Y', Name='Statistics', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Statistics',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2952 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2952 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2952, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='StatisticsInfo', ColumnSQL=NULL, DefaultValue=NULL, Description='Information to help profiling the system for solving support issues', EntityType='D', FieldLength=60, Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Statistics', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14958 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ProfileInfo', Description='Information to help profiling the system for solving support issues', EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', IsActive='Y', Name='Profile', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Profile',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2953 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2953 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2953, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ProfileInfo', ColumnSQL=NULL, DefaultValue=NULL, Description='Information to help profiling the system for solving support issues', EntityType='D', FieldLength=60, Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Profile', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14959 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='SystemStatus', Description='Status of the system - Support priority depends on system status', EntityType='D', Help='System status helps to prioritize support resources', IsActive='Y', Name='System Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='System Status',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2955 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2955 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AD_System Status', ValidationType='L',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=374 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=374 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Evaluation', Value='E',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=850 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=850 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Implementation', Value='I',Updated=TO_DATE('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=851 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=851 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Production', Value='P',Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=852 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=852 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2955, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=374, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SystemStatus', ColumnSQL=NULL, DefaultValue=NULL, Description='Status of the system - Support priority depends on system status', EntityType='D', FieldLength=1, Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='System Status', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14960 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=14956, AD_Table_ID=842, AD_Window_ID=251, CommitWarning=NULL, Description='Automatic Issue Reporting', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Issue Project', OrderByClause=NULL, Processing='N', SeqNo=30, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14946, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Implementation Projects', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issue Project', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14947, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12967 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12971 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14956, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12966 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14957, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Project', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12973 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=120, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12970 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12968 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12965 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Status of the system - Support priority depends on system status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='System Status', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12975 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Statistics', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12974 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Profile', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12972 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds financial related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Fin_ID', ReplicationType='L', TableName='A_Asset_Info_Fin',Updated=TO_DATE('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53132 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53132 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Fin_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Fin_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Fin_ID',Updated=TO_DATE('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53594 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53594 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53594, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Fin_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Fin_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55805 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55805 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Fin_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55805 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55806 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53132, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55807 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Due_On', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Due_On', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Due_On',Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53595 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Payment due every', EntityType='D', Help=NULL, IsActive='Y', Name='A_Payment_Due', ValidationType='L',Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53272 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53272 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='15th of every month', Value='15T',Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53394 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53394 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='1st of every month', Value='1st',Updated=TO_DATE('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53395 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53395 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='Beginning of every month', Value='BEG',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53396 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53396 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='Yearly on or before contract date', Value='YER',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53397 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53397 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53595, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53272, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Due_On', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Due_On', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55808 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55808 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Due_On', Description=NULL, Help=NULL WHERE AD_Column_ID=55808 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Finance_Meth', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Finance_Meth', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Finance_Meth',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53593 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Financing Methods', EntityType='D', Help='List of financing methods for assets', IsActive='Y', Name='A_Finance_Method', ValidationType='L',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53271 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is on a capitalized lease', EntityType='D', IsActive='Y', Name='Capitalized Lease', Value='CL',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53390 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is on a non-capitalized lease', EntityType='D', IsActive='Y', Name='Non-Capitalized Lease', Value='NL',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53391 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset owned outright', EntityType='D', IsActive='Y', Name='Owned', Value='OW',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53392 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is rented', EntityType='D', IsActive='Y', Name='Rented', Value='RE',Updated=TO_DATE('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53393 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53593, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53271, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Finance_Meth', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Finance_Meth', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55809 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55809 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Finance_Meth', Description=NULL, Help=NULL WHERE AD_Column_ID=55809 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option',Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53596 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53596 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53596, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55810 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Column_ID=55810 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option_Credit_Per', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option Credit %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option Credit %',Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53597 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53597 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53597, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option_Credit_Per', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option Credit %', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55811 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Column_ID=55811 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55812 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Fin MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55813 +; + +-- Jun 17, 2010 3:21:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55814 +; + +-- Jun 17, 2010 3:21:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55815 +; + +-- Jun 17, 2010 3:21:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Fin MODIFY Updated DATE +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='TextMsg', Description='Text Message', EntityType='D', Help=NULL, IsActive='Y', Name='Text Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Message',Updated=TO_DATE('2010-06-17 15:21:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2438 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2438 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2438, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextMsg', ColumnSQL=NULL, DefaultValue=NULL, Description='Text Message', EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Text Message', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:21:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55816 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Text Message', Description='Text Message', Help=NULL WHERE AD_Column_ID=55816 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55817 +; + +-- Jun 17, 2010 3:22:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55818 +; + +-- Jun 17, 2010 3:22:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Fin MODIFY Created DATE +; + +-- Jun 17, 2010 3:22:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Price', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Price',Updated=TO_DATE('2010-06-17 15:22:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53598 +; + +-- Jun 17, 2010 3:22:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53598 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53598, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Price', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Price', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55819 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55819 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Price', Description=NULL, Help=NULL WHERE AD_Column_ID=55819 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option_Credit', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option Credit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option Credit',Updated=TO_DATE('2010-06-17 15:22:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53599 +; + +-- Jun 17, 2010 3:22:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53599 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53599, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option_Credit', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option Credit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55820 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Column_ID=55820 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Monthly_Payment', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Monthly_Payment', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Monthly_Payment',Updated=TO_DATE('2010-06-17 15:22:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53600 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53600, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Monthly_Payment', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Monthly_Payment', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55821 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55821 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Monthly_Payment', Description=NULL, Help=NULL WHERE AD_Column_ID=55821 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Expired_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Expired_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Expired_Date',Updated=TO_DATE('2010-06-17 15:22:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53601 +; + +-- Jun 17, 2010 3:22:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53601, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Expired_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Expired_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55822 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55822 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Expired_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55822 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Contract_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Contract_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Contract_Date',Updated=TO_DATE('2010-06-17 15:22:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53602 +; + +-- Jun 17, 2010 3:22:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53602, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Contract_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Contract_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55823 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55823 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Contract_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55823 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55824 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Fin MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59319,1047,0,20,53132,'Processed','''N''',TO_DATE('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_DATE('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59319 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) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55824, AD_Table_ID=53132, AD_Window_ID=251, CommitWarning=NULL, Description='Finace Information for the Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Finance Information', OrderByClause=NULL, Processing='N', SeqNo=35, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55805, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Fin_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59319,59063,0,53156,TO_DATE('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_DATE('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59063 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) +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55806, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55847 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55807, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55848 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55824, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55849 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55817, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55846 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Contract',Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50005 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55809, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55812, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55851 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55823, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Contract_Date', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55822, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Expired_Date', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55821, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Monthly_Payment', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55808, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Due_On', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Options',Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50006 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55810, AD_FieldGroup_ID=50006, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55819, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Price', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55820, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55811, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit %', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55816, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds license related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Lic_ID', ReplicationType='L', TableName='A_Asset_Info_Lic',Updated=TO_DATE('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53134 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53134 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Lic_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Lic_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Lic_ID',Updated=TO_DATE('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53613 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53613 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53613, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Lic_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Lic_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55896 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55896 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Lic_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55896 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53134, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55897 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53134, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55898 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_License_Fee', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_License_Fee', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_License_Fee',Updated=TO_DATE('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53614 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53614, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_License_Fee', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_License_Fee', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55899 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55899 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_License_Fee', Description=NULL, Help=NULL WHERE AD_Column_ID=55899 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Renewal_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Renewal_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Renewal_Date',Updated=TO_DATE('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53615 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53615, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Renewal_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Renewal_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55900 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55900 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Renewal_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55900 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55901 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Lic MODIFY Created DATE +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55902 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55903 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Lic MODIFY Updated DATE +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55904 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Text', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53475 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53475 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55905 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55905 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55905 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55906 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_State', Description='State of the Credit Card or Account holder', EntityType='D', Help='The State of the Credit Card or Account holder', IsActive='Y', Name='Account State', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='State',Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1355 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1355 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1355, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_State', ColumnSQL=NULL, DefaultValue=NULL, Description='State of the Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account State', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55907 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_License_No', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_License_No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_License_No',Updated=TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53616 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53616, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_License_No', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=120, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_License_No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55908 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55908 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_License_No', Description=NULL, Help=NULL WHERE AD_Column_ID=55908 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Issuing_Agency', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Issuing Agency', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Issuing Agency',Updated=TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53617 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53617 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53617, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Issuing_Agency', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Issuing Agency', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55909 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Column_ID=55909 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55910 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Lic MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59320,1047,0,20,53134,'Processed','''N''',TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_DATE('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59320 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) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55910, AD_Table_ID=53134, AD_Window_ID=251, CommitWarning=NULL, Description='License Information for Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='License Information', OrderByClause=NULL, Processing='N', SeqNo=40, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55896, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Lic_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59320,59064,0,53159,TO_DATE('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_DATE('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59064 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) +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55897, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55962 +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55898, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55963 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55964 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55902, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55961 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55907, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55965 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issuing Agency', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_No', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55899, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_Fee', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55900, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds insurance related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Ins_ID', ReplicationType='L', TableName='A_Asset_Info_Ins',Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53135 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53135 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Ins_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Ins_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Ins_ID',Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53618 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53618 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53618, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Ins_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Ins_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55911 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55911 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Ins_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55911 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53135, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55912 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53135, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55913 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Ins_Value', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Ins_Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Ins_Value',Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53619 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53619, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ins_Value', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Ins_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55914 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55914 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Ins_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55914 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Policy_No', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Policy_No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Policy_No',Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53620 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Policy_No', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=100, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Policy_No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55915 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55915 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Policy_No', Description=NULL, Help=NULL WHERE AD_Column_ID=55915 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Replace_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Replace_Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Replace_Cost',Updated=TO_DATE('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53621 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53621, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Replace_Cost', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Replace_Cost', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55916 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55916 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Replace_Cost', Description=NULL, Help=NULL WHERE AD_Column_ID=55916 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55917 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55918 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55918 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55918 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55919 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55920 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Ins MODIFY Updated DATE +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55921 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55922 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Ins MODIFY Created DATE +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53615, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Renewal_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Renewal_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55923 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55923 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Renewal_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55923 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Insurance_Co', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Insurance_Co', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Insurance_Co',Updated=TO_DATE('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53622 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53622, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Insurance_Co', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Insurance_Co', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55924 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55924 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Insurance_Co', Description=NULL, Help=NULL WHERE AD_Column_ID=55924 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Ins_Premium', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Ins_Premium', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Ins_Premium',Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53623 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53623, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ins_Premium', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Ins_Premium', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55925 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55925 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Ins_Premium', Description=NULL, Help=NULL WHERE AD_Column_ID=55925 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55926 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53135, AD_Window_ID=251, CommitWarning=NULL, Description='Insurance Information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Insurance Information', OrderByClause=NULL, Processing='N', SeqNo=45, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Ins_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55921, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55972 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55973 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55974 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55926, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55975 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55924, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Insurance_Co', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=100, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Policy_No', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55923, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55925, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Premium', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55916, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Replace_Cost', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55914, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Value', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds tax related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Tax_ID', ReplicationType='L', TableName='A_Asset_Info_Tax',Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53131 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53131 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Tax_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Tax_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Tax_ID',Updated=TO_DATE('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53589 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53589 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53589, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Tax_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Tax_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55790 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55790 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Tax_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55790 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53131, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55791 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53131, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55792 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Investment_CR', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Investment_CR', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Investment_CR',Updated=TO_DATE('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53590 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53590, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Investment_CR', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Investment_CR', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55793 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55793 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Investment_CR', Description=NULL, Help=NULL WHERE AD_Column_ID=55793 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1355, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_State', ColumnSQL=NULL, DefaultValue=NULL, Description='State of the Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account State', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55794 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55795 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Tax MODIFY Created DATE +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55796 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55797 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Tax MODIFY Updated DATE +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55798 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2438, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextMsg', ColumnSQL=NULL, DefaultValue=NULL, Description='Text Message', EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Text Message', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55799 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Text Message', Description='Text Message', Help=NULL WHERE AD_Column_ID=55799 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55800 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Tax_Entity', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Tax_Entity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Tax_Entity',Updated=TO_DATE('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53591 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53591, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Tax_Entity', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Tax_Entity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55801 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55801 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Tax_Entity', Description=NULL, Help=NULL WHERE AD_Column_ID=55801 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_New_Used', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_New_Used', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_New_Used',Updated=TO_DATE('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53592 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53592, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_New_Used', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_New_Used', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55802 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55802 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_New_Used', Description=NULL, Help=NULL WHERE AD_Column_ID=55802 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53593, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53271, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Finance_Meth', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Finance_Meth', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55803 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55803 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Finance_Meth', Description=NULL, Help=NULL WHERE AD_Column_ID=55803 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55804 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53131, AD_Window_ID=251, CommitWarning=NULL, Description='Tax information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Tax Information', OrderByClause=NULL, Processing='N', SeqNo=50, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55790, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Tax_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55796, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55835 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55791, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55836 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55792, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55837 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55804, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55838 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55801, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Tax_Entity', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55794, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55840 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55802, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_New_Used', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55803, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55793, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Investment_CR', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55799, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds other user defined related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Oth_ID', ReplicationType='L', TableName='A_Asset_Info_Oth',Updated=TO_DATE('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53136 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53136 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55927 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55928 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55929 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Oth_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Oth_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Oth_ID',Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53624 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53624 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53624, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Oth_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Info_Oth_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55930 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55930 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Oth_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55930 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User1', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User1',Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53625 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53625 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53625, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User1', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User1', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55931 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55931 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User1', Description=NULL, Help=NULL WHERE AD_Column_ID=55931 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User10', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User10', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User10',Updated=TO_DATE('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53626 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53626 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53626, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User10', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User10', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55932 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55932 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User10', Description=NULL, Help=NULL WHERE AD_Column_ID=55932 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User11', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User11', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User11',Updated=TO_DATE('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53627 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53627 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53627, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User11', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User11', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55933 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55933 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User11', Description=NULL, Help=NULL WHERE AD_Column_ID=55933 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User12', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User12', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User12',Updated=TO_DATE('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53628 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53628 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53628, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User12', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User12', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55934 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55934 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User12', Description=NULL, Help=NULL WHERE AD_Column_ID=55934 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User13', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User13', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User13',Updated=TO_DATE('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53629 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53629 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53629, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User13', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User13', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55935 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55935 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User13', Description=NULL, Help=NULL WHERE AD_Column_ID=55935 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User14', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User14', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User14',Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53630 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53630 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53630, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User14', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User14', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55936 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55936 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User14', Description=NULL, Help=NULL WHERE AD_Column_ID=55936 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User15', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User15', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User15',Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53631 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53631 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53631, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User15', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User15', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55937 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55937 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User15', Description=NULL, Help=NULL WHERE AD_Column_ID=55937 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User2', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User2',Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53632 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53632 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53632, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User2', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User2', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55938 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55938 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User2', Description=NULL, Help=NULL WHERE AD_Column_ID=55938 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User3', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User3', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User3',Updated=TO_DATE('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53633 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53633 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53633, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User3', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User3', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55939 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55939 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User3', Description=NULL, Help=NULL WHERE AD_Column_ID=55939 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User4', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User4', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User4',Updated=TO_DATE('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53634 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53634 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53634, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User4', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User4', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55940 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55940 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User4', Description=NULL, Help=NULL WHERE AD_Column_ID=55940 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User5', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User5', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User5',Updated=TO_DATE('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53635 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53635 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53635, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User5', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User5', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55941 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55941 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User5', Description=NULL, Help=NULL WHERE AD_Column_ID=55941 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User6', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User6', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User6',Updated=TO_DATE('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53636 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53636 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53636, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User6', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User6', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55942 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55942 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User6', Description=NULL, Help=NULL WHERE AD_Column_ID=55942 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User7', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User7', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User7',Updated=TO_DATE('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53637 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53637 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53637, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User7', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User7', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55943 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55943 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User7', Description=NULL, Help=NULL WHERE AD_Column_ID=55943 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User8', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User8', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User8',Updated=TO_DATE('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53638 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53638 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53638, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User8', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User8', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55944 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55944 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User8', Description=NULL, Help=NULL WHERE AD_Column_ID=55944 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User9', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User9', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User9',Updated=TO_DATE('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53639 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53639 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53639, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User9', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User9', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55945 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55945 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User9', Description=NULL, Help=NULL WHERE AD_Column_ID=55945 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55946 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Oth MODIFY Created DATE +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55947 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55948 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Large Text Editor - Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Memo', ValidationType='D',Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=34 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=34 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=34, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55949 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55949 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55949 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55950 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Info_Oth MODIFY Updated DATE +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55951 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53136, AD_Window_ID=251, CommitWarning=NULL, Description='Other information associated with asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Other Information', OrderByClause=NULL, Processing='N', SeqNo=55, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55930, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Oth_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55984 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55927, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55985 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55928, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55986 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55929, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55987 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55931, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User1', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55932, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User10', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User2', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55933, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User11', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User3', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User12', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User4', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User13', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User5', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55936, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User14', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User6', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User15', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55943, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User7', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55944, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User8', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55945, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User9', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table is the worktable for generating all fixed asset entries and forecasts', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Depreciation_Exp_ID', ReplicationType='L', TableName='A_Depreciation_Exp',Updated=TO_DATE('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53115 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53115 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Exp_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Exp_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Exp_ID',Updated=TO_DATE('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53483 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53483 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53483, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Exp_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Exp_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55377 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55377 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Exp_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55377 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY A_Depreciation_Exp_ID NUMBER(10) +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=129, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55378 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=276, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55379 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Entry_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Entry Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Entry Type',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53484 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53484 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Entry Types for Fixed Assets', EntityType='D', Help=NULL, IsActive='Y', Name='A_Entry_Type', ValidationType='L',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53257 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53257 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Depreciation Entries', EntityType='D', IsActive='Y', Name='Depreciation', Value='DEP',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53360 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Disposal Entries for Fixed Asset', EntityType='D', IsActive='Y', Name='Disposals', Value='DIS',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53361 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53361 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Forecasts', EntityType='D', IsActive='Y', Name='Forecasts', Value='FOR',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53362 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='New Assets', EntityType='D', IsActive='Y', Name='New', Value='NEW',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53363 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Split Entries for Fixed Assets', EntityType='D', IsActive='Y', Name='Splits', Value='SPL',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53364 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Transfer Entries for Fixed Assets', EntityType='D', IsActive='Y', Name='Transfers', Value='TRN',Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53365 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53484, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53257, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Entry_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Entry Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55380 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55380 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55381 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY Created DATE +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55382 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53485, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Expense', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Expense', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55383 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Expense', Description=NULL, Help=NULL WHERE AD_Column_ID=55383 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY Expense NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Exp SET Expense=0 WHERE Expense IS NULL +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55384 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55385 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55386 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55387 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY Updated DATE +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55388 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55389 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55390 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55391 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period',Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53477 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Periods Sorted by Date', EntityType='D', Help=NULL, IsActive='Y', Name='C_Period (all)', ValidationType='T',Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 145, AD_Display = 482, AD_Key = 837, isValueDisplayed = 'N', OrderByClause = 'C_Period.StartDate', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53477, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=275, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55392 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55392 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55392 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Account_Number', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Account_Number', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Account_Number',Updated=TO_DATE('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53486 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53486 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53486, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Account_Number', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Account_Number', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55393 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55393 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Account_Number', Description=NULL, Help=NULL WHERE AD_Column_ID=55393 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY A_Account_Number VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY A_Account_Number NULL +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55394 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +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,54211,0,'DR_Account_ID',TO_DATE('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D','The (natural) account used','Y','Account (debit)','Account (debit)',TO_DATE('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +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=54211 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) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Valid Account combinations', EntityType='D', Help=NULL, IsActive='Y', Name='C_ValidCombination', ValidationType='T',Updated=TO_DATE('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=175 +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=175 +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 176, AD_Display = 1746, AD_Key = 1014, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 175 +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59321,54211,0,25,175,53115,'DR_Account_ID',TO_DATE('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D',22,'The (natural) account used','Y','N','N','N','N','N','N','N','Y','N','Y','Account (debit)',TO_DATE('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59321 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) +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD DR_Account_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:20 PM CDT +-- Generated Central ID for Fixed Asset +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,54212,0,'CR_Account_ID',TO_DATE('2010-06-17 15:23:19','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D','The (natural) account used','Y','Account (credit)','Account (credit)',TO_DATE('2010-06-17 15:23:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:20 PM CDT +-- Generated Central ID for Fixed Asset +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=54212 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) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59322,54212,0,25,175,53115,'CR_Account_ID',TO_DATE('2010-06-17 15:23:20','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D',22,'The (natural) account used','Y','N','N','N','N','N','N','N','Y','N','Y','Account (credit)',TO_DATE('2010-06-17 15:23:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59322 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) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD CR_Account_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54213,0,'Expense_F',TO_DATE('2010-06-17 15:23:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Expense (fiscal)','Expense (fiscal)',TO_DATE('2010-06-17 15:23:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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=54213 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) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59323,54213,0,12,53115,'Expense_F',TO_DATE('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Expense (fiscal)',TO_DATE('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59323 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) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD Expense_F NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:23:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53211,'3','ro.FApac.adempiere.fa.process.A_Depreciation_Exp_Process',TO_DATE('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation Expense','Y',0,0,TO_DATE('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Exp_Process',NULL) +; + +-- Jun 17, 2010 3:23:24 PM CDT +-- Generated Central ID for Fixed Asset +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=53211 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) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59324,524,0,53211,28,53115,'Processing',TO_DATE('2010-06-17 15:23:24','YYYY-MM-DD HH24:MI:SS'),0,'D',1,'Y','Y','N','N','N','N','N','N','Y','N','Y','Process Now',TO_DATE('2010-06-17 15:23:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59324 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) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD Processing CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59325,326,0,14,53115,'Help',TO_DATE('2010-06-17 15:23:25','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint','D',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','Y','N','Y','Comment/Help',TO_DATE('2010-06-17 15:23:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59325 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) +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD Help NVARCHAR2(2000) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59326,53489,0,12,53115,'A_Asset_Cost',TO_DATE('2010-06-17 15:23:29','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_DATE('2010-06-17 15:23:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59326 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) +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Cost NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59327,53488,0,12,53115,'A_Accumulated_Depr',TO_DATE('2010-06-17 15:23:31','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Accumulated_Depr',TO_DATE('2010-06-17 15:23:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59327 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) +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Accumulated_Depr NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59328,54175,0,12,53115,'A_Accumulated_Depr_F',TO_DATE('2010-06-17 15:23:35','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-17 15:23:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59328 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) +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Accumulated_Depr_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59329,1946,0,11,53115,'UseLifeMonths',TO_DATE('2010-06-17 15:23:36','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Usable Life - Months',TO_DATE('2010-06-17 15:23:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59329 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) +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD UseLifeMonths NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59330,54179,0,11,53115,'UseLifeMonths_F',TO_DATE('2010-06-17 15:23:37','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_DATE('2010-06-17 15:23:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59330 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) +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD UseLifeMonths_F NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59331,54180,0,12,53115,'A_Asset_Remaining',TO_DATE('2010-06-17 15:23:38','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Remaining Amt',TO_DATE('2010-06-17 15:23:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59331 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) +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Remaining NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59332,54181,0,12,53115,'A_Asset_Remaining_F',TO_DATE('2010-06-17 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Remaining Amt (fiscal)',TO_DATE('2010-06-17 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59332 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) +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Remaining_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54214,0,'A_Asset_Cost_Delta',TO_DATE('2010-06-17 15:23:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Delta Asset Cost','Delta Asset Cost',TO_DATE('2010-06-17 15:23:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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=54214 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) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59333,54214,0,12,53115,'A_Asset_Cost_Delta',TO_DATE('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Asset Cost',TO_DATE('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59333 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) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Cost_Delta NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59334,54210,0,12,53115,'A_Accumulated_Depr_Delta',TO_DATE('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (delta)',TO_DATE('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59334 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) +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Accumulated_Depr_Delta NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:23:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54215,0,'A_Accumulated_Depr_F_Delta',TO_DATE('2010-06-17 15:23:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation - fiscal (delta)','Accumulated Depreciation - fiscal (delta)',TO_DATE('2010-06-17 15:23:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:46 PM CDT +-- Generated Central ID for Fixed Asset +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=54215 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) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59335,54215,0,12,53115,'A_Accumulated_Depr_F_Delta',TO_DATE('2010-06-17 15:23:46','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation - fiscal (delta)',TO_DATE('2010-06-17 15:23:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59335 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) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Accumulated_Depr_F_Delta NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59336,53612,0,19,53115,'A_Asset_Addition_ID',TO_DATE('2010-06-17 15:23:49','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Addition',TO_DATE('2010-06-17 15:23:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59336 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) +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Addition_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59337,53550,0,19,53115,'A_Asset_Disposed_ID',TO_DATE('2010-06-17 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Disposed_ID',TO_DATE('2010-06-17 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59337 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) +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Asset_Disposed_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Entry_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Entry', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Entry',Updated=TO_DATE('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53516 +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53516 +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59338,53516,0,30,53115,'A_Depreciation_Entry_ID',TO_DATE('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Depreciation Entry',TO_DATE('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59338 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) +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD A_Depreciation_Entry_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,OrderByClause,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55394,0,53322,53115,251,NULL,TO_DATE('2010-06-17 15:23:52','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','N','Y','N','N','N','Expense','A_Depreciation_Exp.A_Depreciation_Exp_ID','N',65,1,TO_DATE('2010-06-17 15:23:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53322 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55393,59065,0,53322,TO_DATE('2010-06-17 15:23:53','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Account_Number',0,0,TO_DATE('2010-06-17 15:23:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59065 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) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55377,59066,0,53322,TO_DATE('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','Y','N','A_Depreciation_Exp_ID',0,0,TO_DATE('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59066 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) +; + +-- Jun 17, 2010 3:23:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55389,59067,0,53322,TO_DATE('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_DATE('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59067 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) +; + +-- Jun 17, 2010 3:23:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55378,59068,0,53322,TO_DATE('2010-06-17 15:23:55','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Client',0,0,TO_DATE('2010-06-17 15:23:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59068 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) +; + +-- Jun 17, 2010 3:23:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55384,59069,0,53322,TO_DATE('2010-06-17 15:23:56','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'D','The asset is used internally and will be depreciated','Y','Y','N','N','N','N','Y','Depreciate',0,0,TO_DATE('2010-06-17 15:23:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59069 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) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55379,59070,0,53322,TO_DATE('2010-06-17 15:23:57','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','Y','Organization',0,0,TO_DATE('2010-06-17 15:23:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59070 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) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55380,59071,0,53322,TO_DATE('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Entry Type',10,0,TO_DATE('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59071 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) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55390,59072,0,53322,TO_DATE('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',20,0,TO_DATE('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59072 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) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55383,59073,0,53322,TO_DATE('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',30,0,TO_DATE('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59073 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) +; + +-- Jun 17, 2010 3:24:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59323,59074,0,53322,TO_DATE('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Expense (fiscal)',40,0,TO_DATE('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59074 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) +; + +-- Jun 17, 2010 3:24:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59321,59075,0,53322,TO_DATE('2010-06-17 15:24:06','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','N','Account (debit)',50,0,TO_DATE('2010-06-17 15:24:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59075 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) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59322,59076,0,53322,TO_DATE('2010-06-17 15:24:07','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','Y','Account (credit)',60,0,TO_DATE('2010-06-17 15:24:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59076 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) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55392,59077,0,53322,TO_DATE('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period',70,0,TO_DATE('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59077 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) +; + +-- Jun 17, 2010 3:24:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55382,59078,0,53322,TO_DATE('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',80,0,TO_DATE('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59078 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) +; + +-- Jun 17, 2010 3:24:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55388,59079,0,53322,TO_DATE('2010-06-17 15:24:13','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',90,0,TO_DATE('2010-06-17 15:24:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59079 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) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55394,59080,0,53322,TO_DATE('2010-06-17 15:24:14','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','Y','Asset',100,0,TO_DATE('2010-06-17 15:24:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59080 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) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55385,59081,0,53322,TO_DATE('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',110,0,TO_DATE('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59081 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) +; + +-- Jun 17, 2010 3:24:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59324,59082,0,53322,TO_DATE('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0,1,'@Processed@=N','D','Y','Y','Y','N','N','N','Y','Process Now',120,0,TO_DATE('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59082 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) +; + +-- Jun 17, 2010 3:24:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59325,59083,0,53322,TO_DATE('2010-06-17 15:24:17','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','Comment/Help',130,0,TO_DATE('2010-06-17 15:24:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59083 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) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59326,101,59084,0,53322,TO_DATE('2010-06-17 15:24:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','N','A_Asset_Cost',140,0,TO_DATE('2010-06-17 15:24:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59084 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) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59333,59085,0,53322,TO_DATE('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Delta Asset Cost',150,0,TO_DATE('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59085 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) +; + +-- Jun 17, 2010 3:24:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59327,59086,0,53322,TO_DATE('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','A_Accumulated_Depr',160,0,TO_DATE('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59086 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) +; + +-- Jun 17, 2010 3:24:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59334,59087,0,53322,TO_DATE('2010-06-17 15:24:20','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (delta)',170,0,TO_DATE('2010-06-17 15:24:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59087 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) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59328,59088,0,53322,TO_DATE('2010-06-17 15:24:21','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Accumulated Depreciation (fiscal)',180,0,TO_DATE('2010-06-17 15:24:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59088 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) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59335,59089,0,53322,TO_DATE('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation - fiscal (delta)',190,0,TO_DATE('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59089 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) +; + +-- Jun 17, 2010 3:24:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59331,59090,0,53322,TO_DATE('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Remaining Amt',200,0,TO_DATE('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59090 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) +; + +-- Jun 17, 2010 3:24:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59332,59091,0,53322,TO_DATE('2010-06-17 15:24:26','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','N','Remaining Amt (fiscal)',210,0,TO_DATE('2010-06-17 15:24:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59091 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) +; + +-- Jun 17, 2010 3:24:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59329,59092,0,53322,TO_DATE('2010-06-17 15:24:27','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Usable Life - Months',220,0,TO_DATE('2010-06-17 15:24:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59092 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) +; + +-- Jun 17, 2010 3:24:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59330,59093,0,53322,TO_DATE('2010-06-17 15:24:28','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Use Life - Months (fiscal)',230,0,TO_DATE('2010-06-17 15:24:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59093 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) +; + +-- Jun 17, 2010 3:24:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59336,104,59094,0,53322,TO_DATE('2010-06-17 15:24:33','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Addition_ID@!0','D','Y','Y','Y','N','N','Y','N','Asset Addition',240,0,TO_DATE('2010-06-17 15:24:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59094 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) +; + +-- Jun 17, 2010 3:24:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59337,104,59095,0,53322,TO_DATE('2010-06-17 15:24:36','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Disposed_ID@!0','D','Y','Y','Y','N','N','Y','N','A_Asset_Disposed_ID',250,0,TO_DATE('2010-06-17 15:24:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59095 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) +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=539, AD_Window_ID=251, CommitWarning=NULL, Description='Asset used internally or by customers', EntityType='D', HasTree='N', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8070, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=0, SortNo=1,Updated=TO_DATE('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6145 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8061, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Quantity', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11523 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12879 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55595, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_QTY_Original', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55594, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59255, AD_FieldGroup_ID=114, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Action', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58987 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58987 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59260, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Type', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58988 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58988 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59262, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Manufacturer of the Product', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Manufacturer', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58989 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8064, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6164 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8052, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6153 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8054, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Search key for the record in the format required - must be unique', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Search Key', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6155 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59258, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Inventory No', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58990 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58990 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8056, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6157 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8057, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6158 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8062, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6163 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8043, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6140 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55593, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=14, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='A_Parent_Asset_ID', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59259, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Type', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58991 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58991 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8051, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Group', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6152 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59253, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=30, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset class', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58992 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58992 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8053, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic='@A_Asset_Type@=SUP', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Version No', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8047, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6149 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=10007, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8345 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8071, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6146 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59263, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Manufactured Year', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58993 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58993 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8038, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6135 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8068, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6143 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8066, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when guarantee expires', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Guarantee Date', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6166 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55591, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55592, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Asset_RevalDate', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14091, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12106 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59261, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Activity', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Activity', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58994 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8042, AD_FieldGroup_ID=50016, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Possession', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6139 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8065, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=26, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6165 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8073, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Partner Location', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6147 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8039, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6136 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8041, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=14, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6138 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Partner (Agent or Sales Rep)', DisplayLength=10, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='BPartner (Agent)', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8049, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=26, DisplayLogic='@IsInPosession@=N | @GZ_TipComponenta@=BR | @GZ_TipComponenta@=RD', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6151 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8058, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Additional comments or remarks concerning the location', DisplayLength=20, DisplayLogic='@IsInPosession@=N | @GZ_TipComponeta@=BR | @GZ_TipComponeta@=RD', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Location comment', SeqNo=350, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8055, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=360, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6156 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The Business Partner who rents or leases', DisplayLength=10, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lessor', SeqNo=370, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lease Termination Date', DisplayLength=7, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Lease Termination', SeqNo=380, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12875 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8059, AD_FieldGroup_ID=50017, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=390, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6160 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8126, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y & @IsDepreciated@=Y', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Fully depreciated', SeqNo=400, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6213 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8046, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8067, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8060, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6161 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8069, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14845, AD_FieldGroup_ID=50018, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Maintenance', SeqNo=450, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Last Unit', SeqNo=460, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Note', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Note', SeqNo=470, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Next Maintenence', SeqNo=480, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14848, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Next Unit', SeqNo=490, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59254, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset Status', SeqNo=500, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58995 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58995 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8044, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=14, DisplayLogic='@IsOwned@=Y & @IsDepeciated@=Y', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=510, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6141 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59256, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Processed', SeqNo=520, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58996 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8040, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposed', SeqNo=530, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6137 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59257, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@IsDisposed@=N', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Activation Date', SeqNo=540, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58997 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58997 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8048, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=14, DisplayLogic='@IsDisposed@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Disposal Date', SeqNo=550, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=59272, AD_Table_ID=53270, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Product', OrderByClause=NULL, Processing='N', SeqNo=11, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53320 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53320 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59264, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Product', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58998 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58998 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59265, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58999 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59266, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59000 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59272, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59001 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59267, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59002 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59273, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59003 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59274, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59004 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59277, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59005 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59005 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59275, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59006 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59276, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59007 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55400, AD_Table_ID=53116, AD_Window_ID=251, CommitWarning=NULL, Description='Asset Balance Report and Adjustments', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Asset Balances', OrderByClause=NULL, Processing='N', SeqNo=12, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55395, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Workfile_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55401, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Life_Current_Year', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55403, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Prior_Year_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55418, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Years', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55420, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Calc_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55421, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Curr_Dep_Exp', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55419, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Base_Amount', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55417, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Periods', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55416, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Posted', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55410, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56023 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55406, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56025 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55402, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Forecast', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59008 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59008 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59279, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life Years (fiscal)', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59009 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59009 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59280, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life Period (fiscal)', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59010 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59010 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59296, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59011 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55396, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56015 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55397, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56016 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55400, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56017 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59294, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59012 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55399, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Cost', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59291, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Tipul finantarii', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Tip finantare', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59013 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59013 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55404, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56018 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59295, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Tip_Finantare@!P', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Funding Mode', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59014 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59014 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59292, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Contribuţia proprie', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59015 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59015 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59293, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Contributie tert', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59016 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59016 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55398, AD_FieldGroup_ID=50020, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59278, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (fiscal)', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59017 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59017 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59018 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59018 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59286, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remaining Amt (fiscal)', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59019 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59019 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59287, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='SL Expense/Period', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59020 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59020 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59288, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='SL Expense/Period (fiscal)', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59021 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59021 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59290, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life periods (min)', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59022 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59022 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59289, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life periods (max)', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59023 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59023 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59281, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59024 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59024 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59283, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use Life - Years (fiscal)', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59025 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59025 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59282, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Months', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59026 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59026 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59284, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use Life - Months (fiscal)', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59027 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59027 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55405, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Depreciate', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56024 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55422, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Current Period', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55407, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59028 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55415, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Update depreciation', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:25:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55599, AD_Table_ID=53123, AD_Window_ID=251, CommitWarning=NULL, Description='Enter accounting setup information', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Accounting Setup', OrderByClause=NULL, Processing='N', SeqNo=14, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:25:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55618, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55862 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55610, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55611, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55623, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55622, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55597, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55863 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55598, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=2,Updated=TO_DATE('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55864 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55621, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55865 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55866 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59309, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Valid from including this date (first day)', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Valid From date indicates the first day of a date range', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Valid from', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59029 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55617, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=1,Updated=TO_DATE('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55867 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59306, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation (fiscal)', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59030 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59030 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55629, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55603, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic='@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_ID@=1000006|@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55625, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59308, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Variable Percent (fiscal)', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59031 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59031 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55635, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Spread_ID', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55628, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Method', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59305, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation Method (fiscal)', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59032 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59032 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55632, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Convention Type', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59307, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation Convention (fiscal)', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59033 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59033 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55637, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55636, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55600, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55612, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55613, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59302, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposal_Revenue', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59034 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59034 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59303, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Loss Acct', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59035 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59035 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55607, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55606, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55605, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59299, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Acct', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59036 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59036 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55609, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59298, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Prior Acct', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59037 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59037 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55608, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59301, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Cur', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59038 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59038 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55624, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59300, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Prior', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59039 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59039 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59304, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Depexp Offset Acct', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59040 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59040 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Cost Detail', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Cost Details', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56027 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56028 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56029 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56030 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56031 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56032 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56033 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56036 +; + +-- Jun 17, 2010 3:25:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56037 +; + +-- Jun 17, 2010 3:25:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56038 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56039 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:25:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Process_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55954,0,NULL,53323,53137,251,NULL,TO_DATE('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),0,'Activation/Addition','@IsDepreciated@=Y','D','N','Y','N','N','N','Y','Y','N','N','Activation/Addition','N',15,1,TO_DATE('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53323 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:25:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55965,59096,0,53323,TO_DATE('2010-06-17 15:25:22','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_DATE('2010-06-17 15:25:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59096 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) +; + +-- Jun 17, 2010 3:25:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55952,59097,0,53323,TO_DATE('2010-06-17 15:25:23','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_DATE('2010-06-17 15:25:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59097 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) +; + +-- Jun 17, 2010 3:25:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55960,59098,0,53323,TO_DATE('2010-06-17 15:25:25','YYYY-MM-DD HH24:MI:SS'),0,'Unique line for this document',22,'@A_SourceType@=''INV''','D','Indicates the unique line for a document. It will also control the display order of the lines within a document.','Y','Y','N','N','N','N','N','Line No',0,0,TO_DATE('2010-06-17 15:25:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59098 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) +; + +-- Jun 17, 2010 3:25:39 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55959,125,59099,0,53323,TO_DATE('2010-06-17 15:25:29','YYYY-MM-DD HH24:MI:SS'),0,'General Ledger Journal Batch',22,'@A_SourceType@=''JRN''','D','The General Ledger Journal Batch identifies a group of journals to be processed as a group.','Y','Y','N','N','N','N','N','Journal Batch',0,0,TO_DATE('2010-06-17 15:25:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59099 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) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55953,59100,0,53323,TO_DATE('2010-06-17 15:25:39','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_DATE('2010-06-17 15:25:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59100 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) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55971,59101,0,53323,TO_DATE('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59101 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) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55966,59102,0,53323,TO_DATE('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','Y','N','Document No',30,0,TO_DATE('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59102 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) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55954,59103,0,53323,TO_DATE('2010-06-17 15:25:42','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','Y','N','Asset',50,0,TO_DATE('2010-06-17 15:25:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59103 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) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55963,113,59104,0,53323,TO_DATE('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',80,0,TO_DATE('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59104 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) +; + +-- Jun 17, 2010 3:25:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55970,59105,0,53323,TO_DATE('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',90,0,TO_DATE('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59105 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) +; + +-- Jun 17, 2010 3:25:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55969,59106,0,53323,TO_DATE('2010-06-17 15:25:45','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','N','Source Type',100,0,TO_DATE('2010-06-17 15:25:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59106 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) +; + +-- Jun 17, 2010 3:25:49 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55968,125,59107,0,53323,TO_DATE('2010-06-17 15:25:48','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Identifier',22,'@A_SourceType@=''INV''','D','The Invoice Document.','Y','Y','Y','N','N','N','N','Invoice',110,0,TO_DATE('2010-06-17 15:25:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59107 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) +; + +-- Jun 17, 2010 3:25:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55964,59108,0,53323,TO_DATE('2010-06-17 15:25:49','YYYY-MM-DD HH24:MI:SS'),0,'Line on Shipment or Receipt document',22,'@A_SourceType@=''INV''','D','The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document','Y','Y','Y','N','N','Y','Y','Shipment/Receipt Line',140,0,TO_DATE('2010-06-17 15:25:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59108 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) +; + +-- Jun 17, 2010 3:25:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55958,59109,0,53323,TO_DATE('2010-06-17 15:25:50','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',510,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',210,0,TO_DATE('2010-06-17 15:25:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59109 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) +; + +-- Jun 17, 2010 3:25:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55956,103,59110,0,53323,TO_DATE('2010-06-17 15:25:51','YYYY-MM-DD HH24:MI:SS'),0,'Book Value of the asset',22,'D','Y','Y','Y','N','N','Y','Y','Asset value',230,0,TO_DATE('2010-06-17 15:25:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59110 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) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55955,59111,0,53323,TO_DATE('2010-06-17 15:25:52','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',260,0,TO_DATE('2010-06-17 15:25:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59111 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) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55640, AD_Table_ID=53127, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Disposal', OrderByClause=NULL, Processing='N', SeqNo=16, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53321 +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53321 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55638, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Disposed_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59041 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59041 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55643, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59042 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55649, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59043 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59043 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55642, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Disposed_Reason', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59044 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59044 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55639, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59045 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55656, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59046 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55640, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59047 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55654, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposed_Method', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59048 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59048 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55641, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposed_Date', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59049 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59049 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55645, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59050 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55651, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59051 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55653, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Disposed_Method@=C | @A_Disposed_Method@=T2', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Proceeds', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59052 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59052 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55655, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Trade_ID', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59053 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59053 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55650, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Active', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59054 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55646, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Processed', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59055 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=541, AD_Window_ID=251, CommitWarning=NULL, Description='Delivery or availability', EntityType='D', HasTree='N', Help='Record of delivery or availability', ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Delivery', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8099, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6177 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8102, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Delivery of Asset', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Delivery', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6180 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8093, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6171 +; + +-- Jun 17, 2010 3:26:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8101, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6179 +; + +-- Jun 17, 2010 3:26:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6174 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product downloads', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Product Download', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11515 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8103, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Date a product was moved in or out of inventory', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Movement Date', SeqNo=50, SortNo=-1,Updated=TO_DATE('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6181 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8098, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='User/Contact', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6176 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=9596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7834 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8094, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8087, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6167 +; + +-- Jun 17, 2010 3:26:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8090, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Serial No', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6169 +; + +-- Jun 17, 2010 3:26:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8130, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6217 +; + +-- Jun 17, 2010 3:26:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8095, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Electronic Mail Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='EMail Address', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6173 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8128, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Message ID', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Message ID', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6215 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8127, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Delivery confirmation', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delivery Confirmation', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8129, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Full URL address - e.g. http://www.idempiere.org', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='URL', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6216 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8092, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Referring web address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Referrer', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8100, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remote Addr', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6178 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8097, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote host Info', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remote Host', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53138, AD_Window_ID=251, CommitWarning=NULL, Description='Record Asset Usage', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Usage', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55972, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Use_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55976, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56043 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55973, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56044 +; + +-- Jun 17, 2010 3:26:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55974, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56045 +; + +-- Jun 17, 2010 3:26:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55983, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56046 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55979, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='UseDate', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55978, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55981, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56049 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53133, AD_Window_ID=251, CommitWarning=NULL, Description='Detail asset transaction history', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset History', OrderByClause=NULL, Processing='N', SeqNo=25, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55830, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Internally used asset is not longer used.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Retirement', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55856, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55892 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55875, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeDate', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55895, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55894, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55877, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Valid Account Combination', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Combination', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55896 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55826, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55897 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55827, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55898 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55892, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55899 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55867, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Details', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55869, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55901 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55874, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeType', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:26:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55860, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date this record was created', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Created', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55903 +; + +-- Jun 17, 2010 3:26:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55865, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User who updated this records', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Updated By', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55904 +; + +-- Jun 17, 2010 3:26:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55843, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55905 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55836, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_Start@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55837, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_End@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55857, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@DepreciationType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55889, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Manual_Amount@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55833, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic='@A_Depreciation_Manual_Period@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55841, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Variable_Perc@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55842, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Table_Header_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55832, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Depreciation_Calc_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55831, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Spread_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55873, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ConventionType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55882, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Salvage_Value@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55881, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Split_Percent@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:26:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55872, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55918 +; + +-- Jun 17, 2010 3:26:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55852, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='In Possession', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55919 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55855, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55920 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55853, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Fully depreciated', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55921 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55854, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposed', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55922 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55886, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@A_Reval_Cal_Method@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55876, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ChangeAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeAmt', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55844, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=10, DisplayLogic='@AssetValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetBookValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetBookValueAmt', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetAccumDepreciationAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetAccumDepreciationAmt', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Market value of the asset', DisplayLength=10, DisplayLogic='@AssetMarketValueAmt@!""', EntityType='D', Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Market value Amount', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55928 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55834, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Original@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_QTY_Original', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55835, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Current@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55858, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic='@DateAcct@!""', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=350, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55931 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55829, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_CreateDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=360, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55845, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=7, DisplayLogic='@AssetServiceDate@!""', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=370, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55933 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55848, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic='@AssetDepreciationDate@!""', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=380, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55934 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55891, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_RevalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_RevalDate', SeqNo=390, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=7, DisplayLogic='@AssetDisposalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Disposal Date', SeqNo=400, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55863, AD_FieldGroup_ID=102, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeYears@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55864, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeMonths@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55871, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=22, DisplayLogic='@LifeUseUnits@!""', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55939 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55862, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=10, DisplayLogic='@UseUnits@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55838, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Parent_Asset_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Parent_Asset_ID', SeqNo=450, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=22, DisplayLogic='@Ad_User_ID@!0', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=460, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55942 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55878, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=22, DisplayLogic='@C_Location_ID@!0', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=470, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55943 +; + +-- Jun 17, 2010 3:26:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55870, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=22, DisplayLogic='@Lot@!""', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=480, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55944 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55868, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=22, DisplayLogic='@Serno@!""', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=490, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55945 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55861, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=22, DisplayLogic='@Versionno@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=500, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:26:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55880, AD_FieldGroup_ID=107, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic='@C_Bpartner_ID@!0', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=510, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55947 +; + +-- Jun 17, 2010 3:26:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55879, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=22, DisplayLogic='@C_BPartner_Location_ID@!0', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Partner Location', SeqNo=520, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55948 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55893, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Asset_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=530, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55890, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Depreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=540, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55828, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Accumdepreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation Account', SeqNo=550, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55839, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=560, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59312, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposal_Revenue', SeqNo=560, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59056 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59056 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55840, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=570, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59313, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposal Loss Acct', SeqNo=570, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59057 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59057 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55885, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=580, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59316, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Acct', SeqNo=580, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59058 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59058 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55884, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=590, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59315, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Prior Acct', SeqNo=590, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59059 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59059 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55888, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=600, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59318, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Cur', SeqNo=600, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59060 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59060 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55887, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=610, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59317, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Prior', SeqNo=610, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59061 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59061 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55883, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=620, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59314, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Depexp Offset Acct', SeqNo=620, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59062 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59062 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55825, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Change_ID', SeqNo=630, SortNo=1,Updated=TO_DATE('2010-06-17 15:26:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=14956, AD_Table_ID=842, AD_Window_ID=251, CommitWarning=NULL, Description='Automatic Issue Reporting', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Issue Project', OrderByClause=NULL, Processing='N', SeqNo=30, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:26:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14946, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Implementation Projects', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issue Project', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14947, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12967 +; + +-- Jun 17, 2010 3:26:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12971 +; + +-- Jun 17, 2010 3:26:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14956, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12966 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14957, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Project', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12973 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=120, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12970 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12968 +; + +-- Jun 17, 2010 3:26:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12965 +; + +-- Jun 17, 2010 3:26:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Status of the system - Support priority depends on system status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='System Status', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12975 +; + +-- Jun 17, 2010 3:26:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Statistics', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12974 +; + +-- Jun 17, 2010 3:26:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Profile', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12972 +; + +-- Jun 17, 2010 3:26:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55824, AD_Table_ID=53132, AD_Window_ID=251, CommitWarning=NULL, Description='Finace Information for the Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Finance Information', OrderByClause=NULL, Processing='N', SeqNo=35, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:26:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55805, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Fin_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59319, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59063 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55806, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55847 +; + +-- Jun 17, 2010 3:26:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55807, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55848 +; + +-- Jun 17, 2010 3:26:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55824, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55849 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55817, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55846 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55809, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55812, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55851 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55823, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Contract_Date', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55822, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Expired_Date', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55821, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Monthly_Payment', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55808, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Due_On', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55810, AD_FieldGroup_ID=50006, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55819, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Price', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55820, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:26:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:27:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55811, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit %', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:27:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55816, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55910, AD_Table_ID=53134, AD_Window_ID=251, CommitWarning=NULL, Description='License Information for Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='License Information', OrderByClause=NULL, Processing='N', SeqNo=40, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:27:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55896, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Lic_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59320, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59064 +; + +-- Jun 17, 2010 3:27:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55897, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55962 +; + +-- Jun 17, 2010 3:27:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55898, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55963 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55964 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:27:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55902, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55961 +; + +-- Jun 17, 2010 3:27:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55907, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55965 +; + +-- Jun 17, 2010 3:27:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issuing Agency', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:27:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_No', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55899, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_Fee', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:27:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55900, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:27:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53135, AD_Window_ID=251, CommitWarning=NULL, Description='Insurance Information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Insurance Information', OrderByClause=NULL, Processing='N', SeqNo=45, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Ins_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:27:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55921, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55972 +; + +-- Jun 17, 2010 3:27:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55973 +; + +-- Jun 17, 2010 3:27:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55974 +; + +-- Jun 17, 2010 3:27:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55926, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55975 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55924, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Insurance_Co', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=100, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Policy_No', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:27:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55923, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:27:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55925, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Premium', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55916, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Replace_Cost', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55914, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Value', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53131, AD_Window_ID=251, CommitWarning=NULL, Description='Tax information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Tax Information', OrderByClause=NULL, Processing='N', SeqNo=50, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55790, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Tax_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:27:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55796, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55835 +; + +-- Jun 17, 2010 3:27:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55791, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55836 +; + +-- Jun 17, 2010 3:27:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55792, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55837 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55804, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55838 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55801, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Tax_Entity', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55794, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55840 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55802, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_New_Used', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55803, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55793, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Investment_CR', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55799, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53136, AD_Window_ID=251, CommitWarning=NULL, Description='Other information associated with asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Other Information', OrderByClause=NULL, Processing='N', SeqNo=55, TabLevel=2, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:27:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55930, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Oth_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:27:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:27:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55984 +; + +-- Jun 17, 2010 3:27:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55927, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55985 +; + +-- Jun 17, 2010 3:27:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55928, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55986 +; + +-- Jun 17, 2010 3:27:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55929, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55987 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55931, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User1', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55932, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User10', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User2', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55933, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User11', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:27:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User3', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:27:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User12', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User4', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User13', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User5', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55936, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User14', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User6', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:27:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User15', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:27:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55943, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User7', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55944, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User8', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55945, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User9', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:27:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55394, AD_Table_ID=53115, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Expense', OrderByClause='A_Depreciation_Exp.A_Depreciation_Exp_ID', Processing='N', SeqNo=65, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:27:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53322 +; + +-- Jun 17, 2010 3:27:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53322 +; + +-- Jun 17, 2010 3:27:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55393, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Account_Number', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59065 +; + +-- Jun 17, 2010 3:27:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59065 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55377, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Depreciation_Exp_ID', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59066 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59066 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55389, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59067 +; + +-- Jun 17, 2010 3:27:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55378, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59068 +; + +-- Jun 17, 2010 3:27:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55384, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciate', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59069 +; + +-- Jun 17, 2010 3:27:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55379, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59070 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55380, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entry Type', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59071 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59071 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55390, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59072 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55383, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Expense', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59073 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59073 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59323, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Expense (fiscal)', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59074 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59074 +; + +-- Jun 17, 2010 3:27:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59321, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Account used', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The (natural) account used', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account (debit)', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59075 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59322, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Account used', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The (natural) account used', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account (credit)', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59076 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55392, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59077 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59077 +; + +-- Jun 17, 2010 3:27:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55382, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59078 +; + +-- Jun 17, 2010 3:27:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55388, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59079 +; + +-- Jun 17, 2010 3:27:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55394, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59080 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55385, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Processed', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59081 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59324, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@Processed@=N', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Process Depreciation Expense', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59082 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59082 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59325, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=2000, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59083 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59326, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Asset_Cost', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59084 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59084 +; + +-- Jun 17, 2010 3:27:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59333, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delta Asset Cost', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59085 +; + +-- Jun 17, 2010 3:27:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59085 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59327, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59086 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59086 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59334, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (delta)', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59087 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59087 +; + +-- Jun 17, 2010 3:27:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59328, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Accumulated Depreciation (fiscal)', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59088 +; + +-- Jun 17, 2010 3:27:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59088 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59335, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation - fiscal (delta)', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59089 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59089 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59331, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59090 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59090 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59332, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt (fiscal)', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59091 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59091 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59329, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Usable Life - Months', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59092 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59092 +; + +-- Jun 17, 2010 3:27:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59330, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Use Life - Months (fiscal)', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59093 +; + +-- Jun 17, 2010 3:27:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59093 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59336, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Addition_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset Addition', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59094 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59094 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59337, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Disposed_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Asset_Disposed_ID', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59095 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59095 +; + +-- Jun 17, 2010 3:27:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53113,TO_DATE('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Addition','N',TO_DATE('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:27:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53113 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:28:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53324,53137,53113,NULL,TO_DATE('2010-06-17 15:27:59','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Addition','N',10,0,TO_DATE('2010-06-17 15:27:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53324 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55965,59112,0,53324,TO_DATE('2010-06-17 15:28:02','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_DATE('2010-06-17 15:28:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59112 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) +; + +-- Jun 17, 2010 3:28:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55960,59113,0,53324,TO_DATE('2010-06-17 15:28:03','YYYY-MM-DD HH24:MI:SS'),0,'Unique line for this document',22,'@A_SourceType@=''INV''','D','Indicates the unique line for a document. It will also control the display order of the lines within a document.','Y','Y','N','N','N','N','N','Line No',0,0,TO_DATE('2010-06-17 15:28:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59113 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) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55952,59114,0,53324,TO_DATE('2010-06-17 15:28:04','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_DATE('2010-06-17 15:28:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59114 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) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55953,59115,0,53324,TO_DATE('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_DATE('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59115 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) +; + +-- Jun 17, 2010 3:28:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55971,59116,0,53324,TO_DATE('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59116 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) +; + +-- Jun 17, 2010 3:28:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55966,59117,0,53324,TO_DATE('2010-06-17 15:28:06','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','Y','N','Document No',30,0,TO_DATE('2010-06-17 15:28:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59117 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) +; + +-- Jun 17, 2010 3:28:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55954,59118,0,53324,TO_DATE('2010-06-17 15:28:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_DATE('2010-06-17 15:28:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59118 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) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55963,113,59119,0,53324,TO_DATE('2010-06-17 15:28:08','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',80,0,TO_DATE('2010-06-17 15:28:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59119 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) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55970,59120,0,53324,TO_DATE('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',90,0,TO_DATE('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59120 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) +; + +-- Jun 17, 2010 3:28:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55969,59121,0,53324,TO_DATE('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','N','Source Type',100,0,TO_DATE('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59121 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) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55959,125,59122,0,53324,TO_DATE('2010-06-17 15:28:13','YYYY-MM-DD HH24:MI:SS'),0,'General Ledger Journal Batch',22,'@A_SourceType@=''JRN''','D','The General Ledger Journal Batch identifies a group of journals to be processed as a group.','Y','Y','Y','N','N','N','N','Journal Batch',110,0,TO_DATE('2010-06-17 15:28:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59122 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) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55968,59123,0,53324,TO_DATE('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Identifier',22,'@A_SourceType@=''INV''','D','The Invoice Document.','Y','Y','Y','N','N','N','N','Invoice',120,0,TO_DATE('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59123 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) +; + +-- Jun 17, 2010 3:28:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55964,59124,0,53324,TO_DATE('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0,'Line on Shipment or Receipt document',22,'@A_SourceType@=''INV''','D','The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document','Y','Y','Y','N','N','Y','Y','Shipment/Receipt Line',150,0,TO_DATE('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59124 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) +; + +-- Jun 17, 2010 3:28:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55958,59125,0,53324,TO_DATE('2010-06-17 15:28:15','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',510,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',220,0,TO_DATE('2010-06-17 15:28:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59125 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) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55956,59126,0,53324,TO_DATE('2010-06-17 15:28:16','YYYY-MM-DD HH24:MI:SS'),0,'Book Value of the asset',22,'D','Y','Y','Y','N','N','Y','N','Asset value',240,0,TO_DATE('2010-06-17 15:28:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59126 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) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55955,59127,0,53324,TO_DATE('2010-06-17 15:28:17','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',260,0,TO_DATE('2010-06-17 15:28:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59127 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) +; + +-- Jun 17, 2010 3:28:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53114,TO_DATE('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'Activate/Dispose of Assets','D','Y','N','N','Y','Asset Activation/Disposal','N',TO_DATE('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:28:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53114 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:28:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53325,53127,53114,NULL,TO_DATE('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'Process the Disposal/Activation','D','N','Y','N','N','Y','N','Y','N','N','Asset Disposal/Activation','N',10,1,TO_DATE('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53325 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55638,59128,0,53325,TO_DATE('2010-06-17 15:28:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_DATE('2010-06-17 15:28:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59128 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) +; + +-- Jun 17, 2010 3:28:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55643,59129,0,53325,TO_DATE('2010-06-17 15:28:20','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',22,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_DATE('2010-06-17 15:28:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59129 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) +; + +-- Jun 17, 2010 3:28:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55653,59130,0,53325,TO_DATE('2010-06-17 15:28:24','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=C | @A_Disposed_Method@=T2','D','Y','Y','N','N','N','N','N','A_Proceeds',0,0,TO_DATE('2010-06-17 15:28:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59130 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) +; + +-- Jun 17, 2010 3:28:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55655,59131,0,53325,TO_DATE('2010-06-17 15:28:25','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2','D','Y','Y','N','N','N','N','N','A_Asset_Trade_ID',0,0,TO_DATE('2010-06-17 15:28:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59131 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) +; + +-- Jun 17, 2010 3:28:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55649,59132,0,53325,TO_DATE('2010-06-17 15:28:26','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_DATE('2010-06-17 15:28:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59132 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) +; + +-- Jun 17, 2010 3:28:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55650,59133,0,53325,TO_DATE('2010-06-17 15:28:28','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','Y','N','Active',0,0,TO_DATE('2010-06-17 15:28:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59133 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) +; + +-- Jun 17, 2010 3:28:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55639,59134,0,53325,TO_DATE('2010-06-17 15:28:29','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_DATE('2010-06-17 15:28:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59134 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) +; + +-- Jun 17, 2010 3:28:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55656,59135,0,53325,TO_DATE('2010-06-17 15:28:30','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','Y','Y','Organization',20,0,TO_DATE('2010-06-17 15:28:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59135 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) +; + +-- Jun 17, 2010 3:28:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55645,59136,0,53325,TO_DATE('2010-06-17 15:28:31','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',50,0,TO_DATE('2010-06-17 15:28:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59136 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) +; + +-- Jun 17, 2010 3:28:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55641,59137,0,53325,TO_DATE('2010-06-17 15:28:34','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','Y','A_Disposed_Date',60,0,TO_DATE('2010-06-17 15:28:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59137 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) +; + +-- Jun 17, 2010 3:28:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55651,59138,0,53325,TO_DATE('2010-06-17 15:28:35','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_DATE('2010-06-17 15:28:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59138 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) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55640,59139,0,53325,TO_DATE('2010-06-17 15:28:36','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',80,0,TO_DATE('2010-06-17 15:28:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59139 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) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55654,59140,0,53325,TO_DATE('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Method',100,0,TO_DATE('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59140 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) +; + +-- Jun 17, 2010 3:28:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55642,59141,0,53325,TO_DATE('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','Y','A_Disposed_Reason',110,0,TO_DATE('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59141 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) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55646,101,59142,0,53325,TO_DATE('2010-06-17 15:28:38','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',180,0,TO_DATE('2010-06-17 15:28:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59142 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) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53326,539,53114,NULL,TO_DATE('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0,'Select Asset for Disposal','D','N','N','N','N','N','Y','N','N','N','Step1 Select an Asset','N',999,0,TO_DATE('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53326 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8064,59143,0,53326,TO_DATE('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',14,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59143 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) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8052,59144,0,53326,TO_DATE('2010-06-17 15:28:40','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',14,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:28:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59144 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) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8054,59145,0,53326,TO_DATE('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',20,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',30,0,TO_DATE('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59145 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) +; + +-- Jun 17, 2010 3:28:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8070,59146,0,53326,TO_DATE('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',14,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_DATE('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59146 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) +; + +-- Jun 17, 2010 3:28:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55593,59147,0,53326,TO_DATE('2010-06-17 15:28:46','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','Y','A_Parent_Asset_ID',50,0,TO_DATE('2010-06-17 15:28:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59147 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) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8056,59148,0,53326,TO_DATE('2010-06-17 15:28:47','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',60,1,TO_DATE('2010-06-17 15:28:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59148 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) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8057,59149,0,53326,TO_DATE('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',60,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',70,0,TO_DATE('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59149 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) +; + +-- Jun 17, 2010 3:28:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8062,59150,0,53326,TO_DATE('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',60,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','Comment/Help',80,0,TO_DATE('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59150 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) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8043,59151,0,53326,TO_DATE('2010-06-17 15:28:49','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',90,0,TO_DATE('2010-06-17 15:28:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59151 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) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8047,59152,0,53326,TO_DATE('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',26,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',100,0,TO_DATE('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59152 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) +; + +-- Jun 17, 2010 3:28:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,10007,59153,0,53326,TO_DATE('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',22,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','Y','Y','Attribute Set Instance',110,0,TO_DATE('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59153 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) +; + +-- Jun 17, 2010 3:28:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8053,59154,0,53326,TO_DATE('2010-06-17 15:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Version Number',20,'D','Y','Y','Y','N','N','N','N','Version No',120,0,TO_DATE('2010-06-17 15:28:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59154 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) +; + +-- Jun 17, 2010 3:28:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8038,59155,0,53326,TO_DATE('2010-06-17 15:28:52','YYYY-MM-DD HH24:MI:SS'),0,'Lot number (alphanumeric)',20,'D','The Lot Number indicates the specific lot that a product was part of.','Y','Y','Y','N','N','N','N','Lot No',130,0,TO_DATE('2010-06-17 15:28:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59155 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) +; + +-- Jun 17, 2010 3:28:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8071,59156,0,53326,TO_DATE('2010-06-17 15:28:53','YYYY-MM-DD HH24:MI:SS'),0,'Product Serial Number ',20,'D','The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.','Y','Y','Y','N','N','N','Y','Serial No',140,0,TO_DATE('2010-06-17 15:28:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59156 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) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55595,59157,0,53326,TO_DATE('2010-06-17 15:28:54','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_QTY_Original',150,0,TO_DATE('2010-06-17 15:28:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59157 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) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55594,59158,0,53326,TO_DATE('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Current Qty',160,0,TO_DATE('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59158 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) +; + +-- Jun 17, 2010 3:28:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55591,59159,0,53326,TO_DATE('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0,7,'D','Y','Y','Y','N','N','N','N','A_Asset_CreateDate',170,0,TO_DATE('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59159 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) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55592,59160,0,53326,TO_DATE('2010-06-17 15:28:57','YYYY-MM-DD HH24:MI:SS'),0,7,'D','Y','Y','Y','N','N','N','Y','A_Asset_RevalDate',180,0,TO_DATE('2010-06-17 15:28:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59160 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) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8068,59161,0,53326,TO_DATE('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0,'Date when Asset was put into service',14,'D','The date when the asset was put into service - usually used as start date for depreciation.','Y','Y','Y','N','N','N','N','In Service Date',190,0,TO_DATE('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59161 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) +; + +-- Jun 17, 2010 3:28:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8066,59162,0,53326,TO_DATE('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0,'Date when guarantee expires',14,'D','Date when the normal guarantee or availability expires','Y','Y','Y','N','N','N','Y','Guarantee Date',200,0,TO_DATE('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59162 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) +; + +-- Jun 17, 2010 3:29:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8051,59163,0,53326,TO_DATE('2010-06-17 15:28:59','YYYY-MM-DD HH24:MI:SS'),0,'Group of Assets',14,'D','The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','Y','N','N','N','N','Asset Group',210,0,TO_DATE('2010-06-17 15:28:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59163 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) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8055,59164,0,53326,TO_DATE('2010-06-17 15:29:03','YYYY-MM-DD HH24:MI:SS'),0,'The asset is owned by the organization',1,'D','The asset may not be in possession, but the asset is legally owned by the organization','Y','Y','Y','N','N','N','N','Owned',220,0,TO_DATE('2010-06-17 15:29:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59164 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) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8042,59165,0,53326,TO_DATE('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0,'The asset is in the possession of the organization',1,'D','Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','Y','Y','N','N','N','Y','In Possession',230,0,TO_DATE('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59165 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) +; + +-- Jun 17, 2010 3:29:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8065,59166,0,53326,TO_DATE('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',26,'@IsInPosession@=N','D','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','Business Partner ',240,0,TO_DATE('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59166 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) +; + +-- Jun 17, 2010 3:29:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8039,59167,0,53326,TO_DATE('2010-06-17 15:29:05','YYYY-MM-DD HH24:MI:SS'),0,'User within the system - Internal or Business Partner Contact',14,'@IsInPosession@=N','D','The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','Y','Y','N','N','N','Y','User/Contact',250,0,TO_DATE('2010-06-17 15:29:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59167 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) +; + +-- Jun 17, 2010 3:29:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8073,59168,0,53326,TO_DATE('2010-06-17 15:29:06','YYYY-MM-DD HH24:MI:SS'),0,'Identifies the (ship to) address for this Business Partner',14,'@IsInPosession@=N','D','The Partner address indicates the location of a Business Partner','Y','Y','Y','N','N','N','N','Partner Location',260,0,TO_DATE('2010-06-17 15:29:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59168 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) +; + +-- Jun 17, 2010 3:29:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8049,59169,0,53326,TO_DATE('2010-06-17 15:29:07','YYYY-MM-DD HH24:MI:SS'),0,'Location or Address',26,'@IsInPosession@=N','D','The Location / Address field defines the location of an entity.','Y','Y','Y','N','N','N','Y','Address',270,0,TO_DATE('2010-06-17 15:29:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59169 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) +; + +-- Jun 17, 2010 3:29:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8041,59170,0,53326,TO_DATE('2010-06-17 15:29:08','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',14,'@IsInPosession@=Y','D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',280,0,TO_DATE('2010-06-17 15:29:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59170 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) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8058,59171,0,53326,TO_DATE('2010-06-17 15:29:09','YYYY-MM-DD HH24:MI:SS'),0,'Additional comments or remarks concerning the location',60,'D','Y','Y','Y','N','N','N','N','Location comment',290,0,TO_DATE('2010-06-17 15:29:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59171 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) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8059,59172,0,53326,TO_DATE('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'@IsOwned@=Y','D','The asset is used internally and will be depreciated','Y','Y','Y','N','N','N','N','Depreciate',300,0,TO_DATE('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59172 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) +; + +-- Jun 17, 2010 3:29:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8126,59173,0,53326,TO_DATE('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0,'The asset is fully depreciated',1,'@IsOwned@=Y & @IsDepreciated@=Y','D','The asset costs are fully amortized.','Y','Y','Y','N','N','Y','Y','Fully depreciated',310,0,TO_DATE('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59173 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) +; + +-- Jun 17, 2010 3:29:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8046,59174,0,53326,TO_DATE('2010-06-17 15:29:12','YYYY-MM-DD HH24:MI:SS'),0,'Years of the usable life of the asset',11,'D','Y','Y','Y','N','N','N','N','Usable Life - Years',320,0,TO_DATE('2010-06-17 15:29:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59174 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) +; + +-- Jun 17, 2010 3:29:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8067,59175,0,53326,TO_DATE('2010-06-17 15:29:13','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',11,'D','Y','Y','Y','N','N','N','Y','Usable Life - Months',330,0,TO_DATE('2010-06-17 15:29:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59175 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) +; + +-- Jun 17, 2010 3:29:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8060,59176,0,53326,TO_DATE('2010-06-17 15:29:16','YYYY-MM-DD HH24:MI:SS'),0,'Units of use until the asset is not usable anymore',11,'D','Life use and the actual use may be used to calculate the depreciation','Y','Y','Y','N','N','N','N','Life use',340,0,TO_DATE('2010-06-17 15:29:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59176 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) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8069,59177,0,53326,TO_DATE('2010-06-17 15:29:17','YYYY-MM-DD HH24:MI:SS'),0,'Currently used units of the assets',11,'D','Y','Y','Y','N','N','N','Y','Use units',350,0,TO_DATE('2010-06-17 15:29:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59177 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) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8044,59178,0,53326,TO_DATE('2010-06-17 15:29:18','YYYY-MM-DD HH24:MI:SS'),0,'Date of last depreciation',14,'@IsOwned@=Y & @IsDepeciated@=Y','D','Date of the last deprecation, if the asset is used internally and depreciated.','Y','Y','Y','N','N','N','N','Asset Depreciation Date',360,0,TO_DATE('2010-06-17 15:29:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59178 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) +; + +-- Jun 17, 2010 3:29:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8040,59179,0,53326,TO_DATE('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed',1,'D','The asset is no longer used and disposed','Y','Y','Y','N','N','N','N','Disposed',370,0,TO_DATE('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59179 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) +; + +-- Jun 17, 2010 3:29:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8048,59180,0,53326,TO_DATE('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0,'Date when the asset is/was disposed',14,'@IsDisposed@=Y','D','Y','Y','Y','N','N','N','Y','Asset Disposal Date',380,0,TO_DATE('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59180 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) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8061,59181,0,53326,TO_DATE('2010-06-17 15:29:23','YYYY-MM-DD HH24:MI:SS'),0,23,'D','Y','Y','Y','N','N','N','N','Process Now',390,0,TO_DATE('2010-06-17 15:29:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59181 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) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53115,TO_DATE('2010-06-17 15:29:25','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Change Account','N',TO_DATE('2010-06-17 15:29:25','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53115 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53115, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds all necessary information to process asset transfers and create the appropriate entry', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Transfer_ID', ReplicationType='L', TableName='A_Asset_Transfer',Updated=TO_DATE('2010-06-17 15:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53128 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53128 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Transfer_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Transfer_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Transfer_ID',Updated=TO_DATE('2010-06-17 15:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53556 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53556 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53556, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Transfer_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Transfer_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55658 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55658 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Transfer_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55658 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Asset_Acct_ID FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55657 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55657 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55657 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55659 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY AD_Client_ID NUMBER(10) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY AD_Client_ID NOT NULL +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55660 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY AD_Org_ID NUMBER(10) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY AD_Org_ID NOT NULL +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55661 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55661 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55661 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Accumdepreciation_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Asset Cost Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Asset Cost Acct',Updated=TO_DATE('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53557 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53557 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53557, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Asset Cost Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55662 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55662 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_Acct_New VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_Acct_New NULL +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55663 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55663 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55663 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Depreciation_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Acct_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Acct_Str',Updated=TO_DATE('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53558 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53558 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53558, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Acct_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55664 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55664 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Acct_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55664 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Depreciation_Acct_Str NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Disposal Loss', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Disposal Loss',Updated=TO_DATE('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53559 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53559 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53559, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Disposal Loss', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55665 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID=55665 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Loss_New VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Loss_New NULL +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Transfer_Balance_IS', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Transfer_Balance_IS', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Transfer_Balance_IS',Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53522 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53522, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Transfer_Balance_IS', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Transfer_Balance_IS', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55666 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55666 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Transfer_Balance_IS', Description=NULL, Help=NULL WHERE AD_Column_ID=55666 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Transfer_Balance', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Transfer_Balance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Transfer_Balance',Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53560 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53560 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53560, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Transfer_Balance', ColumnSQL=NULL, DefaultValue='Y', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Transfer_Balance', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55667 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55667 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Transfer_Balance', Description=NULL, Help=NULL WHERE AD_Column_ID=55667 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55668 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55668 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55668 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Split_Percent NUMBER DEFAULT 1 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55669 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55669 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55669 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Period_Start NUMBER(10) +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55670 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55670 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55670 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Period_End NUMBER(10) +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Revenue_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Revenue_Str',Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53561 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53561, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Disposal_Revenue_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55671 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55671 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Revenue_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55671 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Revenue_Str NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Disposal Revenue', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Disposal Revenue',Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53562 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53562 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53562, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55672 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55672 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Revenue_New VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Revenue_New NULL +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Disposal_Revenue FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55673 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55673 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Loss_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Loss_Str',Updated=TO_DATE('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53563 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53563, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Disposal_Loss_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55674 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55674 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Loss_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55674 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Disposal_Loss_Str NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55675 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY UpdatedBy NUMBER(10) +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55676 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY Updated DATE +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55677 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55677 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY Processing CHAR(1) DEFAULT 'N' +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET Processing='N' WHERE Processing IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue='N', Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55678 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY Processed CHAR(1) DEFAULT 'N' +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET Processed='N' WHERE Processed IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='A', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55679 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY PostingType NOT NULL +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55680 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY IsActive CHAR(1) DEFAULT 'Y' +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET IsActive='Y' WHERE IsActive IS NULL +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@#Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55681 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY DateAcct DATE +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55682 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY CreatedBy NUMBER(10) +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55683 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY Created DATE +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=233, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=7, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55684 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY C_Period_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Accounting Schema selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_AcctSchema', ValidationType='T',Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 265, AD_Display = 2471, AD_Key = 2463, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=136, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55685 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY C_AcctSchema_ID NUMBER(10) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY C_AcctSchema_ID NOT NULL +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Disposal_Loss FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55686 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55686 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Depreciation Exp Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Depreciation Exp Acct',Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53564 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53564 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53564, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Depreciation Exp Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55687 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55687 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Depreciation_Acct_New VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Depreciation_Acct_New NULL +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Transfer.asset', ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=80, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55688 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_ID NOT NULL +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Acct_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Acct_Str',Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53565 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53565 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53565, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Acct_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55689 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55689 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55689 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_Acct_Str NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Accum Depreciation Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Accum Depreciation Acct',Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53566 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53566 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53566, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Accum Depreciation Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55690 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55690 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Accumdepreciation_Acct_New VARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Accumdepreciation_Acct_New NULL +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Old Asset Cost Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Old Asset Cost Acct',Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53567 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53567 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53567, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Old Asset Cost Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55691 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55691 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55691 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Accumdepreciation_Acct_Str NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55692 +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55692 +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55692 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer MODIFY A_Asset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54216,0,'A_Accumdepreciation_New_Acct',TO_DATE('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation Account (new)','Accumulated Depreciation Account (new)',TO_DATE('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +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=54216 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) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59339,54216,0,25,53128,'A_Accumdepreciation_New_Acct',TO_DATE('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation Account (new)',TO_DATE('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59339 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) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Accumdepreciation_New_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:29:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54217,0,'A_Depreciation_New_Acct',TO_DATE('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Acct (new)','Depreciation Acct (new)',TO_DATE('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:40 PM CDT +-- Generated Central ID for Fixed Asset +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=54217 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) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59340,54217,0,25,53128,'A_Depreciation_New_Acct',TO_DATE('2010-06-17 15:29:40','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Acct (new)',TO_DATE('2010-06-17 15:29:40','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59340 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) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Depreciation_New_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59341,54196,0,25,53128,'A_Disposal_Loss_Acct',TO_DATE('2010-06-17 15:29:41','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','N','Disposal Loss Acct',TO_DATE('2010-06-17 15:29:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59341 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) +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Disposal_Loss_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54218,0,'A_Disposal_Revenue_New_Acct',TO_DATE('2010-06-17 15:29:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Revenue Acct (new)','Disposal Revenue Acct (new)',TO_DATE('2010-06-17 15:29:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54218 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) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59342,54218,0,25,53128,'A_Disposal_Revenue_New_Acct',TO_DATE('2010-06-17 15:29:43','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Revenue Acct (new)',TO_DATE('2010-06-17 15:29:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59342 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) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Disposal_Revenue_New_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59343,54195,0,25,53128,'A_Disposal_Revenue_Acct',TO_DATE('2010-06-17 15:29:44','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','N','A_Disposal_Revenue',TO_DATE('2010-06-17 15:29:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59343 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) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Disposal_Revenue_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54219,0,'A_Disposal_Loss_New_Acct',TO_DATE('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Loss Acct (new)','Disposal Loss Acct (new)',TO_DATE('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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=54219 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) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59344,54219,0,25,53128,'A_Disposal_Loss_New_Acct',TO_DATE('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct (new)',TO_DATE('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59344 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) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Disposal_Loss_New_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:29:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54220,0,'A_Asset_New_Acct',TO_DATE('2010-06-17 15:29:46','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Acct (new)','Asset Acct (new)',TO_DATE('2010-06-17 15:29:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:47 PM CDT +-- Generated Central ID for Fixed Asset +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=54220 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) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59345,54220,0,25,53128,'A_Asset_New_Acct',TO_DATE('2010-06-17 15:29:47','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Acct (new)',TO_DATE('2010-06-17 15:29:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59345 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) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Asset_New_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:29:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,Limit,Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53128,50022,'1','teo_sarca',0,TO_DATE('2010-06-17 15:29:48','YYYY-MM-DD HH24:MI:SS'),0,'10000002',0,'D','D','Y','N','N','N',0,'Process_Asset_Transfer',0,'R',TO_DATE('2010-06-17 15:29:48','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Transfer',0,0,'P',0) +; + +-- Jun 17, 2010 3:29:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50022 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:29:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50108,50022,'D',0,TO_DATE('2010-06-17 15:29:49','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_DATE('2010-06-17 15:29:49','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50108 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50109,50022,'D',0,TO_DATE('2010-06-17 15:29:50','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_DATE('2010-06-17 15:29:50','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50109 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50110,50022,'D',0,TO_DATE('2010-06-17 15:29:53','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_DATE('2010-06-17 15:29:53','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50110 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50109,50082,50110,TO_DATE('2010-06-17 15:29:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:29:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50111,50022,'Z',0,TO_DATE('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_DATE('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50111 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50110,50083,50111,TO_DATE('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_DATE('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50108,50084,50111,TO_DATE('2010-06-17 15:29:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:29:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50111, IsValid='Y',Updated=TO_DATE('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50022 +; + +-- Jun 17, 2010 3:30:00 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53212,50022,'1',TO_DATE('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Transfer Process','Y',0,0,TO_DATE('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Transfer_Process',NULL) +; + +-- Jun 17, 2010 3:30:00 PM CDT +-- Generated Central ID for Fixed Asset +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=53212 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) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59346,287,0,53212,28,135,53128,'DocAction',TO_DATE('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,'CO','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59346 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) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59347,289,0,17,131,53128,'DocStatus',TO_DATE('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,'DR','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_DATE('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59347 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) +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD DocStatus NVARCHAR2(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59348,1308,0,28,234,53128,'Posted',TO_DATE('2010-06-17 15:30:03','YYYY-MM-DD HH24:MI:SS'),0,'Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','Y','N','Y','Posted',TO_DATE('2010-06-17 15:30:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59348 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) +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD Posted CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59349,53641,0,17,53277,53128,'A_CapvsExp',TO_DATE('2010-06-17 15:30:04','YYYY-MM-DD HH24:MI:SS'),0,'''Cap''','D',3,'Y','N','N','N','N','Y','N','N','Y','N','Y','Capital/Expense',TO_DATE('2010-06-17 15:30:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59349 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) +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_CapvsExp NVARCHAR2(3) DEFAULT 'Cap' NOT NULL +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59350,54175,0,22,53128,'A_Accumulated_Depr_F',TO_DATE('2010-06-17 15:30:10','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-17 15:30:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59350 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) +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD A_Accumulated_Depr_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59351,290,0,10,53128,'DocumentNo',TO_DATE('2010-06-17 15:30:12','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Document No',TO_DATE('2010-06-17 15:30:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59351 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) +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD DocumentNo NVARCHAR2(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59352,265,0,15,53128,'org.compiere.FA.CalloutA_Asset_Transfer.dateDoc','DateDoc',TO_DATE('2010-06-17 15:30:17','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','N','N','N','N','N','Y','N','Y','Document Date',TO_DATE('2010-06-17 15:30:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59352 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) +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD DateDoc DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:30:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53327,53128,53115,NULL,TO_DATE('2010-06-17 15:30:18','YYYY-MM-DD HH24:MI:SS'),0,'D','N','This table holds all necessary information to process asset transfers and create the appropriate entry','Y','N','N','Y','N','Y','N','N','Asset Change account','N',10,0,TO_DATE('2010-06-17 15:30:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53327 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:30:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55689,50001,59182,0,53327,TO_DATE('2010-06-17 15:30:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Acct_Str',0,0,TO_DATE('2010-06-17 15:30:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59182 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) +; + +-- Jun 17, 2010 3:30:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55664,50001,59183,0,53327,TO_DATE('2010-06-17 15:30:33','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Depreciation_Acct_Str',0,0,TO_DATE('2010-06-17 15:30:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59183 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) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55674,50001,59184,0,53327,TO_DATE('2010-06-17 15:30:34','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Loss_Str',0,0,TO_DATE('2010-06-17 15:30:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59184 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) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55671,50001,59185,0,53327,TO_DATE('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Revenue_Str',0,0,TO_DATE('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59185 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) +; + +-- Jun 17, 2010 3:30:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55670,59186,0,53327,TO_DATE('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','Y','A_Period_End',0,0,TO_DATE('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59186 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) +; + +-- Jun 17, 2010 3:30:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55669,59187,0,53327,TO_DATE('2010-06-17 15:30:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Period_Start',0,0,TO_DATE('2010-06-17 15:30:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59187 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) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55667,59188,0,53327,TO_DATE('2010-06-17 15:30:37','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','A_Transfer_Balance',0,0,TO_DATE('2010-06-17 15:30:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59188 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) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55666,59189,0,53327,TO_DATE('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','A_Transfer_Balance_IS',0,0,TO_DATE('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59189 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) +; + +-- Jun 17, 2010 3:30:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55680,59190,0,53327,TO_DATE('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_DATE('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59190 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) +; + +-- Jun 17, 2010 3:30:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55691,50001,59191,0,53327,TO_DATE('2010-06-17 15:30:39','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Old Asset Cost Acct',0,0,TO_DATE('2010-06-17 15:30:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59191 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) +; + +-- Jun 17, 2010 3:30:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55684,59192,0,53327,TO_DATE('2010-06-17 15:30:40','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',7,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_DATE('2010-06-17 15:30:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59192 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) +; + +-- Jun 17, 2010 3:30:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55677,101,59193,0,53327,TO_DATE('2010-06-17 15:30:41','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_DATE('2010-06-17 15:30:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59193 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) +; + +-- Jun 17, 2010 3:30:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55668,59194,0,53327,TO_DATE('2010-06-17 15:30:42','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Split Percent',0,0,TO_DATE('2010-06-17 15:30:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59194 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) +; + +-- Jun 17, 2010 3:30:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55658,59195,0,53327,TO_DATE('2010-06-17 15:30:43','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Transfer_ID',0,0,TO_DATE('2010-06-17 15:30:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59195 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) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55657,59196,0,53327,TO_DATE('2010-06-17 15:30:44','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Acct_ID',0,0,TO_DATE('2010-06-17 15:30:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59196 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) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59350,59197,0,53327,TO_DATE('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',0,0,TO_DATE('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59197 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) +; + +-- Jun 17, 2010 3:30:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55673,59198,0,53327,TO_DATE('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Disposal Revenue',0,0,TO_DATE('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59198 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) +; + +-- Jun 17, 2010 3:30:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55686,59199,0,53327,TO_DATE('2010-06-17 15:30:49','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Loss on Disposal',0,0,TO_DATE('2010-06-17 15:30:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59199 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) +; + +-- Jun 17, 2010 3:30:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55690,59200,0,53327,TO_DATE('2010-06-17 15:30:51','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Accum Depreciation Acct',0,0,TO_DATE('2010-06-17 15:30:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59200 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) +; + +-- Jun 17, 2010 3:30:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55662,50001,59201,0,53327,TO_DATE('2010-06-17 15:30:52','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Asset Cost Acct',0,0,TO_DATE('2010-06-17 15:30:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59201 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) +; + +-- Jun 17, 2010 3:30:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55687,59202,0,53327,TO_DATE('2010-06-17 15:30:55','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Depreciation Exp Acct',0,0,TO_DATE('2010-06-17 15:30:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59202 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) +; + +-- Jun 17, 2010 3:30:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55665,59203,0,53327,TO_DATE('2010-06-17 15:30:56','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Disposal Loss',0,0,TO_DATE('2010-06-17 15:30:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59203 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) +; + +-- Jun 17, 2010 3:31:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55672,59204,0,53327,TO_DATE('2010-06-17 15:30:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Disposal Revenue',0,0,TO_DATE('2010-06-17 15:30:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59204 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) +; + +-- Jun 17, 2010 3:31:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55659,59205,0,53327,TO_DATE('2010-06-17 15:31:01','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:31:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59205 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) +; + +-- Jun 17, 2010 3:31:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55660,59206,0,53327,TO_DATE('2010-06-17 15:31:02','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:31:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59206 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) +; + +-- Jun 17, 2010 3:31:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59351,59207,0,53327,TO_DATE('2010-06-17 15:31:03','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_DATE('2010-06-17 15:31:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59207 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) +; + +-- Jun 17, 2010 3:31:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59352,59208,0,53327,TO_DATE('2010-06-17 15:31:04','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',40,0,TO_DATE('2010-06-17 15:31:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59208 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) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55681,59209,0,53327,TO_DATE('2010-06-17 15:31:05','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',50,0,TO_DATE('2010-06-17 15:31:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59209 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) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55688,59210,0,53327,TO_DATE('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',60,0,TO_DATE('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59210 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) +; + +-- Jun 17, 2010 3:31:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55685,113,59211,0,53327,TO_DATE('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0,'Rules for accounting',10,'D','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','Y','Y','N','N','N','N','Accounting Schema',70,0,TO_DATE('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59211 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) +; + +-- Jun 17, 2010 3:31:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59349,59212,0,53327,TO_DATE('2010-06-17 15:31:08','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',80,0,TO_DATE('2010-06-17 15:31:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59212 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) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55679,113,59213,0,53327,TO_DATE('2010-06-17 15:31:09','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','Y','PostingType',90,0,TO_DATE('2010-06-17 15:31:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59213 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) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59345,50001,59214,0,53327,TO_DATE('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Asset Acct (new)',100,0,TO_DATE('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59214 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) +; + +-- Jun 17, 2010 3:31:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55692,59215,0,53327,TO_DATE('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Asset Acct',110,0,TO_DATE('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59215 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) +; + +-- Jun 17, 2010 3:31:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59339,59216,0,53327,TO_DATE('2010-06-17 15:31:16','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Accumulated Depreciation Account (new)',120,0,TO_DATE('2010-06-17 15:31:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59216 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) +; + +-- Jun 17, 2010 3:31:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55661,59217,0,53327,TO_DATE('2010-06-17 15:31:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Accumulated Depreciation Account',130,0,TO_DATE('2010-06-17 15:31:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59217 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) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59340,59218,0,53327,TO_DATE('2010-06-17 15:31:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Depreciation Acct (new)',140,0,TO_DATE('2010-06-17 15:31:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59218 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) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55663,59219,0,53327,TO_DATE('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Depreciation Account',150,0,TO_DATE('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59219 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) +; + +-- Jun 17, 2010 3:31:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59344,59220,0,53327,TO_DATE('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct (new)',160,0,TO_DATE('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59220 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) +; + +-- Jun 17, 2010 3:31:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59341,59221,0,53327,TO_DATE('2010-06-17 15:31:32','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','Disposal Loss Acct',170,0,TO_DATE('2010-06-17 15:31:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59221 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) +; + +-- Jun 17, 2010 3:31:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59342,59222,0,53327,TO_DATE('2010-06-17 15:31:37','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Disposal Revenue Acct (new)',180,0,TO_DATE('2010-06-17 15:31:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59222 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) +; + +-- Jun 17, 2010 3:31:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59343,59223,0,53327,TO_DATE('2010-06-17 15:31:38','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Disposal_Revenue',190,0,TO_DATE('2010-06-17 15:31:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59223 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) +; + +-- Jun 17, 2010 3:31:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55678,101,59224,0,53327,TO_DATE('2010-06-17 15:31:40','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',200,0,TO_DATE('2010-06-17 15:31:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59224 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) +; + +-- Jun 17, 2010 3:31:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59347,59225,0,53327,TO_DATE('2010-06-17 15:31:42','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',210,0,TO_DATE('2010-06-17 15:31:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59225 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) +; + +-- Jun 17, 2010 3:31:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59346,59226,0,53327,TO_DATE('2010-06-17 15:31:47','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',220,0,TO_DATE('2010-06-17 15:31:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59226 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) +; + +-- Jun 17, 2010 3:31:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59348,59227,0,53327,TO_DATE('2010-06-17 15:31:49','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',230,0,TO_DATE('2010-06-17 15:31:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59227 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) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53116,TO_DATE('2010-06-17 15:31:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Class','N',TO_DATE('2010-06-17 15:31:50','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53116 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53116, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset class', ReplicationType='L', TableName='A_Asset_Class',Updated=TO_DATE('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53269 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53269 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=54165, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53269, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Class_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset class', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59252 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59252 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset class', Description=NULL, Help=NULL WHERE AD_Column_ID=59252 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Class (A_Asset_Class_ID NUMBER(10) NOT NULL, Description VARCHAR2(10) DEFAULT NULL , CONSTRAINT A_Asset_Class_Key PRIMARY KEY (A_Asset_Class_ID)) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=53269, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=2000, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59251 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=59251 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class MODIFY Description NVARCHAR2(2000) DEFAULT NULL +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59353,102,0,19,53269,'AD_Client_ID',TO_DATE('2010-06-17 15:31:55','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:31:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59353 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) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59354,113,0,19,53269,'AD_Org_ID',TO_DATE('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59354 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) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD AD_Org_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59355,245,0,16,53269,'Created',TO_DATE('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59355 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) +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59356,246,0,18,110,53269,'CreatedBy',TO_DATE('2010-06-17 15:32:00','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-17 15:32:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59356 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) +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59357,607,0,16,53269,'Updated',TO_DATE('2010-06-17 15:32:05','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-17 15:32:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59357 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) +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59358,608,0,18,110,53269,'UpdatedBy',TO_DATE('2010-06-17 15:32:06','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-17 15:32:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59358 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) +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59359,348,0,20,53269,'IsActive',TO_DATE('2010-06-17 15:32:07','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:32:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59359 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) +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD IsActive CHAR(1) DEFAULT NULL CHECK (IsActive IN ('Y','N')) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +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,59360,620,0,10,53269,'Value',TO_DATE('2010-06-17 15:32:11','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','Y','N','Y','N','Y','Y','N','Y','Search Key',5,TO_DATE('2010-06-17 15:32:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59360 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) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD Value NVARCHAR2(40) NOT NULL +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +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,59361,469,0,10,53269,'Name',TO_DATE('2010-06-17 15:32:15','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',2000,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','Y','Y','N','Y','Name',10,TO_DATE('2010-06-17 15:32:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59361 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) +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD Name NVARCHAR2(2000) NOT NULL +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59362,54185,0,11,53269,'A_Life_Period_Min',TO_DATE('2010-06-17 15:32:16','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','N','Y','N','N','Y','N','Y','Life periods (min)',20,TO_DATE('2010-06-17 15:32:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59362 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) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD A_Life_Period_Min NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59363,54184,0,11,53269,'A_Life_Period_Max',TO_DATE('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','N','Y','N','N','Y','N','Y','Life periods (max)',30,TO_DATE('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59363 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) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD A_Life_Period_Max NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:32:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54221,0,'A_Value_2004',TO_DATE('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Value 2004','Value 2004',TO_DATE('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:22 PM CDT +-- Generated Central ID for Fixed Asset +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=54221 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) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59364,54221,0,10,53269,'A_Value_2004',TO_DATE('2010-06-17 15:32:22','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Value 2004',TO_DATE('2010-06-17 15:32:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59364 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) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD A_Value_2004 NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54222,0,'A_Life_Period_2004',TO_DATE('2010-06-17 15:32:25','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Periods 2004 (min)','Life Periods 2004 (min)',TO_DATE('2010-06-17 15:32:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:26 PM CDT +-- Generated Central ID for Fixed Asset +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=54222 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) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59365,54222,0,11,53269,'A_Life_Period_2004',TO_DATE('2010-06-17 15:32:26','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Life Periods 2004 (min)',TO_DATE('2010-06-17 15:32:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59365 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) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD A_Life_Period_2004 NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54223,0,'MFX_Grupa',TO_DATE('2010-06-17 15:32:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Group','Fixed Asset Group',TO_DATE('2010-06-17 15:32:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:31 PM CDT +-- Generated Central ID for Fixed Asset +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=54223 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) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59366,54223,0,11,53269,'MFX_Grupa',TO_DATE('2010-06-17 15:32:31','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Group',TO_DATE('2010-06-17 15:32:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59366 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) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD MFX_Grupa NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54224,0,'MFX_SubGrupa',TO_DATE('2010-06-17 15:32:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Subgroup','Fixed Asset SubGroup',TO_DATE('2010-06-17 15:32:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54224 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) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59367,54224,0,11,53269,'MFX_SubGrupa',TO_DATE('2010-06-17 15:32:33','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Subgroup',TO_DATE('2010-06-17 15:32:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59367 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) +; + +-- Jun 17, 2010 3:32:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD MFX_SubGrupa NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54225,0,'MFX_Clasa',TO_DATE('2010-06-17 15:32:34','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Class','Fixed Asset Class',TO_DATE('2010-06-17 15:32:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:36 PM CDT +-- Generated Central ID for Fixed Asset +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=54225 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) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59368,54225,0,11,53269,'MFX_Clasa',TO_DATE('2010-06-17 15:32:36','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Class',TO_DATE('2010-06-17 15:32:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59368 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) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD MFX_Clasa NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54226,0,'MFX_SubClasa',TO_DATE('2010-06-17 15:32:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Subclass','Fixed Asset Subclass',TO_DATE('2010-06-17 15:32:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:38 PM CDT +-- Generated Central ID for Fixed Asset +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=54226 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) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59369,54226,0,11,53269,'MFX_SubClasa',TO_DATE('2010-06-17 15:32:38','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Subclass',TO_DATE('2010-06-17 15:32:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59369 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) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD MFX_SubClasa NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53328,53269,53116,NULL,TO_DATE('2010-06-17 15:32:39','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Class','N',10,0,TO_DATE('2010-06-17 15:32:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53328 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:32:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59365,59228,0,53328,TO_DATE('2010-06-17 15:32:40','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Life Periods 2004 (min)',0,0,TO_DATE('2010-06-17 15:32:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59228 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) +; + +-- Jun 17, 2010 3:32:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59360,59229,0,53328,TO_DATE('2010-06-17 15:32:44','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','N','N','N','N','N','Search Key',0,0,TO_DATE('2010-06-17 15:32:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59229 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) +; + +-- Jun 17, 2010 3:32:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59364,59230,0,53328,TO_DATE('2010-06-17 15:32:45','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','N','N','N','N','N','Value 2004',0,0,TO_DATE('2010-06-17 15:32:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59230 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) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59353,59231,0,53328,TO_DATE('2010-06-17 15:32:48','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:32:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59231 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) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59354,59232,0,53328,TO_DATE('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_DATE('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59232 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) +; + +-- Jun 17, 2010 3:32:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59361,59233,0,53328,TO_DATE('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',2000,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',30,0,TO_DATE('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59233 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) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59251,59234,0,53328,TO_DATE('2010-06-17 15:32:52','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',2000,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_DATE('2010-06-17 15:32:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59234 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) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59359,59235,0,53328,TO_DATE('2010-06-17 15:32:56','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',50,0,TO_DATE('2010-06-17 15:32:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59235 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) +; + +-- Jun 17, 2010 3:32:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59368,59236,0,53328,TO_DATE('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Class',60,0,TO_DATE('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59236 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) +; + +-- Jun 17, 2010 3:32:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59366,59237,0,53328,TO_DATE('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Group',70,0,TO_DATE('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59237 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) +; + +-- Jun 17, 2010 3:32:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59369,59238,0,53328,TO_DATE('2010-06-17 15:32:58','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Subclass',80,0,TO_DATE('2010-06-17 15:32:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59238 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) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59367,59239,0,53328,TO_DATE('2010-06-17 15:32:59','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Subgroup',90,0,TO_DATE('2010-06-17 15:32:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59239 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) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59363,59240,0,53328,TO_DATE('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (max)',100,0,TO_DATE('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59240 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) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59362,59241,0,53328,TO_DATE('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',110,0,TO_DATE('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59241 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) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59252,59242,0,53328,TO_DATE('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset class',0,0,TO_DATE('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59242 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) +; + +-- Jun 17, 2010 3:33:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53117,TO_DATE('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Funding Mode','N',TO_DATE('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:33:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53117 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:33:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53273,53117,'7',TO_DATE('2010-06-17 15:33:06','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','Y','Y','N','N','N','Asset Funding Mode','L','A_FundingMode',TO_DATE('2010-06-17 15:33:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53273 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:33:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53385,TO_DATE('2010-06-17 15:33:10','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_FundingMode',1,'Y','N','Y','Y','A_FundingMode','N',1000000,TO_DATE('2010-06-17 15:33:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59370,54189,0,13,53273,'A_FundingMode_ID',TO_DATE('2010-06-17 15:33:11','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Funding Mode',TO_DATE('2010-06-17 15:33:11','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59370 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) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_FundingMode (A_FundingMode_ID NUMBER(10) NOT NULL, CONSTRAINT A_FundingMode_Key PRIMARY KEY (A_FundingMode_ID)) +; + +-- Jun 17, 2010 3:33:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59371,102,0,19,53273,129,'AD_Client_ID',TO_DATE('2010-06-17 15:33:12','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:33:12','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59371 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) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59372,113,0,19,53273,104,'AD_Org_ID',TO_DATE('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59372 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) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59373,245,0,16,53273,'Created',TO_DATE('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59373 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) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59374,246,0,18,110,53273,'CreatedBy',TO_DATE('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59374 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) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59375,348,0,20,53273,'IsActive',TO_DATE('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59375 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) +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59376,607,0,16,53273,'Updated',TO_DATE('2010-06-17 15:33:19','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-17 15:33:19','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59376 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) +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59377,608,0,18,110,53273,'UpdatedBy',TO_DATE('2010-06-17 15:33:20','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-17 15:33:20','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59377 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) +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +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,59378,620,0,10,53273,'Value',TO_DATE('2010-06-17 15:33:21','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',30,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','Y','N','Y','N','N','Y','N','Y','Search Key',1,TO_DATE('2010-06-17 15:33:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59378 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) +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD Value NVARCHAR2(30) NOT NULL +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +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,59379,469,0,10,53273,'Name',TO_DATE('2010-06-17 15:33:23','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',20,TO_DATE('2010-06-17 15:33:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59379 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) +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD Name NVARCHAR2(60) NOT NULL +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59380,275,0,10,53273,'Description',TO_DATE('2010-06-17 15:33:25','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-17 15:33:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59380 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) +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:33:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53329,53273,53117,NULL,TO_DATE('2010-06-17 15:33:27','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Funding Mode','N',10,0,TO_DATE('2010-06-17 15:33:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53329 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:33:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59371,59243,0,53329,TO_DATE('2010-06-17 15:33:28','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:33:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59243 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) +; + +-- Jun 17, 2010 3:33:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59372,59244,0,53329,TO_DATE('2010-06-17 15:33:31','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_DATE('2010-06-17 15:33:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59244 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) +; + +-- Jun 17, 2010 3:33:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59379,59245,0,53329,TO_DATE('2010-06-17 15:33:35','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',30,0,TO_DATE('2010-06-17 15:33:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59245 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) +; + +-- Jun 17, 2010 3:33:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59380,59246,0,53329,TO_DATE('2010-06-17 15:33:38','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_DATE('2010-06-17 15:33:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59246 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) +; + +-- Jun 17, 2010 3:33:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59375,59247,0,53329,TO_DATE('2010-06-17 15:33:39','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',50,0,TO_DATE('2010-06-17 15:33:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59247 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) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59378,59248,0,53329,TO_DATE('2010-06-17 15:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',30,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',60,0,TO_DATE('2010-06-17 15:33:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59248 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) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59370,59249,0,53329,TO_DATE('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Funding Mode',0,0,TO_DATE('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59249 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) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53274,53117,'3',TO_DATE('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','Y','Y','N','N','N','Asset Funding Mode Accounting','L','A_FundingMode_Acct',TO_DATE('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53274 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53386,TO_DATE('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_FundingMode_Acct',1,'Y','N','Y','Y','A_FundingMode_Acct','N',1000000,TO_DATE('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59381,102,0,19,53274,129,'AD_Client_ID',TO_DATE('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59381 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) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_FundingMode_Acct (AD_Client_ID NUMBER(10) NOT NULL) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59382,113,0,19,53274,104,'AD_Org_ID',TO_DATE('2010-06-17 15:33:53','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:33:53','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59382 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) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59383,245,0,16,53274,'Created',TO_DATE('2010-06-17 15:33:54','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-17 15:33:54','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59383 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) +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59384,246,0,18,110,53274,'CreatedBy',TO_DATE('2010-06-17 15:33:59','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-17 15:33:59','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59384 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) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59385,348,0,20,53274,'IsActive',TO_DATE('2010-06-17 15:34:00','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:34:00','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59385 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) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59386,607,0,16,53274,'Updated',TO_DATE('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59386 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) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59387,608,0,18,110,53274,'UpdatedBy',TO_DATE('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59387 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) +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59388,54189,0,30,53274,'A_FundingMode_ID',TO_DATE('2010-06-17 15:34:03','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Asset Funding Mode',TO_DATE('2010-06-17 15:34:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59388 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) +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD A_FundingMode_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59389,181,0,19,53274,'C_AcctSchema_ID',TO_DATE('2010-06-17 15:34:04','YYYY-MM-DD HH24:MI:SS'),0,'Rules for accounting','D',10,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','N','N','N','N','Y','Y','N','Y','N','N','Accounting Schema',TO_DATE('2010-06-17 15:34:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59389 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) +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD C_AcctSchema_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54227,0,'A_FundingMode_Acct',TO_DATE('2010-06-17 15:34:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Funding Mode Account','Funding Mode Acct',TO_DATE('2010-06-17 15:34:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:08 PM CDT +-- Generated Central ID for Fixed Asset +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=54227 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) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59390,54227,0,25,53274,'A_FundingMode_Acct',TO_DATE('2010-06-17 15:34:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Funding Mode Account',TO_DATE('2010-06-17 15:34:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59390 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) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD A_FundingMode_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53330,53274,53117,NULL,TO_DATE('2010-06-17 15:34:10','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','Y','Y','N','N','N','N','Accounting','N',20,1,TO_DATE('2010-06-17 15:34:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53330 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If a asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Asset Group', Processing='N', WindowType='M',Updated=TO_DATE('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=252 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=252, AccessLevel='3', Description='Group of Assets', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Group', ReplicationType='L', TableName='A_Asset_Group',Updated=TO_DATE('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=542 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8114 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8105 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8106 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8107 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8108 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8109 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8111 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8112 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8113 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8115 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8116 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8117 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsOneAssetPerUOM', Description='Create one asset per UOM', EntityType='D', Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', IsActive='Y', Name='One Asset Per UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='One Asset Per UOM',Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2727 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2727 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2727, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOneAssetPerUOM', ColumnSQL=NULL, DefaultValue=NULL, Description='Create one asset per UOM', EntityType='D', FieldLength=1, Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='One Asset Per UOM', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13602 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsCreateAsActive', Description='Create Asset and activate it', EntityType='D', Help='You may want to consider not to automatically make the asset active if you need to get some additional information', IsActive='Y', Name='Create As Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Active',Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2754 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2754 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2754, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsCreateAsActive', ColumnSQL=NULL, DefaultValue='Y', Description='Create Asset and activate it', EntityType='D', FieldLength=1, Help='You may want to consider not to automatically make the asset active if you need to get some additional information', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Create As Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13707 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsTrackIssues', Description='Enable tracking issues for this asset', EntityType='D', Help='Issues created by automatic Error Reporting', IsActive='Y', Name='Track Issues', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Track Issues',Updated=TO_DATE('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2956 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2956 +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2956, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsTrackIssues', ColumnSQL=NULL, DefaultValue='N', Description='Enable tracking issues for this asset', EntityType='D', FieldLength=1, Help='Issues created by automatic Error Reporting', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Track Issues', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14929 +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group MODIFY IsTrackIssues CHAR(1) DEFAULT 'N' +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group SET IsTrackIssues='N' WHERE IsTrackIssues IS NULL +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group MODIFY IsTrackIssues NOT NULL +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59391,54165,0,30,53358,542,'A_Asset_Class_ID',TO_DATE('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_DATE('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59391 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) +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD A_Asset_Class_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDefault', Description='Default value', EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', IsActive='Y', Name='Default', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Default',Updated=TO_DATE('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1103 +; + +-- Jun 17, 2010 3:34:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1103 +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59392,1103,0,20,542,'IsDefault',TO_DATE('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),0,'''N''','Default value','D',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','N','N','N','N','Y','N','N','Y','N','Y','Default',TO_DATE('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59392 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) +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD IsDefault CHAR(1) DEFAULT 'N' CHECK (IsDefault IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:34:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59393,54170,0,19,542,'A_Asset_Type_ID',TO_DATE('2010-06-17 15:34:23','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Type',TO_DATE('2010-06-17 15:34:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59393 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) +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD A_Asset_Type_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=542, AD_Window_ID=252, CommitWarning=NULL, Description='Group of Assets', EntityType='D', HasTree='N', Help='The group of assets determines default accounts. If a asset group is selected in the product category, assets are created when delivering the asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Group', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=452 +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=452 +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8114, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6189 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,14929,59250,0,452,TO_DATE('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),0,'Enable tracking issues for this asset',1,'D','Issues created by automatic Error Reporting','Y','Y','N','N','N','N','N','Track Issues',0,0,TO_DATE('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59250 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) +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8113, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6188 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8110, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6186 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8105, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=30, SortNo=1,Updated=TO_DATE('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6182 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59392,59251,0,452,TO_DATE('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),0,'Default value',1,'D','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','Y','Default',40,0,TO_DATE('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59251 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) +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8106, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6183 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8107, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6184 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8111, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6187 +; + +-- Jun 17, 2010 3:34:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59393,59252,0,452,TO_DATE('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Asset Type',80,0,TO_DATE('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59252 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) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59391,59253,0,452,TO_DATE('2010-06-17 15:34:33','YYYY-MM-DD HH24:MI:SS'),0,30,'@A_Asset_Type_ID@=1','D','Y','Y','Y','N','N','N','N','Asset class',90,0,TO_DATE('2010-06-17 15:34:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59253 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) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8108, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6185 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8115, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciate', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6190 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Create one asset per UOM', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='One Asset Per UOM', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11524 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13707, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Create Asset and activate it', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='You may want to consider not to automatically make the asset active if you need to get some additional information', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Create As Active', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11620 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=252, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the accounting setup for each fixed asset group. Settings include account numbers to be used in depreciation entries as well depreciation calculation methods', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Group Accounting', ReplicationType='L', TableName='A_Asset_Group_Acct',Updated=TO_DATE('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53130 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53130 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_Acct_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Group Accounting', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group Accounting',Updated=TO_DATE('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53587 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53587 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53587, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group Accounting', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55754 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55754 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Group Accounting', Description=NULL, Help=NULL WHERE AD_Column_ID=55754 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55755 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55756 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55757 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55758 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55758 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55758 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Acct NOT NULL +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53473, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55759 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55759 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55759 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_ID NUMBER(10) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_ID NOT NULL +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55760 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55760 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55760 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Manual_Period NVARCHAR2(2) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55761 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55761 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55761 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55762 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55762 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55763 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55764 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55764 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55764 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Split_Percent NUMBER DEFAULT 1 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group_Acct SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55765 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55765 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55766 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55766 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55767 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55767 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55768 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55768 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55768 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Reval_Cal_Method NVARCHAR2(22) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55769 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55769 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55770 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55770 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55771 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55771 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.useLife', ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55772 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55772 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.useLife', ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue='0', Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_DATE('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55773 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55773 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY UseLifeMonths NUMBER(10) DEFAULT 0 +; + +-- Jun 17, 2010 3:34:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55774 +; + +-- Jun 17, 2010 3:34:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55775 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55776 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55776 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55777 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group_Acct SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55778 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53474, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DepreciationType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='DepreciationType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55779 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='DepreciationType', Description=NULL, Help=NULL WHERE AD_Column_ID=55779 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY DepreciationType VARCHAR2(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY DepreciationType NULL +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55780 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55781 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53585, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ConventionType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ConventionType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55782 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ConventionType', Description=NULL, Help=NULL WHERE AD_Column_ID=55782 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY ConventionType VARCHAR2(10) +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY ConventionType NULL +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53532, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Gain', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposal_Gain', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55783 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55783 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Gain', Description=NULL, Help=NULL WHERE AD_Column_ID=55783 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Table_Period', ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55784 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55784 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55784 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55785 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55785 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55785 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53588, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Calc_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Calculation Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55786 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55786 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55786 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Calc_Type VARCHAR2(10) +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Calc_Type NULL +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53569, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Spread Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55787 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55787 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Spread Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55787 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55788 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55788 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55788 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Accumdepreciation_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Accumdepreciation_Acct NOT NULL +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55789 +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55789 +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55789 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Asset_Acct NUMBER(10) +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct MODIFY A_Asset_Acct NOT NULL +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59394,54196,0,25,53130,'A_Disposal_Loss_Acct',TO_DATE('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct',TO_DATE('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59394 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) +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Disposal_Loss_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59395,54197,0,25,53130,'A_Reval_Depexp_Offset_Acct',TO_DATE('2010-06-17 15:34:50','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_DATE('2010-06-17 15:34:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59395 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) +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Reval_Depexp_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59396,54191,0,25,53130,'A_Reval_Cost_Offset_Prior_Acct',TO_DATE('2010-06-17 15:34:51','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_DATE('2010-06-17 15:34:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59396 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) +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Reval_Cost_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59397,54192,0,25,53130,'A_Reval_Cost_Offset_Acct',TO_DATE('2010-06-17 15:34:53','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_DATE('2010-06-17 15:34:53','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59397 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) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Reval_Cost_Offset_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59398,54193,0,25,53130,'A_Reval_Adep_Offset_Prior_Acct',TO_DATE('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_DATE('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59398 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) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Reval_Adep_Offset_Prior_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59399,54194,0,25,53130,'A_Reval_Adep_Offset_Cur_Acct',TO_DATE('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_DATE('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59399 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) +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Reval_Adep_Offset_Cur_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59400,54195,0,25,53130,'A_Disposal_Revenue_Acct',TO_DATE('2010-06-17 15:34:55','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Disposal_Revenue',TO_DATE('2010-06-17 15:34:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59400 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) +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Disposal_Revenue_Acct NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59401,54190,0,25,53130,'A_Disposal_Gain_Acct',TO_DATE('2010-06-17 15:34:57','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Gain Acct',TO_DATE('2010-06-17 15:34:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59401 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) +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Disposal_Gain_Acct NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59402,53544,0,18,53362,53130,'A_Depreciation_Method_ID',TO_DATE('2010-06-17 15:34:59','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method',TO_DATE('2010-06-17 15:34:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59402 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) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_Method_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59403,54200,0,18,53267,53130,'A_Depreciation_Conv_F_ID',TO_DATE('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Convention (fiscal)',TO_DATE('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59403 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) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_Conv_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59404,53546,0,18,53267,53130,'A_Depreciation_Conv_ID',TO_DATE('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Convention Type',TO_DATE('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59404 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) +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_Conv_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59405,54198,0,18,53362,53130,'A_Depreciation_Method_F_ID',TO_DATE('2010-06-17 15:35:03','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method (fiscal)',TO_DATE('2010-06-17 15:35:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59405 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) +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_Method_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59406,54201,0,22,53130,'A_Depreciation_Variable_Perc_F',TO_DATE('2010-06-17 15:35:04','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Variable Percent (fiscal)',TO_DATE('2010-06-17 15:35:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59406 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) +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_Variable_Perc_F NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59407,54199,0,18,53264,53130,'A_Depreciation_F_ID',TO_DATE('2010-06-17 15:35:06','YYYY-MM-DD HH24:MI:SS'),0,NULL,'U',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation (fiscal)',TO_DATE('2010-06-17 15:35:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59407 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) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD A_Depreciation_F_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59408,54178,0,11,53130,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears_F',TO_DATE('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Years (fiscal)',TO_DATE('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59408 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) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD UseLifeYears_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59409,54179,0,11,53130,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths_F',TO_DATE('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_DATE('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59409 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) +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD UseLifeMonths_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55757, AD_Table_ID=53130, AD_Window_ID=252, CommitWarning=NULL, Description='Setup for Group Accounts', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Group Account', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53165 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55754, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group Accounting', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56050 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56050 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55786, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56063 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56063 +; + +-- Jun 17, 2010 3:35:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59401,59254,0,53165,TO_DATE('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','N','Disposal Gain Acct',0,0,TO_DATE('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59254 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) +; + +-- Jun 17, 2010 3:35:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55783,59255,0,53165,TO_DATE('2010-06-17 15:35:10','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Gain',0,0,TO_DATE('2010-06-17 15:35:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59255 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) +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55755, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56052 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55756, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56053 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55757, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56054 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55763, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56055 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55777, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56056 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55759, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y +', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56051 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56051 +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59407,59256,0,53165,TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','U','Y','Y','Y','N','N','N','Y','Depreciation (fiscal)',70,0,TO_DATE('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59256 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) +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55785, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@DepreciationType@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56058 +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56058 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55784, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@DepreciationType@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56059 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56059 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55760, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@DepreciationType@=1000006|@DepreciationType@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56060 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56060 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55761, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56061 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56061 +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59406,59257,0,53165,TO_DATE('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022','D','Y','Y','Y','N','N','N','Y','Variable Percent (fiscal)',120,0,TO_DATE('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59257 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) +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55787, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56062 +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56062 +; + +-- Jun 17, 2010 3:35:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59402,59258,0,53165,TO_DATE('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Depreciation Method',140,0,TO_DATE('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59258 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) +; + +-- Jun 17, 2010 3:35:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59405,59259,0,53165,TO_DATE('2010-06-17 15:35:21','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Method (fiscal)',150,0,TO_DATE('2010-06-17 15:35:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59259 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) +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55782, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56064 +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56064 +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59404,59260,0,53165,TO_DATE('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Convention Type',170,0,TO_DATE('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59260 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) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55779, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56057 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56057 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59403,59261,0,53165,TO_DATE('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Convention (fiscal)',190,0,TO_DATE('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59261 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) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55764, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56065 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56065 +; + +-- Jun 17, 2010 3:35:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55772, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56066 +; + +-- Jun 17, 2010 3:35:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56066 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59408,59262,0,53165,TO_DATE('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Years (fiscal)',220,0,TO_DATE('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59262 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) +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55773, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Months', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56067 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56067 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55771, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56073 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56073 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59409,59263,0,53165,TO_DATE('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Months (fiscal)',250,0,TO_DATE('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59263 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) +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55762, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56074 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56074 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55776, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56068 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56068 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55778, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56069 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55789, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56070 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56070 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55767, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56076 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56076 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55788, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56071 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56071 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55766, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56077 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56077 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55758, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56072 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56072 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55770, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56078 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56078 +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59400,59264,0,53165,TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',350,0,TO_DATE('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59264 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) +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55769, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=360, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56079 +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56079 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59394,59265,0,53165,TO_DATE('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct',370,0,TO_DATE('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59265 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) +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55765, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=380, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56080 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56080 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55768, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=390, SortNo=0,Updated=TO_DATE('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56075 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56075 +; + +-- Jun 17, 2010 3:35:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59397,59266,0,53165,TO_DATE('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',400,0,TO_DATE('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59266 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) +; + +-- Jun 17, 2010 3:35:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59396,59267,0,53165,TO_DATE('2010-06-17 15:35:34','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',410,0,TO_DATE('2010-06-17 15:35:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59267 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) +; + +-- Jun 17, 2010 3:35:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59399,59268,0,53165,TO_DATE('2010-06-17 15:35:35','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',420,0,TO_DATE('2010-06-17 15:35:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59268 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) +; + +-- Jun 17, 2010 3:35:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59398,59269,0,53165,TO_DATE('2010-06-17 15:35:37','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',430,0,TO_DATE('2010-06-17 15:35:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59269 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) +; + +-- Jun 17, 2010 3:35:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59395,59270,0,53165,TO_DATE('2010-06-17 15:35:38','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',440,0,TO_DATE('2010-06-17 15:35:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59270 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) +; + +-- Jun 17, 2010 3:35:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53118,TO_DATE('2010-06-17 15:35:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Revaluation Asset','N',TO_DATE('2010-06-17 15:35:44','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:35:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53118 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:35:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53275,53118,'7',TO_DATE('2010-06-17 15:35:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','Y','N','N','N','A_Asset_Reval_ID','L','A_Asset_Reval',TO_DATE('2010-06-17 15:35:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53275 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:35:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53387,TO_DATE('2010-06-17 15:35:49','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Reval',1,'Y','N','Y','Y','A_Asset_Reval','N',1000000,TO_DATE('2010-06-17 15:35:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54228,0,'A_Asset_Reval_ID',TO_DATE('2010-06-17 15:35:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Reval_ID','A_Asset_Reval_ID',TO_DATE('2010-06-17 15:35:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54228 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) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59410,54228,0,13,53275,'A_Asset_Reval_ID',TO_DATE('2010-06-17 15:35:54','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','Y','Y','N','N','Y','N','N','A_Asset_Reval_ID',1,TO_DATE('2010-06-17 15:35:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59410 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) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Reval (A_Asset_Reval_ID NUMBER(10) NOT NULL, CONSTRAINT A_Asset_Reval_Key PRIMARY KEY (A_Asset_Reval_ID)) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59411,102,0,19,53275,'AD_Client_ID',TO_DATE('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59411 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) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59412,113,0,19,53275,'AD_Org_ID',TO_DATE('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59412 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) +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59413,1884,0,30,53275,'org.compiere.FA.CalloutA_Asset_Reval.asset','A_Asset_ID',TO_DATE('2010-06-17 15:35:57','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers','D',80,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','N','N','Y','N','N','Y','N','N','Asset',TO_DATE('2010-06-17 15:35:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59413 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) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD A_Asset_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59414,245,0,16,53275,'Created',TO_DATE('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','Y','Created',TO_DATE('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59414 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) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59415,246,0,18,110,53275,'CreatedBy',TO_DATE('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','Y','Created By',TO_DATE('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59415 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) +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59416,263,0,15,53275,'org.compiere.model.CalloutGLJournal.period','DateAcct',TO_DATE('2010-06-17 15:36:02','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','Y','N','N','Y','N','Y','Account Date',TO_DATE('2010-06-17 15:36:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59416 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) +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD DateAcct DATE NOT NULL +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59417,265,0,15,53275,'org.compiere.FA.CalloutA_Asset_Reval.dateDoc','DateDoc',TO_DATE('2010-06-17 15:36:03','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','N','N','N','N','N','Y','N','Y','Document Date',TO_DATE('2010-06-17 15:36:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59417 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) +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD DateDoc DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59418,289,0,17,131,53275,'DocStatus',TO_DATE('2010-06-17 15:36:05','YYYY-MM-DD HH24:MI:SS'),0,'DR','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_DATE('2010-06-17 15:36:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59418 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) +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD DocStatus NVARCHAR2(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59419,290,0,10,53275,'DocumentNo',TO_DATE('2010-06-17 15:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Document No',TO_DATE('2010-06-17 15:36:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59419 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) +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD DocumentNo NVARCHAR2(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59420,348,0,20,53275,'IsActive',TO_DATE('2010-06-17 15:36:10','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:36:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59420 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) +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59421,1308,0,28,234,53275,'Posted',TO_DATE('2010-06-17 15:36:11','YYYY-MM-DD HH24:MI:SS'),0,'Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','Y','N','Y','Posted',TO_DATE('2010-06-17 15:36:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59421 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) +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD Posted CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59422,514,0,17,125,53275,'PostingType',TO_DATE('2010-06-17 15:36:15','YYYY-MM-DD HH24:MI:SS'),0,'A','The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','Y','N','Y','PostingType',TO_DATE('2010-06-17 15:36:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59422 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) +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD PostingType CHAR(1) DEFAULT 'A' NOT NULL +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59423,1047,0,20,53275,'Processed',TO_DATE('2010-06-17 15:36:16','YYYY-MM-DD HH24:MI:SS'),0,'N','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_DATE('2010-06-17 15:36:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59423 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) +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59424,524,0,20,53275,'Processing',TO_DATE('2010-06-17 15:36:20','YYYY-MM-DD HH24:MI:SS'),0,'N','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_DATE('2010-06-17 15:36:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59424 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) +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD Processing CHAR(1) DEFAULT 'N' CHECK (Processing IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59425,607,0,16,53275,'Updated',TO_DATE('2010-06-17 15:36:31','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','Y','Updated',TO_DATE('2010-06-17 15:36:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59425 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) +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59426,608,0,18,110,53275,'UpdatedBy',TO_DATE('2010-06-17 15:36:34','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','Y','Updated By',TO_DATE('2010-06-17 15:36:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59426 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) +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59427,53489,0,12,53275,'A_Asset_Cost',TO_DATE('2010-06-17 15:36:35','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_DATE('2010-06-17 15:36:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59427 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) +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD A_Asset_Cost NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59428,53488,0,12,53275,'A_Accumulated_Depr',TO_DATE('2010-06-17 15:36:36','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Accumulated_Depr',TO_DATE('2010-06-17 15:36:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59428 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) +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD A_Accumulated_Depr NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:36:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54229,0,'A_Asset_Cost_Change',TO_DATE('2010-06-17 15:36:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Cost_Change','A_Asset_Cost_Change',TO_DATE('2010-06-17 15:36:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:42 PM CDT +-- Generated Central ID for Fixed Asset +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=54229 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) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59429,54229,0,12,53275,'A_Asset_Cost_Change',TO_DATE('2010-06-17 15:36:42','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Asset_Cost_Change',TO_DATE('2010-06-17 15:36:42','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59429 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) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD A_Asset_Cost_Change NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:36:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54230,0,'A_Change_Acumulated_Depr',TO_DATE('2010-06-17 15:36:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Change_Acumulated_Depr','A_Change_Acumulated_Depr',TO_DATE('2010-06-17 15:36:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:45 PM CDT +-- Generated Central ID for Fixed Asset +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=54230 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) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59430,54230,0,12,53275,'A_Change_Acumulated_Depr',TO_DATE('2010-06-17 15:36:45','YYYY-MM-DD HH24:MI:SS'),0,'0','D',14,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Change_Acumulated_Depr',TO_DATE('2010-06-17 15:36:45','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59430 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) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD A_Change_Acumulated_Depr NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:36:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,Limit,Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53275,50023,'1','teo_sarca',0,TO_DATE('2010-06-17 15:36:47','YYYY-MM-DD HH24:MI:SS'),0,'10000003',0,'D','D','Y','N','N','N',0,'Process_Asset_Reval',0,'R',TO_DATE('2010-06-17 15:36:47','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Reval',0,0,'P',0) +; + +-- Jun 17, 2010 3:36:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50023 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:36:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50112,50023,'D',0,TO_DATE('2010-06-17 15:36:50','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_DATE('2010-06-17 15:36:50','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50112 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50113,50023,'D',0,TO_DATE('2010-06-17 15:36:51','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_DATE('2010-06-17 15:36:51','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50113 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50114,50023,'D',0,TO_DATE('2010-06-17 15:36:52','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_DATE('2010-06-17 15:36:52','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50114 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50113,50085,50114,TO_DATE('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50115,50023,'Z',0,TO_DATE('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_DATE('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50115 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50114,50086,50115,TO_DATE('2010-06-17 15:36:58','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_DATE('2010-06-17 15:36:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50112,50087,50115,TO_DATE('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50115, IsValid='Y',Updated=TO_DATE('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50023 +; + +-- Jun 17, 2010 3:37:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53213,50023,'1',TO_DATE('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','Asset Reval Process','Y',0,0,TO_DATE('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Reval_Process',NULL) +; + +-- Jun 17, 2010 3:37:02 PM CDT +-- Generated Central ID for Fixed Asset +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=53213 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) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59431,287,0,53213,28,135,53275,'DocAction',TO_DATE('2010-06-17 15:37:02','YYYY-MM-DD HH24:MI:SS'),0,'CO','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-17 15:37:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59431 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) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:37:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53331,53275,53118,NULL,TO_DATE('2010-06-17 15:37:04','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','Y','N','N','Revaluation Asset','N',10,0,TO_DATE('2010-06-17 15:37:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53331 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:37:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59411,59271,0,53331,TO_DATE('2010-06-17 15:37:05','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:37:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59271 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) +; + +-- Jun 17, 2010 3:37:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59412,59272,0,53331,TO_DATE('2010-06-17 15:37:10','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_DATE('2010-06-17 15:37:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59272 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) +; + +-- Jun 17, 2010 3:37:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59419,59273,0,53331,TO_DATE('2010-06-17 15:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_DATE('2010-06-17 15:37:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59273 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) +; + +-- Jun 17, 2010 3:37:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59417,59274,0,53331,TO_DATE('2010-06-17 15:37:17','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',40,0,TO_DATE('2010-06-17 15:37:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59274 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) +; + +-- Jun 17, 2010 3:37:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59416,59275,0,53331,TO_DATE('2010-06-17 15:37:21','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',50,0,TO_DATE('2010-06-17 15:37:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59275 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) +; + +-- Jun 17, 2010 3:37:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59413,59276,0,53331,TO_DATE('2010-06-17 15:37:27','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',80,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',60,0,TO_DATE('2010-06-17 15:37:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59276 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) +; + +-- Jun 17, 2010 3:37:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59422,59277,0,53331,TO_DATE('2010-06-17 15:37:32','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',70,0,TO_DATE('2010-06-17 15:37:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59277 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) +; + +-- Jun 17, 2010 3:37:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59420,59278,0,53331,TO_DATE('2010-06-17 15:37:33','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',80,0,TO_DATE('2010-06-17 15:37:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59278 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) +; + +-- Jun 17, 2010 3:37:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59429,116,59279,0,53331,TO_DATE('2010-06-17 15:37:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Asset_Cost_Change',90,0,TO_DATE('2010-06-17 15:37:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59279 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) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59427,59280,0,53331,TO_DATE('2010-06-17 15:37:39','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Asset_Cost',100,0,TO_DATE('2010-06-17 15:37:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59280 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) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59430,59281,0,53331,TO_DATE('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0,14,'D','Y','Y','Y','N','N','N','N','A_Change_Acumulated_Depr',110,0,TO_DATE('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59281 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) +; + +-- Jun 17, 2010 3:37:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59428,59282,0,53331,TO_DATE('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Accumulated_Depr',120,0,TO_DATE('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59282 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) +; + +-- Jun 17, 2010 3:37:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59418,101,59283,0,53331,TO_DATE('2010-06-17 15:37:42','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',130,0,TO_DATE('2010-06-17 15:37:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59283 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) +; + +-- Jun 17, 2010 3:37:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59424,59284,0,53331,TO_DATE('2010-06-17 15:37:43','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Process Now',140,0,TO_DATE('2010-06-17 15:37:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59284 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) +; + +-- Jun 17, 2010 3:37:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59423,59285,0,53331,TO_DATE('2010-06-17 15:37:44','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',150,0,TO_DATE('2010-06-17 15:37:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59285 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) +; + +-- Jun 17, 2010 3:37:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59431,59286,0,53331,TO_DATE('2010-06-17 15:37:56','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',160,0,TO_DATE('2010-06-17 15:37:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59286 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) +; + +-- Jun 17, 2010 3:37:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59421,59287,0,53331,TO_DATE('2010-06-17 15:37:58','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',170,0,TO_DATE('2010-06-17 15:37:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59287 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) +; + +-- Jun 17, 2010 3:38:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59410,59288,0,53331,TO_DATE('2010-06-17 15:37:59','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Reval_ID',0,0,TO_DATE('2010-06-17 15:37:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59288 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) +; + +-- Jun 17, 2010 3:38:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53119,TO_DATE('2010-06-17 15:38:00','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Type','N',TO_DATE('2010-06-17 15:38:00','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:38:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53119 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:38:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53276,53119,'7',TO_DATE('2010-06-17 15:38:04','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','Asset Type','L','A_Asset_Type',TO_DATE('2010-06-17 15:38:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53276 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:38:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53388,TO_DATE('2010-06-17 15:38:14','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Type',1,'Y','N','Y','Y','A_Asset_Type','N',1000000,TO_DATE('2010-06-17 15:38:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59432,54170,0,13,53276,'A_Asset_Type_ID',TO_DATE('2010-06-17 15:38:21','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Type',TO_DATE('2010-06-17 15:38:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59432 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) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Type (A_Asset_Type_ID NUMBER(10) NOT NULL, CONSTRAINT A_Asset_Type_Key PRIMARY KEY (A_Asset_Type_ID)) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +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,59433,469,0,10,53276,'Name',TO_DATE('2010-06-17 15:38:23','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',120,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',1,TO_DATE('2010-06-17 15:38:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59433 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) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD Name NVARCHAR2(120) NOT NULL +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59434,620,0,10,53276,'Value',TO_DATE('2010-06-17 15:38:24','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','Y','Search Key',TO_DATE('2010-06-17 15:38:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59434 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) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD Value NVARCHAR2(40) NOT NULL +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59435,102,0,19,53276,'AD_Client_ID',TO_DATE('2010-06-17 15:38:25','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-17 15:38:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59435 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) +; + +-- Jun 17, 2010 3:38:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59436,113,0,19,53276,'AD_Org_ID',TO_DATE('2010-06-17 15:38:26','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-17 15:38:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59436 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) +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59437,348,0,20,53276,'IsActive',TO_DATE('2010-06-17 15:38:27','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-17 15:38:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59437 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) +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59438,245,0,16,53276,'Created',TO_DATE('2010-06-17 15:38:29','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-17 15:38:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59438 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) +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD Created DATE NOT NULL +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59439,246,0,18,110,53276,'CreatedBy',TO_DATE('2010-06-17 15:38:30','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-17 15:38:30','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59439 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) +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59440,607,0,16,53276,'Updated',TO_DATE('2010-06-17 15:38:33','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-17 15:38:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59440 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) +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD Updated DATE NOT NULL +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59441,608,0,18,110,53276,'UpdatedBy',TO_DATE('2010-06-17 15:38:34','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-17 15:38:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59441 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) +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59442,275,0,10,53276,'Description',TO_DATE('2010-06-17 15:38:38','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-17 15:38:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59442 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) +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:38:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53365,TO_DATE('2010-06-17 15:38:39','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Yes-No-Unknown',TO_DATE('2010-06-17 15:38:39','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:38:40 PM CDT +-- Generated Central ID for Fixed Asset +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=53365 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:38:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53610,53365,TO_DATE('2010-06-17 15:38:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','No',TO_DATE('2010-06-17 15:38:40','YYYY-MM-DD HH24:MI:SS'),0,'NX') +; + +-- Jun 17, 2010 3:38:41 PM CDT +-- Generated Central ID for Fixed Asset +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=53610 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) +; + +-- Jun 17, 2010 3:38:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53611,53365,TO_DATE('2010-06-17 15:38:41','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','- / Default No',TO_DATE('2010-06-17 15:38:41','YYYY-MM-DD HH24:MI:SS'),0,'XN') +; + +-- Jun 17, 2010 3:38:44 PM CDT +-- Generated Central ID for Fixed Asset +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=53611 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) +; + +-- Jun 17, 2010 3:38:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53612,53365,TO_DATE('2010-06-17 15:38:44','YYYY-MM-DD HH24:MI:SS'),0,'Don''t know / Doesn''t matter','D','Y','-',TO_DATE('2010-06-17 15:38:44','YYYY-MM-DD HH24:MI:SS'),0,'XX') +; + +-- Jun 17, 2010 3:38:45 PM CDT +-- Generated Central ID for Fixed Asset +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=53612 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) +; + +-- Jun 17, 2010 3:38:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53613,53365,TO_DATE('2010-06-17 15:38:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','- / Default Yes',TO_DATE('2010-06-17 15:38:45','YYYY-MM-DD HH24:MI:SS'),0,'XY') +; + +-- Jun 17, 2010 3:38:49 PM CDT +-- Generated Central ID for Fixed Asset +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=53613 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) +; + +-- Jun 17, 2010 3:38:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53614,53365,TO_DATE('2010-06-17 15:38:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Yes',TO_DATE('2010-06-17 15:38:50','YYYY-MM-DD HH24:MI:SS'),0,'YX') +; + +-- Jun 17, 2010 3:38:51 PM CDT +-- Generated Central ID for Fixed Asset +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=53614 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) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59443,1941,0,17,53365,53276,'IsOwned',TO_DATE('2010-06-17 15:38:51','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','The asset is owned by the organization','D',2,'The asset may not be in possession, but the asset is legally owned by the organization','Y','N','N','N','N','Y','N','N','Y','N','Y','Owned',TO_DATE('2010-06-17 15:38:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59443 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) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD IsOwned NVARCHAR2(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59444,1940,0,17,53365,53276,'IsInPosession',TO_DATE('2010-06-17 15:38:52','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','The asset is in the possession of the organization','D',2,'Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','N','N','N','N','Y','N','N','Y','N','Y','In Possession',TO_DATE('2010-06-17 15:38:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59444 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) +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD IsInPosession NVARCHAR2(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54231,0,'IsDepreciable',TO_DATE('2010-06-17 15:39:03','YYYY-MM-DD HH24:MI:SS'),0,'This asset CAN be depreciated','D','Y','Is Depreciable','Is Depreciable',TO_DATE('2010-06-17 15:39:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:06 PM CDT +-- Generated Central ID for Fixed Asset +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=54231 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) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59445,54231,0,17,53365,53276,'IsDepreciable',TO_DATE('2010-06-17 15:39:06','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','This asset CAN be depreciated','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Is Depreciable',TO_DATE('2010-06-17 15:39:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59445 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) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD IsDepreciable NVARCHAR2(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53332,53276,53119,NULL,TO_DATE('2010-06-17 15:39:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset Type','D','N','Y','N','N','Y','N','N','N','N','Type','N',10,0,TO_DATE('2010-06-17 15:39:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53332 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59435,59289,0,53332,TO_DATE('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_DATE('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59289 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) +; + +-- Jun 17, 2010 3:39:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59436,59290,0,53332,TO_DATE('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_DATE('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59290 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) +; + +-- Jun 17, 2010 3:39:11 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59434,59291,0,53332,TO_DATE('2010-06-17 15:39:10','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',30,0,TO_DATE('2010-06-17 15:39:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59291 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) +; + +-- Jun 17, 2010 3:39:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59433,59292,0,53332,TO_DATE('2010-06-17 15:39:11','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',40,0,TO_DATE('2010-06-17 15:39:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59292 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) +; + +-- Jun 17, 2010 3:39:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59442,59293,0,53332,TO_DATE('2010-06-17 15:39:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_DATE('2010-06-17 15:39:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59293 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) +; + +-- Jun 17, 2010 3:39:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59437,59294,0,53332,TO_DATE('2010-06-17 15:39:13','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',60,0,TO_DATE('2010-06-17 15:39:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59294 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) +; + +-- Jun 17, 2010 3:39:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59444,59295,0,53332,TO_DATE('2010-06-17 15:39:17','YYYY-MM-DD HH24:MI:SS'),0,'The asset is in the possession of the organization',2,'D','Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','Y','Y','N','N','N','N','In Possession',70,0,TO_DATE('2010-06-17 15:39:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59295 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) +; + +-- Jun 17, 2010 3:39:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59445,59296,0,53332,TO_DATE('2010-06-17 15:39:21','YYYY-MM-DD HH24:MI:SS'),0,'This asset CAN be depreciated',2,'D','Y','Y','Y','N','N','N','N','Is Depreciable',80,0,TO_DATE('2010-06-17 15:39:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59296 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) +; + +-- Jun 17, 2010 3:39:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59443,59297,0,53332,TO_DATE('2010-06-17 15:39:25','YYYY-MM-DD HH24:MI:SS'),0,'The asset is owned by the organization',2,'D','The asset may not be in possession, but the asset is legally owned by the organization','Y','Y','Y','N','N','N','N','Owned',90,0,TO_DATE('2010-06-17 15:39:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59297 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) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59432,59298,0,53332,TO_DATE('2010-06-17 15:39:26','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Type',0,0,TO_DATE('2010-06-17 15:39:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59298 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) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Build Depreciation Expense File', EntityType='D', Help='The Deprecaiton Build Workfile window allow you to build current depreciation expense for various posting types including actual budget and tax as defined by the user', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Build Depreciation Workfile', Processing='N', WindowType='T',Updated=TO_DATE('2010-06-17 15:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53052 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53052, AccessLevel='7', Description=NULL, EntityType='D', Help='This table contains the necessary to create and process depreciation projections prior to posting to the GL', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Build Depreciation', ReplicationType='L', TableName='A_Depreciation_Build',Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53129 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53129 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Build_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Build Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Build Depreciation',Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53568 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53568 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53568, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Build_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Build Depreciation', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55693 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55693 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Build Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55693 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55694 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_End_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='To Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='To Asset',Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53505 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53505 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53505, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_End_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='To Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55695 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55695 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='To Asset', Description=NULL, Help=NULL WHERE AD_Column_ID=55695 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=275, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55696 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55697 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55698 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='PeriodNo', Description='Unique Period Number', EntityType='D', Help='The Period No identifies a specific period for this year. Each period is defined by a start and end date. Date ranges for a calendar and year cannot overlap.', IsActive='Y', Name='Period No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period No',Updated=TO_DATE('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=500 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=500 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=500, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PeriodNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Unique Period Number', EntityType='D', FieldLength=22, Help='The Period No identifies a specific period for this year. Each period is defined by a start and end date. Date ranges for a calendar and year cannot overlap.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55699 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55700 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Build MODIFY Processed CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55701 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55702 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55703 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55703 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Build MODIFY Processing CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55704 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Build MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55705 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55706 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55707 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Start_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='From Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='From Asset',Updated=TO_DATE('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53506 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53506 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53506, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Start_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='From Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55708 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55708 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='From Asset', Description=NULL, Help=NULL WHERE AD_Column_ID=55708 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55709 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53129, AD_Window_ID=53052, CommitWarning=NULL, Description=NULL, EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Build Workfile', OrderByClause=NULL, Processing='N', SeqNo=0, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53152 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53152 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55693, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Build Depreciation', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55790 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55790 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55703, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55792 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55792 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55705, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55793 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55694, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55794 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55709, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55795 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55708, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='From Asset', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55796 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55796 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55695, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='To Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55797 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55797 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55704, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55798 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55696, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55799 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55706, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55800 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55698, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55791 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55700, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55801 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Create Depreciation Entry', EntityType='D', Help='The Depreciation Entry window allows you to create and post the depreciation expense entry to the GL', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Post Depreciation Entry', Processing='N', WindowType='T',Updated=TO_DATE('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53053 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53053, AccessLevel='7', Description=NULL, EntityType='D', Help='This table hold the necessary information to process the depreciation entry', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Depreciation Entry', ReplicationType='L', TableName='A_Depreciation_Entry',Updated=TO_DATE('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53121 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53516, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Entry_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Depreciation Entry', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55545 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Entry', Description=NULL, Help=NULL WHERE AD_Column_ID=55545 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='GL Category Type', ValidationType='L',Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=207 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=207 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Document', Value='D',Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=376 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=376 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Import', Value='I',Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=375 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=375 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Manual', Value='M',Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=374 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=374 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='System generated', Value='S',Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=814 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=814 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=207, AD_Table_ID=53121, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55546 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY AD_Client_ID NUMBER(10) +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53484, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53257, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Entry_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Entry Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55547 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55547 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY A_Entry_Type NVARCHAR2(3) DEFAULT NULL +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY A_Entry_Type NULL +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=193, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Currency_ID', ColumnSQL=NULL, DefaultValue='@$C_CURRENCY_ID@', Description='The Currency for this record', EntityType='D', FieldLength=22, Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Currency', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55548 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53366,TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','C_Period - all, acct, sysdate, desc',TO_DATE('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +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=53366 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53366, 145, 482, 837, 'D', 'N', 'C_Period.StartDate DESC', 'C_Period.C_Year_ID IN (SELECT y.C_Year_ID FROM AD_ClientInfo ci, C_Year y WHERE ci.AD_Client_ID=@#AD_Client_ID@ AND ci.C_Calendar_ID=y.C_Calendar_ID) AND C_Period.StartDate <= SYSDATE') +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53366, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55549 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55550 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=290, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DocumentNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Document sequence number of the document', EntityType='D', FieldLength=60, Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55552 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55553 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55554 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY UpdatedBy NUMBER(10) +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55555 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY Updated DATE +; + +-- Jun 17, 2010 3:39:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,Limit,Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53121,50024,'1','teo_sarca',0,TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),0,'10000004',0,'D','D','Y','N','N','N',0,'Process Asset Depreciation Entry',0,'R',TO_DATE('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),0,'Process_A_Depreciation_Entry',0,0,'P',0) +; + +-- Jun 17, 2010 3:39:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50024 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:39:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50116,50024,'Z',0,TO_DATE('2010-06-17 15:39:41','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_DATE('2010-06-17 15:39:41','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50116 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50117,50024,'D',0,TO_DATE('2010-06-17 15:39:43','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_DATE('2010-06-17 15:39:43','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50117 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50118,50024,'D',0,TO_DATE('2010-06-17 15:39:44','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_DATE('2010-06-17 15:39:44','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50118 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50119,50024,'D',0,TO_DATE('2010-06-17 15:39:45','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_DATE('2010-06-17 15:39:45','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50119 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50118,50088,50119,TO_DATE('2010-06-17 15:39:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:39:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50116, IsValid='Y',Updated=TO_DATE('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50024 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53214,50024,'1',TO_DATE('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation Entry','Y',0,0,TO_DATE('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Entry_Process',NULL) +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +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=53214 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) +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=53214, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55556 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55556 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55557 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY Processed CHAR(1) +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55558 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Entry SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GL_Category_ID', Description='General Ledger Category', EntityType='D', Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', IsActive='Y', Name='GL Category', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='GL Category',Updated=TO_DATE('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=309 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=309 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code=NULL, Description='Manual Journal GL Category', EntityType='D', IsActive='Y', Name='GL_Category for Manual Journals', Type='S',Updated=TO_DATE('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=118 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=309, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=118, Callout=NULL, ColumnName='GL_Category_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='General Ledger Category', EntityType='D', FieldLength=22, Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='GL Category', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55559 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=510, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55560 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY Description NVARCHAR2(510) DEFAULT NULL +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY Description NULL +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55561 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55562 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_DocType_ID', Description='Document type or rules', EntityType='D', Help='The Document Type determines document sequence and processing rules', IsActive='Y', Name='Document Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Type',Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=196 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=196 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_DocType.DocBaseType=''GLJ'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)', Description='Document Type Journal', EntityType='D', IsActive='Y', Name='C_DocType Journals', Type='S',Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=102 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=196, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=102, Callout=NULL, ColumnName='C_DocType_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Document type or rules', EntityType='D', FieldLength=22, Help='The Document Type determines document sequence and processing rules', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55563 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=106, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55564 +; + +-- Jun 17, 2010 3:39:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55565 +; + +-- Jun 17, 2010 3:39:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry MODIFY AD_Org_ID NUMBER(10) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59446,289,0,17,131,53121,'DocStatus',TO_DATE('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_DATE('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59446 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) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD DocStatus NVARCHAR2(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59447,287,0,53214,28,135,53121,'DocAction',TO_DATE('2010-06-17 15:39:57','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','U',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','Y','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-17 15:39:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59447 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) +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:40:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59448,351,0,20,53121,'IsApproved',TO_DATE('2010-06-17 15:39:58','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_DATE('2010-06-17 15:39:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:40:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59448 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) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59449,1308,0,28,234,53121,'Posted',TO_DATE('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),0,'''N''','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','N','N','N','Y','N','N','Y','N','Y','Posted',TO_DATE('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59449 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) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53121, AD_Window_ID=53053, CommitWarning=NULL, Description=NULL, EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Create Depreciation Entry', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53153 +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53153 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55545, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Entry', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55802 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55802 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55553, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55804 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55557, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55805 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55548, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The Currency for this record', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Currency', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55817 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55556, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Process Depreciation Entry', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55818 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55818 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55546, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55806 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55565, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55807 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55552, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55803 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55560, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=256, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55808 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55547, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic='1=0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entry Type', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55809 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55809 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55558, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55810 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55559, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='General Ledger Category', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='GL Category', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55811 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55564, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55812 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55563, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Document type or rules', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Document Type determines document sequence and processing rules', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Document Type', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55813 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55551, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55814 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55561, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55815 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55549, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55816 +; + +-- Jun 17, 2010 3:40:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59446,59299,0,53153,TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','Y','N','Document Status',130,0,TO_DATE('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59299 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) +; + +-- Jun 17, 2010 3:40:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59447,59300,0,53153,TO_DATE('2010-06-17 15:40:05','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','Y','Document Action',140,0,TO_DATE('2010-06-17 15:40:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59300 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) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59448,59301,0,53153,TO_DATE('2010-06-17 15:40:06','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','Y','N','N','Y','N','Approved',150,0,TO_DATE('2010-06-17 15:40:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59301 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) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59449,59302,0,53153,TO_DATE('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'@Processed@=Y & @#ShowAcct@=Y','D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','N','Posted',160,0,TO_DATE('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59302 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) +; + +-- Jun 17, 2010 3:40:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,59338,0,53333,53115,53053,NULL,TO_DATE('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','Y','N','N','N','Records','N',20,1,TO_DATE('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53333 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:40:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55378,59303,0,53333,TO_DATE('2010-06-17 15:40:09','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Client',0,0,TO_DATE('2010-06-17 15:40:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59303 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) +; + +-- Jun 17, 2010 3:40:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55379,59304,0,53333,TO_DATE('2010-06-17 15:40:10','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','Y','Organization',0,0,TO_DATE('2010-06-17 15:40:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59304 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) +; + +-- Jun 17, 2010 3:40:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55393,59305,0,53333,TO_DATE('2010-06-17 15:40:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Account_Number',0,0,TO_DATE('2010-06-17 15:40:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59305 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) +; + +-- Jun 17, 2010 3:40:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55377,59306,0,53333,TO_DATE('2010-06-17 15:40:14','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','N','N','N','N','N','N','ID',0,0,TO_DATE('2010-06-17 15:40:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59306 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) +; + +-- Jun 17, 2010 3:40:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59324,59307,0,53333,TO_DATE('2010-06-17 15:40:15','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','Y','Process Now',0,0,TO_DATE('2010-06-17 15:40:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59307 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) +; + +-- Jun 17, 2010 3:40:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59327,59308,0,53333,TO_DATE('2010-06-17 15:40:17','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Accumulated_Depr',0,0,TO_DATE('2010-06-17 15:40:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59308 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) +; + +-- Jun 17, 2010 3:40:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59326,59309,0,53333,TO_DATE('2010-06-17 15:40:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Cost',0,0,TO_DATE('2010-06-17 15:40:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59309 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) +; + +-- Jun 17, 2010 3:40:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59337,59310,0,53333,TO_DATE('2010-06-17 15:40:23','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_DATE('2010-06-17 15:40:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59310 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) +; + +-- Jun 17, 2010 3:40:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59334,59311,0,53333,TO_DATE('2010-06-17 15:40:24','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (delta)',0,0,TO_DATE('2010-06-17 15:40:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59311 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) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59328,59312,0,53333,TO_DATE('2010-06-17 15:40:28','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',0,0,TO_DATE('2010-06-17 15:40:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59312 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) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59335,59313,0,53333,TO_DATE('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation - fiscal (delta)',0,0,TO_DATE('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59313 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) +; + +-- Jun 17, 2010 3:40:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59336,59314,0,53333,TO_DATE('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_DATE('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59314 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) +; + +-- Jun 17, 2010 3:40:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59325,59315,0,53333,TO_DATE('2010-06-17 15:40:34','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','N','N','N','N','N','Comment/Help',0,0,TO_DATE('2010-06-17 15:40:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59315 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) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59333,59316,0,53333,TO_DATE('2010-06-17 15:40:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Delta Asset Cost',0,0,TO_DATE('2010-06-17 15:40:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59316 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) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59331,59317,0,53333,TO_DATE('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Remaining Amt',0,0,TO_DATE('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59317 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) +; + +-- Jun 17, 2010 3:40:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59332,59318,0,53333,TO_DATE('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Remaining Amt (fiscal)',0,0,TO_DATE('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59318 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) +; + +-- Jun 17, 2010 3:40:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59329,59319,0,53333,TO_DATE('2010-06-17 15:40:41','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'D','Y','Y','N','N','N','N','N','Usable Life - Months',0,0,TO_DATE('2010-06-17 15:40:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59319 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) +; + +-- Jun 17, 2010 3:40:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59330,59320,0,53333,TO_DATE('2010-06-17 15:40:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Use Life - Months (fiscal)',0,0,TO_DATE('2010-06-17 15:40:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59320 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) +; + +-- Jun 17, 2010 3:40:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59338,59321,0,53333,TO_DATE('2010-06-17 15:40:46','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Depreciation Entry',10,0,TO_DATE('2010-06-17 15:40:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59321 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) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55394,59322,0,53333,TO_DATE('2010-06-17 15:40:47','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',20,1,TO_DATE('2010-06-17 15:40:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59322 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) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55380,59323,0,53333,TO_DATE('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','Y','Entry Type',30,0,TO_DATE('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59323 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) +; + +-- Jun 17, 2010 3:40:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55390,59324,0,53333,TO_DATE('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_DATE('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59324 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) +; + +-- Jun 17, 2010 3:40:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55383,59325,0,53333,TO_DATE('2010-06-17 15:40:50','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',50,0,TO_DATE('2010-06-17 15:40:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59325 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) +; + +-- Jun 17, 2010 3:40:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59323,59326,0,53333,TO_DATE('2010-06-17 15:40:51','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Expense (fiscal)',60,0,TO_DATE('2010-06-17 15:40:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59326 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) +; + +-- Jun 17, 2010 3:40:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59321,59327,0,53333,TO_DATE('2010-06-17 15:40:54','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','N','Account (debit)',70,0,TO_DATE('2010-06-17 15:40:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59327 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) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59322,59328,0,53333,TO_DATE('2010-06-17 15:40:56','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','Y','Account (credit)',80,0,TO_DATE('2010-06-17 15:40:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59328 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) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55392,59329,0,53333,TO_DATE('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period',90,2,TO_DATE('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59329 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) +; + +-- Jun 17, 2010 3:40:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55382,59330,0,53333,TO_DATE('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',100,0,TO_DATE('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59330 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) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55389,59331,0,53333,TO_DATE('2010-06-17 15:40:59','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',110,0,TO_DATE('2010-06-17 15:40:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59331 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) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55384,59332,0,53333,TO_DATE('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'D','The asset is used internally and will be depreciated','Y','Y','Y','N','N','N','Y','Depreciate',120,0,TO_DATE('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59332 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) +; + +-- Jun 17, 2010 3:41:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55388,59333,0,53333,TO_DATE('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',130,0,TO_DATE('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59333 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) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55385,59334,0,53333,TO_DATE('2010-06-17 15:41:05','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',140,0,TO_DATE('2010-06-17 15:41:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59334 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) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53113, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Addition', ReplicationType='L', TableName='A_Asset_Addition',Updated=TO_DATE('2010-06-17 15:41:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53612, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Addition_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Addition', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55952 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Addition', Description=NULL, Help=NULL WHERE AD_Column_ID=55952 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55953 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY AD_Client_ID NUMBER(10) +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='Y', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55954 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55955 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55955 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55955 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_QTY_Current NUMBER DEFAULT 0 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_QTY_Current=0 WHERE A_QTY_Current IS NULL +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_QTY_Current NOT NULL +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1935, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Book Value of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55956 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset value', Description='Book Value of the asset', Help=NULL WHERE AD_Column_ID=55956 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55957 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=510, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55958 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=313, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='GL_JournalBatch_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='General Ledger Journal Batch', EntityType='D', FieldLength=22, Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Journal Batch', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55959 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=439, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Line', ColumnSQL=NULL, DefaultValue=NULL, Description='Unique line for this document', EntityType='D', FieldLength=22, Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Line No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55960 +; + +-- Jun 17, 2010 3:41:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55961 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55962 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='A', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55963 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY PostingType CHAR(1) DEFAULT 'A' +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY PostingType NOT NULL +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=22, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55964 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY M_InOutLine_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55965 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=290, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=53274, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DocumentNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Document sequence number of the document', EntityType='D', FieldLength=30, Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document No', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55966 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55967 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1008, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Invoice_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Invoice Identifier', EntityType='D', FieldLength=22, Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Invoice', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55968 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY C_Invoice_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53640, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53276, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_SourceType', ColumnSQL=NULL, DefaultValue='''INV''', Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Source Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55969 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55969 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Source Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55969 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_SourceType NVARCHAR2(3) DEFAULT 'INV' +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_SourceType='INV' WHERE A_SourceType IS NULL +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_SourceType NOT NULL +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53641, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53277, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_CapvsExp', ColumnSQL=NULL, DefaultValue='''Cap''', Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Capital/Expense', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55970 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55970 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Capital/Expense', Description=NULL, Help=NULL WHERE AD_Column_ID=55970 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_CapvsExp NVARCHAR2(3) DEFAULT 'Cap' +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_CapvsExp='Cap' WHERE A_CapvsExp IS NULL +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY A_CapvsExp NOT NULL +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55971 +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY AD_Org_ID NUMBER(10) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59450,1047,0,20,53137,'Processed',TO_DATE('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),0,'''N''','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_DATE('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59450 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) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59451,289,0,17,131,53137,'DocStatus',TO_DATE('2010-06-17 15:41:16','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_DATE('2010-06-17 15:41:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59451 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) +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DocStatus NVARCHAR2(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59452,287,0,53208,28,135,53137,'DocAction',TO_DATE('2010-06-17 15:41:18','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','N','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-17 15:41:18','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59452 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) +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DocAction CHAR(2) DEFAULT 'CO' +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59453,53646,0,20,53137,'A_CreateAsset',TO_DATE('2010-06-17 15:41:19','YYYY-MM-DD HH24:MI:SS'),0,'''N''','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Create Asset',TO_DATE('2010-06-17 15:41:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59453 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) +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD A_CreateAsset CHAR(1) DEFAULT 'N' CHECK (A_CreateAsset IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59454,351,0,20,53137,'IsApproved',TO_DATE('2010-06-17 15:41:20','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_DATE('2010-06-17 15:41:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59454 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) +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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,AD_Val_Rule_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59455,1689,0,30,53363,53137,52086,'org.compiere.FA.CalloutA_Asset_Addition.matchInv','M_MatchInv_ID',TO_DATE('2010-06-17 15:41:21','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Match Invoice',TO_DATE('2010-06-17 15:41:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59455 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) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD M_MatchInv_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59456,1076,0,19,53137,'C_InvoiceLine_ID',TO_DATE('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line','D',22,'The Invoice Line uniquely identifies a single line of an Invoice.','Y','N','N','N','N','N','N','N','Y','N','N','Invoice Line',TO_DATE('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59456 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) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition MODIFY C_InvoiceLine_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,Updated,UpdatedBy,Version) VALUES (0,59457,454,0,30,162,53137,'M_Product_ID',TO_DATE('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product','@A_SourceType@=''INV''',TO_DATE('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59457 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) +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD M_Product_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59458,2019,0,35,53137,'M_AttributeSetInstance_ID',TO_DATE('2010-06-17 15:41:27','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance','D',10,'The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','N','N','N','N','N','N','N','Y','N','Y','Attribute Set Instance',TO_DATE('2010-06-17 15:41:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59458 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) +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD M_AttributeSetInstance_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,Updated,UpdatedBy,Version) VALUES (0,59459,448,0,31,53137,52087,'M_Locator_ID',TO_DATE('2010-06-17 15:41:55','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','N','N','N','N','N','Y','N','Y','Locator','@A_SourceType@=''INV''',TO_DATE('2010-06-17 15:41:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59459 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) +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD M_Locator_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59460,193,0,19,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','C_Currency_ID',TO_DATE('2010-06-17 15:41:56','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record','D',22,'Indicates the Currency to be used when processing or reporting on this record','Y','N','N','N','N','Y','N','N','Y','N','Y','Currency',TO_DATE('2010-06-17 15:41:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59460 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) +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD C_Currency_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59461,2278,0,19,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','C_ConversionType_ID',TO_DATE('2010-06-17 15:41:57','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type','D',22,'The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','N','N','N','N','Y','N','N','Y','N','Y','Currency Type',TO_DATE('2010-06-17 15:41:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59461 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) +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD C_ConversionType_ID NUMBER(10) NOT NULL +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59462,54202,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','AssetSourceAmt',TO_DATE('2010-06-17 15:41:58','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Source Amount',TO_DATE('2010-06-17 15:41:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59462 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) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD AssetSourceAmt NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59463,54203,0,11,53137,'org.compiere.FA.CalloutA_Asset_Addition.uselife;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DeltaUseLifeYears',TO_DATE('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Use Life Years',TO_DATE('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59463 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) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DeltaUseLifeYears NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59464,54204,0,11,53137,'DeltaUseLifeYears_F',TO_DATE('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,'0','Delta Use Life Years (fiscal)','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Use Life Years (fiscal)',TO_DATE('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59464 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) +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DeltaUseLifeYears_F NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59465,265,0,15,53137,'org.compiere.FA.CalloutA_Asset_Addition.dateDoc;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DateDoc',TO_DATE('2010-06-17 15:42:00','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Document Date',2,TO_DATE('2010-06-17 15:42:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59465 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) +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DateDoc DATE NOT NULL +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59466,54205,0,30,53137,'I_FixedAsset_ID',TO_DATE('2010-06-17 15:42:01','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Imported Fixed Asset',TO_DATE('2010-06-17 15:42:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59466 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) +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD I_FixedAsset_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59467,263,0,15,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DateAcct',TO_DATE('2010-06-17 15:42:02','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','N','N','N','Y','N','Y','Account Date',TO_DATE('2010-06-17 15:42:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59467 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) +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD DateAcct DATE DEFAULT NULL +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59468,253,0,22,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','CurrencyRate',TO_DATE('2010-06-17 15:42:04','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate','D',22,'The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','N','N','N','N','N','N','N','Y','N','Y','Rate',TO_DATE('2010-06-17 15:42:04','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59468 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) +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD CurrencyRate NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59469,53488,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','A_Accumulated_Depr',TO_DATE('2010-06-17 15:42:05','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Accumulated_Depr',TO_DATE('2010-06-17 15:42:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59469 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) +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD A_Accumulated_Depr NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59470,54175,0,12,53137,'A_Accumulated_Depr_F',TO_DATE('2010-06-17 15:42:06','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-17 15:42:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59470 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) +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD A_Accumulated_Depr_F NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59471,54185,0,11,53137,'A_Life_Period_Min','(select min(A_Life_Period_MIN) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Asset_Addition.A_Asset_ID)',TO_DATE('2010-06-17 15:42:07','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (min)',TO_DATE('2010-06-17 15:42:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59471 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) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59472,54184,0,11,53137,'A_Life_Period_Max','(select min(A_Life_Period_Max) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Asset_Addition.A_Asset_ID)',TO_DATE('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (max)',TO_DATE('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59472 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59473,208,0,30,53137,176,'org.compiere.FA.CalloutA_Asset_Addition.project','C_Project_ID',TO_DATE('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','D',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','Y','N','Y','Project',TO_DATE('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59473 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD C_Project_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59474,524,0,20,53137,'Processing',TO_DATE('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,'D',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_DATE('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59474 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD Processing CHAR(1) DEFAULT NULL CHECK (Processing IN ('Y','N')) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59475,54206,0,20,53137,'org.compiere.FA.CalloutA_Asset_Addition.periodOffset','A_Accumulated_Depr_Adjust',TO_DATE('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,'N','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Adjust Accumulated Depreciation',TO_DATE('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59475 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) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD A_Accumulated_Depr_Adjust CHAR(1) DEFAULT 'N' CHECK (A_Accumulated_Depr_Adjust IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59476,54207,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','AssetAmtEntered',TO_DATE('2010-06-17 15:42:11','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Entered Amount',TO_DATE('2010-06-17 15:42:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59476 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) +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD AssetAmtEntered NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59477,1308,0,28,234,53137,'Posted',TO_DATE('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,'N','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','Y','N','N','Y','N','Y','Posted',TO_DATE('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59477 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) +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59478,53537,0,11,53137,'A_Period_Start',TO_DATE('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Period_Start',TO_DATE('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59478 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) +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD A_Period_Start NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59479,968,0,30,53137,'C_Charge_ID',TO_DATE('2010-06-17 15:42:15','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges','D',10,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','N','N','N','N','N','N','N','Y','N','Y','Charge',TO_DATE('2010-06-17 15:42:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59479 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) +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD C_Charge_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55954, AD_Process_ID=NULL, AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Activation/Addition', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Activation/Addition', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53323 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53323 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59096 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59097 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59097 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59098 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59099 +; + +-- Jun 17, 2010 3:42:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59478,59335,0,53323,TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Period_Start',0,0,TO_DATE('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59335 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) +; + +-- Jun 17, 2010 3:42:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59475,59336,0,53323,TO_DATE('2010-06-17 15:42:17','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Adjust Accumulated Depreciation',0,0,TO_DATE('2010-06-17 15:42:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59336 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) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59454,59337,0,53323,TO_DATE('2010-06-17 15:42:18','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','N','N','N','N','N','Approved',0,0,TO_DATE('2010-06-17 15:42:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59337 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) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59461,59338,0,53323,TO_DATE('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type',22,'D','The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','N','N','N','N','N','Currency Type',0,0,TO_DATE('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59338 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) +; + +-- Jun 17, 2010 3:42:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59477,59339,0,53323,TO_DATE('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','N','N','N','N','N','Posted',0,0,TO_DATE('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59339 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) +; + +-- Jun 17, 2010 3:42:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59474,59340,0,53323,TO_DATE('2010-06-17 15:42:20','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_DATE('2010-06-17 15:42:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59340 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) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59468,59341,0,53323,TO_DATE('2010-06-17 15:42:21','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate',22,'D','The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','Y','N','N','N','N','N','Rate',0,0,TO_DATE('2010-06-17 15:42:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59341 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) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59100 +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59101 +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59102 +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59453,59342,0,53323,TO_DATE('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','Y','Create Asset',40,0,TO_DATE('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59342 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) +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=50, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59103 +; + +-- Jun 17, 2010 3:42:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59465,59343,0,53323,TO_DATE('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',60,0,TO_DATE('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59343 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) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59467,59344,0,53323,TO_DATE('2010-06-17 15:42:25','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_DATE('2010-06-17 15:42:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59344 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) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=80, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59104 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=90, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59105 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59105 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=100, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59106 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59106 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=110, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59107 +; + +-- Jun 17, 2010 3:42:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59456,59345,0,53323,TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line',22,'@A_SourceType@=''INV''','D','The Invoice Line uniquely identifies a single line of an Invoice.','Y','Y','Y','N','N','N','Y','Invoice Line',120,0,TO_DATE('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59345 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) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59455,59346,0,53323,TO_DATE('2010-06-17 15:42:30','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice',10,'@A_SourceType@=''INV''','D','Y','Y','Y','N','N','N','N','Match Invoice',130,0,TO_DATE('2010-06-17 15:42:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59346 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) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Shipment/Receipt Line', SeqNo=140, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59108 +; + +-- Jun 17, 2010 3:42:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59473,59347,0,53323,TO_DATE('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'@A_SourceType@=''PRJ'' + +','D','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','Project',150,0,TO_DATE('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59347 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) +; + +-- Jun 17, 2010 3:42:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59479,59348,0,53323,TO_DATE('2010-06-17 15:42:33','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges',10,'@A_SourceType@=''MAN''''','D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','Charge',160,0,TO_DATE('2010-06-17 15:42:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59348 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) +; + +-- Jun 17, 2010 3:42:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59466,59349,0,53323,TO_DATE('2010-06-17 15:42:34','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_SourceType@=''IMP''','D','Y','Y','Y','N','N','N','N','Imported Fixed Asset',170,0,TO_DATE('2010-06-17 15:42:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59349 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) +; + +-- Jun 17, 2010 3:42:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59457,59350,0,53323,TO_DATE('2010-06-17 15:42:35','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',180,0,TO_DATE('2010-06-17 15:42:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59350 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) +; + +-- Jun 17, 2010 3:42:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59458,59351,0,53323,TO_DATE('2010-06-17 15:42:39','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',190,0,TO_DATE('2010-06-17 15:42:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59351 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) +; + +-- Jun 17, 2010 3:42:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59459,59352,0,53323,TO_DATE('2010-06-17 15:42:40','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',200,0,TO_DATE('2010-06-17 15:42:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59352 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) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=210, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59109 +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59462,103,59353,0,53323,TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Source Amount',220,0,TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59353 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) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Asset value', SeqNo=230, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59110 +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59110 +; + +-- Jun 17, 2010 3:42:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59476,59354,0,53323,TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Entered Amount',240,0,TO_DATE('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59354 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) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59460,59355,0,53323,TO_DATE('2010-06-17 15:42:46','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',22,'D','Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','N','N','Y','Currency',250,0,TO_DATE('2010-06-17 15:42:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59355 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) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=260, SortNo=0,Updated=TO_DATE('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59111 +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59111 +; + +-- Jun 17, 2010 3:42:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59469,59356,0,53323,TO_DATE('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',270,0,TO_DATE('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59356 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) +; + +-- Jun 17, 2010 3:42:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59470,59357,0,53323,TO_DATE('2010-06-17 15:42:48','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (fiscal)',280,0,TO_DATE('2010-06-17 15:42:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59357 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) +; + +-- Jun 17, 2010 3:42:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59463,59358,0,53323,TO_DATE('2010-06-17 15:42:49','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Delta Use Life Years',290,0,TO_DATE('2010-06-17 15:42:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59358 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) +; + +-- Jun 17, 2010 3:42:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59464,59359,0,53323,TO_DATE('2010-06-17 15:42:50','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)',22,'D','Y','Y','Y','N','N','N','Y','Delta Use Life Years (fiscal)',300,0,TO_DATE('2010-06-17 15:42:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59359 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) +; + +-- Jun 17, 2010 3:42:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59471,59360,0,53323,TO_DATE('2010-06-17 15:42:51','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',310,0,TO_DATE('2010-06-17 15:42:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59360 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) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59472,59361,0,53323,TO_DATE('2010-06-17 15:42:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Life periods (max)',320,0,TO_DATE('2010-06-17 15:42:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59361 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) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59450,59362,0,53323,TO_DATE('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',330,0,TO_DATE('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59362 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) +; + +-- Jun 17, 2010 3:42:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59451,59363,0,53323,TO_DATE('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',340,0,TO_DATE('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59363 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) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59452,59364,0,53323,TO_DATE('2010-06-17 15:42:54','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','Y','Document Action',350,0,TO_DATE('2010-06-17 15:42:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59364 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) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53114, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Disposed_ID', ReplicationType='L', TableName='A_Asset_Disposed',Updated=TO_DATE('2010-06-17 15:42:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53550, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Disposed_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Disposed_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55638 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55638 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Disposed_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55638 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53127, AD_Val_Rule_ID=129, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55639 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=52088, Callout='org.compiere.FA.CalloutA_Asset_Disposed.asset', ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='Y', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55640 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY A_Asset_ID NUMBER(10) +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53551, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='A_Disposed_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55641 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55641 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55641 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53552, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53269, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposed_Reason', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Reason', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55642 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55642 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Reason', Description=NULL, Help=NULL WHERE AD_Column_ID=55642 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY A_Disposed_Reason NVARCHAR2(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY A_Disposed_Reason NULL +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=233, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55643 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY C_Period_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY C_Period_ID NULL +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55644 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55645 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55646 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55647 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55648 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY Updated DATE +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55649 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55649 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55650 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55651 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55652 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY Created DATE +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53553, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Proceeds', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Proceeds', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55653 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55653 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Proceeds', Description=NULL, Help=NULL WHERE AD_Column_ID=55653 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53554, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53270, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposed_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55654 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55654 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55654 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed MODIFY A_Disposed_Method NVARCHAR2(2) +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53555, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Trade_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Trade_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55655 +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55655 +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Trade_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55655 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=130, AD_Table_ID=53127, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55656 +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59480,287,0,53210,28,135,53127,'DocAction',TO_DATE('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','N','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59480 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) +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD DocAction CHAR(2) DEFAULT 'CO' +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59481,289,0,17,131,53127,'DocStatus',TO_DATE('2010-06-17 15:43:01','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','Y','N','Y','Document Status',TO_DATE('2010-06-17 15:43:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59481 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) +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD DocStatus NVARCHAR2(2) DEFAULT 'DR' +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59482,351,0,20,53127,'IsApproved',TO_DATE('2010-06-17 15:43:02','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_DATE('2010-06-17 15:43:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59482 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) +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:43:11 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59483,290,0,10,53127,'DocumentNo',TO_DATE('2010-06-17 15:43:06','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','N','Document No',TO_DATE('2010-06-17 15:43:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59483 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) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD DocumentNo NVARCHAR2(30) NOT NULL +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59484,54208,0,17,53364,53127,'A_Activation_Method',TO_DATE('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,'''AA''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Activation Method',TO_DATE('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59484 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) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Activation_Method NVARCHAR2(2) DEFAULT 'AA' NOT NULL +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59485,275,0,10,53127,'Description',TO_DATE('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59485 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) +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59486,1939,0,20,53127,'IsDisposed',TO_DATE('2010-06-17 15:43:13','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed','D',1,'The asset is no longer used and disposed','Y','N','N','N','N','N','N','N','Y','N','Y','Disposed',TO_DATE('2010-06-17 15:43:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59486 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) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD IsDisposed CHAR(1) DEFAULT NULL CHECK (IsDisposed IN ('Y','N')) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59487,54166,0,17,53359,53127,'A_Asset_Status',TO_DATE('2010-06-17 15:43:14','YYYY-MM-DD HH24:MI:SS'),0,'D',2,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Status',TO_DATE('2010-06-17 15:43:14','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59487 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) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Asset_Status NVARCHAR2(2) DEFAULT NULL +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59488,54209,0,12,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','A_Disposal_Amt',TO_DATE('2010-06-17 15:43:15','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Amount',TO_DATE('2010-06-17 15:43:15','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59488 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) +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Disposal_Amt NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59489,53485,0,22,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','Expense',TO_DATE('2010-06-17 15:43:19','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Expense',TO_DATE('2010-06-17 15:43:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59489 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) +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD Expense NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59490,53488,0,12,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','A_Accumulated_Depr',TO_DATE('2010-06-17 15:43:20','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Accumulated_Depr',TO_DATE('2010-06-17 15:43:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59490 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) +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Accumulated_Depr NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59491,514,0,17,125,53127,'org.compiere.FA.CalloutA_Asset_Disposed.asset','PostingType',TO_DATE('2010-06-17 15:43:24','YYYY-MM-DD HH24:MI:SS'),0,'A','The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','Y','N','Y','PostingType',TO_DATE('2010-06-17 15:43:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59491 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) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD PostingType CHAR(1) DEFAULT 'A' NOT NULL +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59492,1308,0,28,234,53127,'Posted',TO_DATE('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'N','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','Y','N','N','Y','N','Y','Posted',TO_DATE('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59492 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) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59493,54210,0,12,53127,'A_Accumulated_Depr_Delta',TO_DATE('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (delta)',TO_DATE('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59493 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) +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Accumulated_Depr_Delta NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59494,53489,0,12,53127,'A_Asset_Cost',TO_DATE('2010-06-17 15:43:27','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_DATE('2010-06-17 15:43:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59494 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) +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD A_Asset_Cost NUMBER DEFAULT NULL +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59478, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59335 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59335 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59475, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Adjust Accumulated Depreciation', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59336 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59336 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59454, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Indicates if this document requires approval', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Approved', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59337 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59461, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Currency Conversion Rate Type', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Currency Type', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59338 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59477, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Posting status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Posted', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59339 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59474, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59340 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59340 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59468, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Currency Conversion Rate', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Rate', SeqNo=0, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59341 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59453, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Create Asset', SeqNo=40, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59342 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59342 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59465, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=60, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59343 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59467, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=70, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59344 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59456, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Invoice Detail Line', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Line uniquely identifies a single line of an Invoice.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Invoice Line', SeqNo=120, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59345 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59455, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Match Shipment/Receipt to Invoice', DisplayLength=10, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Match Invoice', SeqNo=130, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59346 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59346 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59473, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic='@A_SourceType@=''PRJ'' + +', EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=150, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59347 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59479, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Additional document charges', DisplayLength=10, DisplayLogic='@A_SourceType@=''MAN''''', EntityType='D', Help='The Charge indicates a type of Charge (Handling, Shipping, Restocking)', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Charge', SeqNo=160, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59348 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59466, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_SourceType@=''IMP''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Imported Fixed Asset', SeqNo=170, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59349 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59349 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59457, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=180, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59350 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59458, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=190, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59351 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59459, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=200, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59352 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59462, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Amount', SeqNo=220, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59353 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59353 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59476, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entered Amount', SeqNo=240, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59354 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59354 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59460, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The Currency for this record', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Currency', SeqNo=250, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59355 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59469, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=270, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59356 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59356 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59470, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (fiscal)', SeqNo=280, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59357 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59357 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59463, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Delta Use Life Years', SeqNo=290, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59358 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59358 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59464, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Delta Use Life Years (fiscal)', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delta Use Life Years (fiscal)', SeqNo=300, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59359 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59359 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59471, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life periods (min)', SeqNo=310, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59360 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59360 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59472, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Life periods (max)', SeqNo=320, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59361 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59361 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59450, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=330, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59362 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59451, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The current status of the document', DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help='The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Status', SeqNo=340, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59363 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59452, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The targeted status of the document', DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Document Action', SeqNo=350, SortNo=0,Updated=TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59364 +; + +-- Jun 17, 2010 3:43:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59454,59365,0,53324,TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','N','N','N','N','N','Approved',0,0,TO_DATE('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59365 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) +; + +-- Jun 17, 2010 3:43:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59468,59366,0,53324,TO_DATE('2010-06-17 15:43:36','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate',22,'D','The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','Y','N','N','N','N','N','Rate',0,0,TO_DATE('2010-06-17 15:43:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59366 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) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59453,59367,0,53324,TO_DATE('2010-06-17 15:43:41','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','Y','Create Asset',50,0,TO_DATE('2010-06-17 15:43:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59367 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) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59465,59368,0,53324,TO_DATE('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',60,0,TO_DATE('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59368 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) +; + +-- Jun 17, 2010 3:43:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59467,59369,0,53324,TO_DATE('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_DATE('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59369 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) +; + +-- Jun 17, 2010 3:43:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59455,59370,0,53324,TO_DATE('2010-06-17 15:43:44','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice',10,'@A_SourceType@=''INV''','D','Y','Y','Y','N','N','N','N','Match Invoice',130,0,TO_DATE('2010-06-17 15:43:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59370 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) +; + +-- Jun 17, 2010 3:43:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59456,59371,0,53324,TO_DATE('2010-06-17 15:43:45','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line',22,'@A_SourceType@=''INV''','D','The Invoice Line uniquely identifies a single line of an Invoice.','Y','Y','Y','N','N','N','N','Invoice Line',140,0,TO_DATE('2010-06-17 15:43:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59371 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) +; + +-- Jun 17, 2010 3:44:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59473,59372,0,53324,TO_DATE('2010-06-17 15:43:49','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'@A_SourceType@=''PRJ''','D','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','Project',160,0,TO_DATE('2010-06-17 15:43:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59372 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) +; + +-- Jun 17, 2010 3:44:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59479,59373,0,53324,TO_DATE('2010-06-17 15:44:02','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges',10,'@A_SourceType@=''MAN''','D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','Charge',170,0,TO_DATE('2010-06-17 15:44:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59373 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) +; + +-- Jun 17, 2010 3:44:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59466,59374,0,53324,TO_DATE('2010-06-17 15:44:03','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_SourceType@=''IMP''','D','Y','Y','Y','N','N','N','N','Imported Fixed Asset',180,0,TO_DATE('2010-06-17 15:44:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59374 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) +; + +-- Jun 17, 2010 3:44:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59457,59375,0,53324,TO_DATE('2010-06-17 15:44:04','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',190,0,TO_DATE('2010-06-17 15:44:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59375 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) +; + +-- Jun 17, 2010 3:44:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59458,59376,0,53324,TO_DATE('2010-06-17 15:44:05','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',200,0,TO_DATE('2010-06-17 15:44:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59376 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) +; + +-- Jun 17, 2010 3:44:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59459,59377,0,53324,TO_DATE('2010-06-17 15:44:06','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',210,0,TO_DATE('2010-06-17 15:44:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59377 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) +; + +-- Jun 17, 2010 3:44:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59476,103,59378,0,53324,TO_DATE('2010-06-17 15:44:07','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Entered Amount',230,0,TO_DATE('2010-06-17 15:44:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59378 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) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59462,59379,0,53324,TO_DATE('2010-06-17 15:44:11','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Source Amount',250,0,TO_DATE('2010-06-17 15:44:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59379 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) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59461,59380,0,53324,TO_DATE('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type',22,'D','The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','Y','N','N','N','N','Currency Type',270,0,TO_DATE('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59380 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) +; + +-- Jun 17, 2010 3:44:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59460,59381,0,53324,TO_DATE('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',22,'D','Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','N','N','Y','Currency',280,0,TO_DATE('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59381 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) +; + +-- Jun 17, 2010 3:44:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59471,59382,0,53324,TO_DATE('2010-06-17 15:44:14','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',290,0,TO_DATE('2010-06-17 15:44:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59382 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) +; + +-- Jun 17, 2010 3:44:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59472,59383,0,53324,TO_DATE('2010-06-17 15:44:15','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Life periods (max)',300,0,TO_DATE('2010-06-17 15:44:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59383 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) +; + +-- Jun 17, 2010 3:44:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59463,59384,0,53324,TO_DATE('2010-06-17 15:44:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Delta Use Life Years',310,0,TO_DATE('2010-06-17 15:44:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59384 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) +; + +-- Jun 17, 2010 3:44:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59464,59385,0,53324,TO_DATE('2010-06-17 15:44:20','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)',22,'D','Y','Y','Y','N','N','N','Y','Delta Use Life Years (fiscal)',320,0,TO_DATE('2010-06-17 15:44:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59385 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) +; + +-- Jun 17, 2010 3:44:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59475,50020,59386,0,53324,TO_DATE('2010-06-17 15:44:21','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Adjust Accumulated Depreciation',330,0,TO_DATE('2010-06-17 15:44:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59386 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) +; + +-- Jun 17, 2010 3:44:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59469,59387,0,53324,TO_DATE('2010-06-17 15:44:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',340,0,TO_DATE('2010-06-17 15:44:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59387 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) +; + +-- Jun 17, 2010 3:44:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59470,59388,0,53324,TO_DATE('2010-06-17 15:44:28','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','N','Accumulated Depreciation (fiscal)',350,0,TO_DATE('2010-06-17 15:44:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59388 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) +; + +-- Jun 17, 2010 3:44:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59478,59389,0,53324,TO_DATE('2010-06-17 15:44:29','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period_Start',360,0,TO_DATE('2010-06-17 15:44:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59389 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) +; + +-- Jun 17, 2010 3:44:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59451,114,59390,0,53324,TO_DATE('2010-06-17 15:44:31','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',370,0,TO_DATE('2010-06-17 15:44:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59390 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) +; + +-- Jun 17, 2010 3:44:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59474,59391,0,53324,TO_DATE('2010-06-17 15:44:32','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Process Now',380,0,TO_DATE('2010-06-17 15:44:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59391 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) +; + +-- Jun 17, 2010 3:44:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59450,59392,0,53324,TO_DATE('2010-06-17 15:44:33','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',390,0,TO_DATE('2010-06-17 15:44:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59392 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) +; + +-- Jun 17, 2010 3:44:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59452,59393,0,53324,TO_DATE('2010-06-17 15:44:34','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',400,0,TO_DATE('2010-06-17 15:44:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59393 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) +; + +-- Jun 17, 2010 3:44:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59477,59394,0,53324,TO_DATE('2010-06-17 15:44:36','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',410,0,TO_DATE('2010-06-17 15:44:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59394 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) +; + +-- Jun 17, 2010 3:44:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59483,59395,0,53325,TO_DATE('2010-06-17 15:44:38','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_DATE('2010-06-17 15:44:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59395 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) +; + +-- Jun 17, 2010 3:44:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59485,59396,0,53325,TO_DATE('2010-06-17 15:44:42','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_DATE('2010-06-17 15:44:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59396 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) +; + +-- Jun 17, 2010 3:44:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59484,59397,0,53325,TO_DATE('2010-06-17 15:44:45','YYYY-MM-DD HH24:MI:SS'),0,2,'D','Y','Y','Y','N','N','N','N','Activation Method',90,0,TO_DATE('2010-06-17 15:44:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59397 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) +; + +-- Jun 17, 2010 3:44:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59494,59398,0,53325,TO_DATE('2010-06-17 15:44:46','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Asset_Cost',120,0,TO_DATE('2010-06-17 15:44:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59398 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) +; + +-- Jun 17, 2010 3:44:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59490,59399,0,53325,TO_DATE('2010-06-17 15:44:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',130,0,TO_DATE('2010-06-17 15:44:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59399 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) +; + +-- Jun 17, 2010 3:44:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59493,59400,0,53325,TO_DATE('2010-06-17 15:44:49','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (delta)',140,0,TO_DATE('2010-06-17 15:44:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59400 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) +; + +-- Jun 17, 2010 3:44:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59489,59401,0,53325,TO_DATE('2010-06-17 15:44:50','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',150,0,TO_DATE('2010-06-17 15:44:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59401 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) +; + +-- Jun 17, 2010 3:44:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59488,59402,0,53325,TO_DATE('2010-06-17 15:44:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Disposal Amount',160,0,TO_DATE('2010-06-17 15:44:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59402 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) +; + +-- Jun 17, 2010 3:44:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59491,59403,0,53325,TO_DATE('2010-06-17 15:44:53','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',170,0,TO_DATE('2010-06-17 15:44:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59403 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) +; + +-- Jun 17, 2010 3:44:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59487,59404,0,53325,TO_DATE('2010-06-17 15:44:54','YYYY-MM-DD HH24:MI:SS'),0,2,'D','Y','Y','Y','N','N','N','N','Asset Status',190,0,TO_DATE('2010-06-17 15:44:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59404 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) +; + +-- Jun 17, 2010 3:44:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59486,59405,0,53325,TO_DATE('2010-06-17 15:44:55','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed',1,'D','The asset is no longer used and disposed','Y','Y','Y','N','N','N','N','Disposed',200,0,TO_DATE('2010-06-17 15:44:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59405 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) +; + +-- Jun 17, 2010 3:45:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59481,59406,0,53325,TO_DATE('2010-06-17 15:44:58','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',210,0,TO_DATE('2010-06-17 15:44:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59406 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) +; + +-- Jun 17, 2010 3:45:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59482,59407,0,53325,TO_DATE('2010-06-17 15:45:03','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','Y','N','N','N','N','Approved',220,0,TO_DATE('2010-06-17 15:45:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59407 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) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59480,59408,0,53325,TO_DATE('2010-06-17 15:45:05','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',230,0,TO_DATE('2010-06-17 15:45:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59408 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) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59492,59409,0,53325,TO_DATE('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',240,0,TO_DATE('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59409 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) +; + +-- Jun 17, 2010 3:45:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50117,50089,50116,TO_DATE('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_DATE('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50119,50090,50116,TO_DATE('2010-06-17 15:45:09','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_DATE('2010-06-17 15:45:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=251, Action='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset',Updated=TO_DATE('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 3 WHERE AD_Tree_ID = 10 AND Node_ID = 342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='Y', Name='Fixed Assets',Updated=TO_DATE('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 0 , SeqNo = 13 WHERE AD_Tree_ID = 10 AND Node_ID = 53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=251, Action='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset',Updated=TO_DATE('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 3 WHERE AD_Tree_ID = 10 AND Node_ID = 342 +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53273,0,53113,'W',TO_DATE('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Addition',TO_DATE('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53273 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,4, 10, 53273) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53274,0,53114,'W',TO_DATE('2010-06-17 15:45:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Activation/Disposal',TO_DATE('2010-06-17 15:45:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53274 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,6, 10, 53274) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53275,0,53115,'W',TO_DATE('2010-06-17 15:45:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Change Account',TO_DATE('2010-06-17 15:45:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53275 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,9, 10, 53275) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53276,0,53116,'W',TO_DATE('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Class',TO_DATE('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53276 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,1, 10, 53276) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53277,0,53117,'W',TO_DATE('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Funding Mode',TO_DATE('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53277 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,11, 10, 53277) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=252, Action='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset Group',Updated=TO_DATE('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=343 +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=343 +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 0 WHERE AD_Tree_ID = 10 AND Node_ID = 343 +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53278,0,53118,'W',TO_DATE('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Revaluation Asset',TO_DATE('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53278 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,5, 10, 53278) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53279,0,53119,'W',TO_DATE('2010-06-17 15:45:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Type',TO_DATE('2010-06-17 15:45:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53279 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,2, 10, 53279) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=53052, Action='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Build Depreciation Workfile',Updated=TO_DATE('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53151 +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53151 +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 10 WHERE AD_Tree_ID = 10 AND Node_ID = 53151 +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53280,0,53053,'W',TO_DATE('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation',TO_DATE('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53280 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,7, 10, 53280) +; + +-- Jun 19, 2010 2:02:07 PM CDT +-- Model Validator Fixed Asset +INSERT INTO AD_ModelValidator (AD_Client_ID,AD_ModelValidator_ID,AD_Org_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,ModelValidationClass,Name,SeqNo,Updated,UpdatedBy) VALUES (0,50004,0,TO_DATE('2010-06-19 14:02:00','YYYY-MM-DD HH24:MI:SS'),0,'Fixed Assets','D','Fixed Assets','Y','ro.arhipac.adempiere.fa.ModelValidator','Model Validator to Fixed Assets',70,TO_DATE('2010-06-19 14:02:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 20, 2010 2:10:52 PM CDT +-- Fixed Asset +UPDATE AD_Table SET IsHighVolume='Y', Name='Addition Asset',Updated=TO_DATE('2010-06-20 14:10:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:10:56 PM CDT +-- Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:11:38 PM CDT +-- Fixed Asset +UPDATE AD_Table SET AccessLevel='7',Updated=TO_DATE('2010-06-20 14:11:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:11:42 PM CDT +-- Fixed Asset +UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2010-06-20 14:11:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 1:25:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET IsBetaFunctionality='Y', IsSOTrx='N',Updated=TO_DATE('2010-06-20 13:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53119 +; + +-- Jun 20, 2010 1:26:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2010-06-20 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53276 +; + +-- Jun 20, 2010 1:27:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2010-06-20 13:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 1:27:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET IsBetaFunctionality='Y', IsSOTrx='N',Updated=TO_DATE('2010-06-20 13:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53118 +; + +-- Jun 20, 2010 1:28:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3', Name='Revaluation Asset',Updated=TO_DATE('2010-06-20 13:28:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53275 +; + +-- Jun 20, 2010 1:28:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53275 +; + +-- Jun 20, 2010 1:39:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 13:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59290 +; + +-- Jun 20, 2010 1:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 13:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59296 +; + +-- Jun 20, 2010 1:46:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2010-06-20 13:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59466 +; + +-- Jun 20, 2010 2:01:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59121 +; + +-- Jun 20, 2010 2:01:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59120 +; + +-- Jun 20, 2010 2:01:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 14:01:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59120 +; + +-- *** migration/FA/oracle/002_FA_Stabilization_oracle.sql *** + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59391 +; + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59393 +; + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:17:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 16:17:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59392 +; + +-- Jun 20, 2010 4:18:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 16:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59393 +; + +-- Jun 20, 2010 4:18:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 16:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53324 +; + +-- Jun 20, 2010 4:18:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 16:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:19:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 16:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59390 +; + +-- Jun 20, 2010 4:20:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59392 +; + +-- Jun 20, 2010 4:20:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Create Date', PrintName='Create Date',Updated=TO_DATE('2010-06-20 16:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL, AD_Element_ID=53526 WHERE UPPER(ColumnName)='A_ASSET_CREATEDATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53526 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Create Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53526) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Create Date', Name='Create Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53526) +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Parent Asset', PrintName='Parent Asset',Updated=TO_DATE('2010-06-20 16:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL, AD_Element_ID=53528 WHERE UPPER(ColumnName)='A_PARENT_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53528) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Parent Asset', Name='Parent Asset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53528) +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Revaluation Date', PrintName='Revaluation Date',Updated=TO_DATE('2010-06-20 16:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL, AD_Element_ID=53527 WHERE UPPER(ColumnName)='A_ASSET_REVALDATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53527 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53527) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Date', Name='Revaluation Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53527) +; + +-- Jun 20, 2010 4:27:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 16:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=450 +; + +-- Jun 20, 2010 4:31:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Group MODIFY A_Asset_Type_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 4:35:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2010-06-20 16:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58996 +; + +-- Jun 20, 2010 4:36:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 16:36:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:36:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 16:36:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:36:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 16:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:36:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 16:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58996 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=6154 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6149 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=8345 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6146 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=58993 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6135 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=6143 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=6166 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=55830 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=55831 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=12106 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=58994 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=6139 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=6165 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=6147 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=6136 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=6138 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=12107 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=6151 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=6159 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=6156 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=12876 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=12875 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6160 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6213 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=6148 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=6142 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:38:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 16:38:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:40:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET PrintName='Costo del Activo',Updated=TO_DATE('2010-06-20 16:40:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 AND AD_Language='es_MX' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Gain', PrintName='Disposal Gain',Updated=TO_DATE('2010-06-20 16:43:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL, AD_Element_ID=53532 WHERE UPPER(ColumnName)='A_DISPOSAL_GAIN' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Element_ID=53532 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53532) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Gain', Name='Disposal Gain' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53532) +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Revenue', PrintName='Disposal Revenue',Updated=TO_DATE('2010-06-20 16:44:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=54195 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54195) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Revenue', Name='Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54195) +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Revenue Str',Updated=TO_DATE('2010-06-20 16:44:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53561) +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description=NULL, PrintName='Disposal Revenue Str',Updated=TO_DATE('2010-06-20 16:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Revenue Str', Name='Disposal Revenue Str' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53561) +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Date', PrintName='Disposed Date',Updated=TO_DATE('2010-06-20 16:44:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL, AD_Element_ID=53551 WHERE UPPER(ColumnName)='A_DISPOSED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53551) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposed Date', Name='Disposed Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53551) +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Method', PrintName='Disposed Method',Updated=TO_DATE('2010-06-20 16:44:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL, AD_Element_ID=53554 WHERE UPPER(ColumnName)='A_DISPOSED_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53554) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposed Method', Name='Disposed Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53554) +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Reason',Updated=TO_DATE('2010-06-20 16:45:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL, AD_Element_ID=53552 WHERE UPPER(ColumnName)='A_DISPOSED_REASON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53552) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='A_Disposed_Reason', Name='Disposed Reason' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53552) +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Disposed Reason',Updated=TO_DATE('2010-06-20 16:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposed Reason', Name='Disposed Reason' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53552) +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Loss Str', PrintName='Disposal Loss Str',Updated=TO_DATE('2010-06-20 16:45:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL, AD_Element_ID=53563 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53563) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Loss Str', Name='Disposal Loss Str' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53563) +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Contract Date', PrintName='Contract Date',Updated=TO_DATE('2010-06-20 17:25:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL, AD_Element_ID=53602 WHERE UPPER(ColumnName)='A_CONTRACT_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53602) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Contract Date', Name='Contract Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53602) +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Due On', PrintName='Asset Due On',Updated=TO_DATE('2010-06-20 17:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL, AD_Element_ID=53595 WHERE UPPER(ColumnName)='A_DUE_ON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53595) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Due On', Name='Asset Due On' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53595) +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Expired Date', PrintName='Asset Expired Date',Updated=TO_DATE('2010-06-20 17:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL, AD_Element_ID=53601 WHERE UPPER(ColumnName)='A_EXPIRED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53601) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Expired Date', Name='Asset Expired Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53601) +; + +-- Jun 20, 2010 5:27:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Finance Method', PrintName='Asset Finance Method',Updated=TO_DATE('2010-06-20 17:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Finance Method', Name='Asset Finance Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53593) +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Monthly Payment', PrintName='Asset Monthly Payment',Updated=TO_DATE('2010-06-20 17:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL, AD_Element_ID=53600 WHERE UPPER(ColumnName)='A_MONTHLY_PAYMENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53600) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Monthly Payment', Name='Asset Monthly Payment' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53600) +; + +-- Jun 20, 2010 5:28:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Info Financial ID', PrintName='Asset Info Financial ID',Updated=TO_DATE('2010-06-20 17:28:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL, AD_Element_ID=53594 WHERE UPPER(ColumnName)='A_ASSET_INFO_FIN_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53594 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53594) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Info Financial ID', Name='Asset Info Financial ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53594) +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Asset Cost',Updated=TO_DATE('2010-06-20 17:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL, AD_Element_ID=53489 WHERE UPPER(ColumnName)='A_ASSET_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Element_ID=53489 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53489) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Proceeds', PrintName='Asset Proceeds',Updated=TO_DATE('2010-06-20 17:32:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL, AD_Element_ID=53553 WHERE UPPER(ColumnName)='A_PROCEEDS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Element_ID=53553 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53553) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Proceeds', Name='Asset Proceeds' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53553) +; + +-- Jun 20, 2010 5:33:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Trade', PrintName='Asset Trade',Updated=TO_DATE('2010-06-20 17:33:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL, AD_Element_ID=53555 WHERE UPPER(ColumnName)='A_ASSET_TRADE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Element_ID=53555 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53555) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Trade', Name='Asset Trade' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53555) +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset License No', PrintName='Asset License No',Updated=TO_DATE('2010-06-20 17:34:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL, AD_Element_ID=53616 WHERE UPPER(ColumnName)='A_LICENSE_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53616) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset License No', Name='Asset License No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53616) +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset License Fee', PrintName='Asset License Fee',Updated=TO_DATE('2010-06-20 17:35:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL, AD_Element_ID=53614 WHERE UPPER(ColumnName)='A_LICENSE_FEE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53614) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset License Fee', Name='Asset License Fee' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53614) +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Renewal Date', PrintName='Asset Renewal Date',Updated=TO_DATE('2010-06-20 17:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Renewal Date', Name='Asset Renewal Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53615) +; + +-- Jun 20, 2010 5:36:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 17:36:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55968 +; + +-- Jun 20, 2010 5:36:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 17:36:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55966 +; + +-- Jun 20, 2010 5:37:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 17:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53322 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Accumulated Depreciation',Updated=TO_DATE('2010-06-20 17:38:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL, AD_Element_ID=53488 WHERE UPPER(ColumnName)='A_ACCUMULATED_DEPR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Element_ID=53488 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53488) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Period', PrintName='Asset Period',Updated=TO_DATE('2010-06-20 17:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL, AD_Element_ID=53477 WHERE UPPER(ColumnName)='A_PERIOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53477) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Period', Name='Asset Period' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53477) +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Disposed', PrintName='Asset Disposed',Updated=TO_DATE('2010-06-20 17:39:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL, AD_Element_ID=53550 WHERE UPPER(ColumnName)='A_ASSET_DISPOSED_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Element_ID=53550 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53550) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Disposed', Name='Asset Disposed' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53550) +; + +-- Jun 20, 2010 5:40:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164 +; + +-- Jun 20, 2010 5:40:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451 +; + +-- Jun 20, 2010 5:40:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53158 +; + +-- Jun 20, 2010 5:40:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=793 +; + +-- Jun 20, 2010 5:40:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53160 +; + +-- Jun 20, 2010 5:40:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53155 +; + +-- Jun 20, 2010 5:40:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2010-06-20 17:40:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53161 +; + +-- Jun 20, 2010 5:41:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 17:41:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451 +; + +-- Jun 20, 2010 5:41:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 17:41:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53158 +; + +-- Jun 20, 2010 5:41:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 17:41:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=793 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Insurance Company',Updated=TO_DATE('2010-06-20 17:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL, AD_Element_ID=53622 WHERE UPPER(ColumnName)='A_INSURANCE_CO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53622) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='A_Insurance_Co', Name='Insurance Company' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53622) +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Insurance Company',Updated=TO_DATE('2010-06-20 17:43:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Insurance Company', Name='Insurance Company' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53622) +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Policy No', PrintName='Asset Policy No',Updated=TO_DATE('2010-06-20 17:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL, AD_Element_ID=53620 WHERE UPPER(ColumnName)='A_POLICY_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53620) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Policy No', Name='Asset Policy No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53620) +; + +-- Jun 20, 2010 5:45:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Insurance Premium', PrintName='Asset Insurance Premium',Updated=TO_DATE('2010-06-20 17:45:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL, AD_Element_ID=53623 WHERE UPPER(ColumnName)='A_INS_PREMIUM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53623) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Insurance Premium', Name='Asset Insurance Premium' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53623) +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Replace Cost', PrintName='Asset Replace Cost',Updated=TO_DATE('2010-06-20 17:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL, AD_Element_ID=53621 WHERE UPPER(ColumnName)='A_REPLACE_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53621) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Replace Cost', Name='Asset Replace Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53621) +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Insurance Value', PrintName='Asset Insurance Value',Updated=TO_DATE('2010-06-20 17:46:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL, AD_Element_ID=53619 WHERE UPPER(ColumnName)='A_INS_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53619) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Insurance Value', Name='Asset Insurance Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53619) +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Tax Entity', PrintName='Asset Tax Entity',Updated=TO_DATE('2010-06-20 17:48:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL, AD_Element_ID=53591 WHERE UPPER(ColumnName)='A_TAX_ENTITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53591) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Tax Entity', Name='Asset Tax Entity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53591) +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset New Used', PrintName='Asset New Used',Updated=TO_DATE('2010-06-20 17:48:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL, AD_Element_ID=53592 WHERE UPPER(ColumnName)='A_NEW_USED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53592) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset New Used', Name='Asset New Used' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53592) +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Investment CR', PrintName='Asset Investment CR',Updated=TO_DATE('2010-06-20 17:49:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL, AD_Element_ID=53590 WHERE UPPER(ColumnName)='A_INVESTMENT_CR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53590) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Investment CR', Name='Asset Investment CR' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53590) +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Info Tax', PrintName='Asset Info Tax',Updated=TO_DATE('2010-06-20 17:49:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL, AD_Element_ID=53589 WHERE UPPER(ColumnName)='A_ASSET_INFO_TAX_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Element_ID=53589 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53589) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Info Tax', Name='Asset Info Tax' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53589) +; + +-- Jun 20, 2010 5:50:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2010-06-20 17:50:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164 +; + +-- Jun 20, 2010 5:50:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2010-06-20 17:50:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53160 +; + +-- Jun 20, 2010 5:50:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2010-06-20 17:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53155 +; + +-- Jun 20, 2010 5:50:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2010-06-20 17:50:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53161 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Cost Change', PrintName='Asset Cost Change',Updated=TO_DATE('2010-06-20 17:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL, AD_Element_ID=54229 WHERE UPPER(ColumnName)='A_ASSET_COST_CHANGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Element_ID=54229 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54229) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Cost Change', Name='Asset Cost Change' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54229) +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Revaluation', PrintName='Asset Revaluation',Updated=TO_DATE('2010-06-20 17:54:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL, AD_Element_ID=54228 WHERE UPPER(ColumnName)='A_ASSET_REVAL_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Element_ID=54228 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54228) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Revaluation', Name='Asset Revaluation' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54228) +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Change Acumulated Depreciation', PrintName='Change Acumulated Depreciation',Updated=TO_DATE('2010-06-20 17:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL, AD_Element_ID=54230 WHERE UPPER(ColumnName)='A_CHANGE_ACUMULATED_DEPR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=54230 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54230) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Change Acumulated Depreciation', Name='Change Acumulated Depreciation' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54230) +; + +-- Jun 20, 2010 5:55:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 17:55:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59284 +; + +-- Jun 20, 2010 5:55:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N', IsReadOnly='Y',Updated=TO_DATE('2010-06-20 17:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59285 +; + +-- Jun 20, 2010 5:55:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2010-06-20 17:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59284 +; + +-- Jun 20, 2010 5:56:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 17:56:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59283 +; + +-- Jun 20, 2010 5:56:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 17:56:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59286 +; + +-- Jun 20, 2010 5:56:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 17:56:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59287 +; + +-- Jun 20, 2010 5:57:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 17:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59287 +; + +-- Jun 20, 2010 5:57:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 17:57:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59286 +; + +-- Jun 20, 2010 5:59:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 17:59:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 18:00:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:00:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:00:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59139 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59397 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:01:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 18:01:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59140 +; + +-- Jun 20, 2010 6:01:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 18:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:01:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59397 +; + +-- Jun 20, 2010 6:03:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2010-06-20 18:03:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59395 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59402 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:04:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59142 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59406 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59409 +; + +-- Jun 20, 2010 6:04:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:05:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 18:05:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:05:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 18:05:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59403 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:06:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:06:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:06:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 18:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59406 +; + +-- Jun 20, 2010 6:06:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:06:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:07:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 18:07:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:07:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-20 18:07:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59409 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59224 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59227 +; + +-- Jun 20, 2010 6:09:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:09:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:09:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 18:09:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:09:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101, IsSameLine='N',Updated=TO_DATE('2010-06-20 18:09:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59227 +; + +-- Jun 20, 2010 6:09:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 18:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:10:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2010-06-20 18:10:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:10:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-20 18:10:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55794 +; + +-- Jun 20, 2010 6:11:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-20 18:11:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59244 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59248 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59245 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59246 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59247 +; + +-- Jun 20, 2010 6:12:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 18:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53329 +; + +-- Jun 20, 2010 6:12:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-20 18:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53330 +; + +-- Jun 20, 2010 6:14:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3', Name='Asset Parent Report',Updated=TO_DATE('2010-06-20 18:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53115 +; + +-- Jun 20, 2010 6:14:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53115 +; + +-- Jun 20, 2010 6:14:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description=NULL, IsActive='Y', Name='Asset Parent Report',Updated=TO_DATE('2010-06-20 18:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53156 +; + +-- Jun 20, 2010 6:14:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53156 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Asset Group Defaults',Updated=TO_DATE('2010-06-20 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Lists Asset Group Settings & Defaults', IsActive='Y', Name='Asset Group Defaults',Updated=TO_DATE('2010-06-20 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53162 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53162 +; + +-- Jun 20, 2010 6:15:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_DATE('2010-06-20 18:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Depreciation Table',Updated=TO_DATE('2010-06-20 18:15:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description=NULL, IsActive='Y', Name='Depreciation Table',Updated=TO_DATE('2010-06-20 18:15:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53157 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53157 +; + +-- Jun 20, 2010 6:15:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_DATE('2010-06-20 18:15:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Asset Convention Report',Updated=TO_DATE('2010-06-20 18:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Asset Convention Report', IsActive='Y', Name='Asset Convention Report',Updated=TO_DATE('2010-06-20 18:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53160 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53160 +; + +-- Jun 20, 2010 6:16:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_DATE('2010-06-20 18:16:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3', Name='Asset Depreciation Method',Updated=TO_DATE('2010-06-20 18:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53121 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53121 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='List Depreciation Methods', IsActive='Y', Name='Asset Depreciation Method',Updated=TO_DATE('2010-06-20 18:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53159 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53159 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Depreciation Calculation Methods',Updated=TO_DATE('2010-06-20 18:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53129 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53129 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='List Depreciation Calculation Methods Available', IsActive='Y', Name='Depreciation Calculation Methods',Updated=TO_DATE('2010-06-20 18:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53161 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53161 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:19:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:25:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Asset Type',Updated=TO_DATE('2010-06-20 18:25:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Jun 20, 2010 6:25:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53279 +; + +-- *** migration/FA/oracle/003_FA_Stabilization_oracle.sql *** + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53120,TO_DATE('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','Y','Imported Fixed Asset','N',TO_DATE('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'M') +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53120 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53277,53120,'3',TO_DATE('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','Y','N','N','Imported Fixed Asset','L','I_FixedAsset',TO_DATE('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53277 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53391,TO_DATE('2010-06-23 18:59:34','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table I_FixedAsset',1,'Y','N','Y','Y','I_FixedAsset','N',1000000,TO_DATE('2010-06-23 18:59:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_FixedAsset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Imported Fixed Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported Fixed Asset',Updated=TO_DATE('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54205 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54205 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=13 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59496,54205,0,13,53277,'I_FixedAsset_ID',TO_DATE('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','Y','N','N','Imported Fixed Asset',TO_DATE('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +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=59496 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +CREATE TABLE I_FixedAsset (I_FixedAsset_ID NUMBER(10) DEFAULT NULL , CONSTRAINT I_FixedAsset_Key PRIMARY KEY (I_FixedAsset_ID)) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=102 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=19 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59497,102,0,19,53277,'AD_Client_ID',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59497 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=113 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59498,113,0,19,53277,'AD_Org_ID',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59498 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=348 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=20 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59499,348,0,20,53277,'IsActive',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'''Y''','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59499 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=245 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=16 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59500,245,0,16,53277,'Created',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59500 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Created DATE NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=246 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=18 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59501,246,0,18,110,53277,'CreatedBy',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59501 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=607 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59502,607,0,16,53277,'Updated',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59502 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Updated DATE NOT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=608 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59503,608,0,18,110,53277,'UpdatedBy',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59503 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='InventoryNo', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Inventory No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Inventory No',Updated=TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54169 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54169 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=10 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59504,54169,0,10,53277,'InventoryNo',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D',30,'Y','N','N','Y','N','N','N','Y','Y','N','Y','Inventory No',10,TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59504 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD InventoryNo NVARCHAR2(30) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=469 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,59505,469,0,10,53277,'Name',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',120,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','Y','Y','N','Y','Name',20,TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59505 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Name NVARCHAR2(120) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_ID', Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', Name='Asset Group', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group',Updated=TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1929 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1929 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59506,1929,0,19,53277,'A_Asset_Group_ID',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'Group of Assets','D',10,'The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset Group',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59506 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_Group_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54233,0,'A_Asset_Group_Value',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Asset Group Key','Asset Group Key',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=54233 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59507,54233,0,10,53277,'A_Asset_Group_Value',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Group Key',TO_DATE('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59507 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_Group_Value NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Class_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset class', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset class',Updated=TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54165 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54165 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=30 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59508,54165,0,30,53277,'A_Asset_Class_ID',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59508 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_Class_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54234,0,'A_Asset_Class_Value',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Asset Class Key','Asset Class Key',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=54234 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59509,54234,0,10,53277,'A_Asset_Class_Value',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Class Key',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59509 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_Class_Value NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=454 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59510,454,0,30,53277,'M_Product_ID',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59510 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD M_Product_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='ProductValue', Description='Key of the Product', EntityType='D', Help=NULL, IsActive='Y', Name='Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Key',Updated=TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1675 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1675 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59511,1675,0,10,53277,'ProductValue',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'Key of the Product','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product Key',TO_DATE('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59511 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD ProductValue NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AssetServiceDate', Description='Date when Asset was put into service', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', IsActive='Y', Name='In Service Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Service date',Updated=TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1934 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1934 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=15 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59512,1934,0,15,53277,'AssetServiceDate',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'Date when Asset was put into service','D',7,'The date when the asset was put into service - usually used as start date for depreciation.','Y','N','N','N','N','N','N','N','Y','N','Y','In Service Date',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59512 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD AssetServiceDate DATE DEFAULT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Cost',Updated=TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Number with 4 decimals', EntityType='D', Help=NULL, IsActive='Y', Name='Amount', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=12 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59513,53489,0,12,53277,'A_Asset_Cost',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Cost',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59513 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_Cost NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation',Updated=TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59514,53488,0,12,53277,'A_Accumulated_Depr',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation',TO_DATE('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59514 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Accumulated_Depr NUMBER DEFAULT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr_F', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation (fiscal)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation (fiscal)',Updated=TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54175 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54175 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59515,54175,0,12,53277,'A_Accumulated_Depr_F',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59515 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Accumulated_Depr_F NUMBER DEFAULT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths', Description='Months of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Months', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life months',Updated=TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1946 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1946 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=11 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59516,1946,0,11,53277,'UseLifeMonths',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'Months of the usable life of the asset','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Months',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59516 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD UseLifeMonths NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths_F', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Use Life - Months (fiscal)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Use Life - Months (fiscal)',Updated=TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54179 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54179 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59517,54179,0,11,53277,'UseLifeMonths_F',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59517 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD UseLifeMonths_F NUMBER(10) NOT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Current_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Period',Updated=TO_DATE('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53501 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53501 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59518,53501,0,11,53277,'A_Current_Period',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Current Period',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59518 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Current_Period NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='DateAcct', Description='Accounting Date', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', IsActive='Y', Name='Account Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Acct Date',Updated=TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=263 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=263 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59519,263,0,15,53277,'DateAcct',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','N','N','N','Y','N','Y','Account Date',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59519 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD DateAcct DATE DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_ID', Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', Name='Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset',Updated=TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1884 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1884 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59520,1884,0,30,53277,'A_Asset_ID',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'Asset used internally or by customers','D',10,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59520 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Asset_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_IsImported', Description='Has this import been processed', EntityType='D', Help='The Imported check box indicates if this import has been processed.', IsActive='Y', Name='Imported', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported',Updated=TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=913 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=913 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59521,913,0,20,53277,'I_IsImported',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'''N''','Has this import been processed','D',1,'The Imported check box indicates if this import has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Imported',TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59521 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD I_IsImported CHAR(1) DEFAULT 'N' CHECK (I_IsImported IN ('Y','N')) NOT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_ErrorMsg', Description='Messages generated from import process', EntityType='D', Help='The Import Error Message displays any error messages generated during the import process.', IsActive='Y', Name='Import Error Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Import Error Message',Updated=TO_DATE('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=912 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=912 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=14 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59522,912,0,14,53277,'I_ErrorMsg',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Messages generated from import process','D',2000,'The Import Error Message displays any error messages generated during the import process.','Y','N','N','N','N','N','N','N','Y','N','Y','Import Error Message',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=59522 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD I_ErrorMsg NVARCHAR2(2000) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=524 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=28 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53215,'2','org.compiere.FA.ImportFixedAsset',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'D','Import All Fixed Assets','Y','N','N','N','Import Fixed Assets','Y',0,0,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Import_FixedAsset',NULL) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53215 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53215,53413,19,'M_Product_Category_ID',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product','D',0,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','Y','N','Product Category',10,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53413 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1929,0,53215,53414,19,'A_Asset_Group_ID',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Group of Assets','D',0,'The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','N','N','Asset Group',20,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53414 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53215,53415,15,'DateAcct',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','Account Date',30,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53415 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1922,0,53215,53416,20,'DeleteOldImported',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Before processing delete old imported records in the import table','D',0,'Y','Y','Y','N','Delete old imported records',40,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53416 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54205,0,53215,53417,19,'I_FixedAsset_ID',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'@I_FixedAsset_ID@','D',0,'Y','Y','N','N','Imported Fixed Asset',110,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53417 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2168,0,53215,53418,20,'IsValidateOnly',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','Validate the date and do not process','D',0,'Y','Y','Y','N','Only Validate Data',120,TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53418 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59523,524,0,53215,28,53277,'Processing',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_DATE('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=59523 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Processing CHAR(1) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1047 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59524,1047,0,20,53277,'Processed',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','N','Y','N','Y','Processed',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=59524 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Processed CHAR(1) DEFAULT NULL CHECK (Processed IN ('Y','N')) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54235,0,'A_Remaining_Period',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Remaining Period','Remaining Period',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=54235 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59525,54235,0,11,53277,'A_Remaining_Period',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Remaining Period',TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=59525 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD A_Remaining_Period NUMBER(10) DEFAULT 0 NOT NULL +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='DocAction', Description='The targeted status of the document', EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', IsActive='Y', Name='Document Action', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Action',Updated=TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=287 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=287 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=17 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Document action list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Action', ValidationType='L',Updated=TO_DATE('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=135 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59526,287,0,17,135,53277,'DocAction',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59526 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD DocAction NVARCHAR2(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54236,0,'AssetPeriodDepreciationAmt',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Applies to Straight Line depreciation','D','Y','Depreciation Amount / Period','Depreciation Amount / Period',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=54236 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59527,54236,0,12,53277,'AssetPeriodDepreciationAmt',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'0','Applies to Straight Line depreciation','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Amount / Period',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59527 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD AssetPeriodDepreciationAmt NUMBER DEFAULT 0 NOT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDepreciationDate', Description='Date of last depreciation', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', IsActive='Y', Name='Asset Depreciation Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset depreciation date',Updated=TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1931 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1931 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59528,1931,0,15,53277,'AssetDepreciationDate',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Date of last depreciation','D',7,'Date of the last deprecation, if the asset is used internally and depreciated.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset Depreciation Date',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59528 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD AssetDepreciationDate DATE DEFAULT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='M_Locator_ID', Description='Warehouse Locator', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', IsActive='Y', Name='Locator', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator',Updated=TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=448 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=448 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59529,448,0,19,53277,'M_Locator_ID',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','N','N','N','N','N','Y','N','Y','Locator',TO_DATE('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59529 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD M_Locator_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='LocatorValue', Description='Key of the Warehouse Locator', EntityType='D', Help=NULL, IsActive='Y', Name='Locator Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator Key',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2109 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2109 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59530,2109,0,10,53277,'LocatorValue',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Key of the Warehouse Locator','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Locator Key',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59530 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD LocatorValue NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=526 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=29 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59531,526,0,29,53277,'Qty',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'1','Quantity','D',10,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','Y','Quantity',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59531 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Qty NUMBER DEFAULT 1 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UOMSymbol', Description='Symbol for a Unit of Measure', EntityType='D', Help='The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure', IsActive='Y', Name='Symbol', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UoM',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=602 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=602 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59532,602,0,10,53277,'UOMSymbol',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Symbol for a Unit of Measure','D',10,'The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','Y','Symbol',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59532 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD UOMSymbol NVARCHAR2(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_UOM_ID', Description='Unit of Measure', EntityType='D', Help='The UOM defines a unique non monetary Unit of Measure', IsActive='Y', Name='UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UOM',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=215 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=215 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59533,215,0,30,53277,'C_UOM_ID',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Unit of Measure','D',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','Y','UOM',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59533 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD C_UOM_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=275 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59534,275,0,10,53277,'Description',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59534 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD Description NVARCHAR2(255) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54237,0,'C_City_Value',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','City Value','City Value',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=54237 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59535,54237,0,10,53277,'C_City_Value',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','City Value',TO_DATE('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59535 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD C_City_Value NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='SeqNo', Description='Method of ordering records; lowest number comes first', EntityType='D', Help='The Sequence indicates the order of records', IsActive='Y', Name='Sequence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Sequence',Updated=TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=566 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=566 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59536,566,0,11,53277,'SeqNo',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'1','Method of ordering records; lowest number comes first','D',10,'The Sequence indicates the order of records','Y','N','N','N','N','N','N','N','Y','N','Y','Sequence',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59536 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD SeqNo NUMBER(10) DEFAULT 1 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='BPartner_Value', Description='The Key of the Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='Business Partner Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Key',Updated=TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1906 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1906 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59537,1906,0,10,53277,'BPartner_Value',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'The Key of the Business Partner','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner Key',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59537 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD BPartner_Value NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartnerSR_ID', Description='Business Partner (Agent or Sales Rep)', EntityType='D', Help=NULL, IsActive='Y', Name='BPartner (Agent)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner (Agent)',Updated=TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2810 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2810 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Business Partner selection (no Summary)', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner (Trx)', ValidationType='T',Updated=TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'Y', OrderByClause = '', EntityType ='D', WhereClause = 'C_BPartner.IsSummary=''N'' AND C_BPartner.IsActive=''Y''' WHERE AD_Reference_ID = 138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59538,2810,0,30,138,53277,'C_BPartnerSR_ID',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner (Agent or Sales Rep)','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','BPartner (Agent)',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59538 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD C_BPartnerSR_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_City_ID', Description='City', EntityType='D', Help='City in a country', IsActive='Y', Name='City', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='City',Updated=TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1830 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1830 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59539,1830,0,30,53277,'C_City_ID',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'City','D',10,'City in a country','Y','N','N','N','N','N','N','N','Y','N','Y','City',TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59539 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD C_City_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53334,53277,53120,NULL,TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','N','Y','N','N','N','N','Fixed Asset','N',10,0,TO_DATE('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53334 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- *** migration/FA/oracle/004_FA_Stabilization_oracle.sql *** + +-- Jun 23, 2010 5:01:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_DATE('2010-06-23 17:01:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=101 +; + +-- Jun 23, 2010 5:01:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_DATE('2010-06-23 17:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=104 +; + +-- Jun 23, 2010 5:01:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_DATE('2010-06-23 17:01:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50005 +; + +-- Jun 23, 2010 5:02:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59519,59470,0,53334,TO_DATE('2010-06-23 17:02:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','N','N','Account Date',TO_DATE('2010-06-23 17:02:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59470 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) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59514,59471,0,53334,TO_DATE('2010-06-23 17:02:12','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Accumulated Depreciation',TO_DATE('2010-06-23 17:02:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59471 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) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59515,59472,0,53334,TO_DATE('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',TO_DATE('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59472 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) +; + +-- Jun 23, 2010 5:02:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59499,59473,0,53334,TO_DATE('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59473 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) +; + +-- Jun 23, 2010 5:02:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59520,59474,0,53334,TO_DATE('2010-06-23 17:02:14','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','N','Asset',TO_DATE('2010-06-23 17:02:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59474 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) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59509,59475,0,53334,TO_DATE('2010-06-23 17:02:15','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Class Key',TO_DATE('2010-06-23 17:02:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59475 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) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59513,59476,0,53334,TO_DATE('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset Cost',TO_DATE('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59476 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) +; + +-- Jun 23, 2010 5:02:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59528,59477,0,53334,TO_DATE('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0,'Date of last depreciation',7,'D','Date of the last deprecation, if the asset is used internally and depreciated.','Y','Y','Y','N','N','N','N','N','Asset Depreciation Date',TO_DATE('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59477 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) +; + +-- Jun 23, 2010 5:02:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59506,59478,0,53334,TO_DATE('2010-06-23 17:02:17','YYYY-MM-DD HH24:MI:SS'),0,'Group of Assets',10,'D','The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','Y','N','N','N','N','N','Asset Group',TO_DATE('2010-06-23 17:02:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59478 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) +; + +-- Jun 23, 2010 5:02:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59507,59479,0,53334,TO_DATE('2010-06-23 17:02:18','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Group Key',TO_DATE('2010-06-23 17:02:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59479 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) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59508,59480,0,53334,TO_DATE('2010-06-23 17:02:19','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset class',TO_DATE('2010-06-23 17:02:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59480 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) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59538,59481,0,53334,TO_DATE('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner (Agent or Sales Rep)',10,'D','Y','Y','Y','N','N','N','N','N','BPartner (Agent)',TO_DATE('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59481 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) +; + +-- Jun 23, 2010 5:02:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59537,59482,0,53334,TO_DATE('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner',40,'D','Y','Y','Y','N','N','N','N','N','Business Partner Key',TO_DATE('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59482 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) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59539,59483,0,53334,TO_DATE('2010-06-23 17:02:21','YYYY-MM-DD HH24:MI:SS'),0,'City',10,'D','City in a country','Y','Y','Y','N','N','N','N','N','City',TO_DATE('2010-06-23 17:02:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59483 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) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59535,59484,0,53334,TO_DATE('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','City Value',TO_DATE('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59484 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) +; + +-- Jun 23, 2010 5:02:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59497,59485,0,53334,TO_DATE('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59485 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) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59518,59486,0,53334,TO_DATE('2010-06-23 17:02:24','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Current Period',TO_DATE('2010-06-23 17:02:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59486 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) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59527,59487,0,53334,TO_DATE('2010-06-23 17:02:25','YYYY-MM-DD HH24:MI:SS'),0,'Applies to Straight Line depreciation',22,'D','Y','Y','Y','N','N','N','N','N','Depreciation Amount / Period',TO_DATE('2010-06-23 17:02:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59487 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) +; + +-- Jun 23, 2010 5:02:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59534,59488,0,53334,TO_DATE('2010-06-23 17:02:26','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2010-06-23 17:02:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59488 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) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59526,59489,0,53334,TO_DATE('2010-06-23 17:02:27','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','N','Document Action',TO_DATE('2010-06-23 17:02:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59489 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) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59522,59490,0,53334,TO_DATE('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process',2000,'D','The Import Error Message displays any error messages generated during the import process.','Y','Y','Y','N','N','N','N','N','Import Error Message',TO_DATE('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59490 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) +; + +-- Jun 23, 2010 5:02:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59521,59491,0,53334,TO_DATE('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed',1,'D','The Imported check box indicates if this import has been processed.','Y','Y','Y','N','N','N','N','N','Imported',TO_DATE('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59491 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) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59496,59492,0,53334,TO_DATE('2010-06-23 17:02:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','N','Imported Fixed Asset',TO_DATE('2010-06-23 17:02:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59492 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) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59512,59493,0,53334,TO_DATE('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0,'Date when Asset was put into service',7,'D','The date when the asset was put into service - usually used as start date for depreciation.','Y','Y','Y','N','N','N','N','N','In Service Date',TO_DATE('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59493 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) +; + +-- Jun 23, 2010 5:02:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59504,59494,0,53334,TO_DATE('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0,30,'D','Y','Y','Y','N','N','N','N','N','Inventory No',TO_DATE('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59494 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) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59529,59495,0,53334,TO_DATE('2010-06-23 17:02:31','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','N','Locator',TO_DATE('2010-06-23 17:02:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59495 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) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59530,59496,0,53334,TO_DATE('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse Locator',40,'D','Y','Y','Y','N','N','N','N','N','Locator Key',TO_DATE('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59496 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) +; + +-- Jun 23, 2010 5:02:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59505,59497,0,53334,TO_DATE('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59497 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) +; + +-- Jun 23, 2010 5:02:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59498,59498,0,53334,TO_DATE('2010-06-23 17:02:33','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2010-06-23 17:02:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59498 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) +; + +-- Jun 23, 2010 5:02:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59523,59499,0,53334,TO_DATE('2010-06-23 17:02:34','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2010-06-23 17:02:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59499 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) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59524,59500,0,53334,TO_DATE('2010-06-23 17:02:35','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','N','Processed',TO_DATE('2010-06-23 17:02:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59500 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) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59510,59501,0,53334,TO_DATE('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59501 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) +; + +-- Jun 23, 2010 5:02:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59511,59502,0,53334,TO_DATE('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product',40,'D','Y','Y','Y','N','N','N','N','N','Product Key',TO_DATE('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59502 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) +; + +-- Jun 23, 2010 5:02:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59531,59503,0,53334,TO_DATE('2010-06-23 17:02:37','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',10,'D','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_DATE('2010-06-23 17:02:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59503 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) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59525,59504,0,53334,TO_DATE('2010-06-23 17:02:38','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Remaining Period',TO_DATE('2010-06-23 17:02:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59504 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) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59536,59505,0,53334,TO_DATE('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0,'Method of ordering records; lowest number comes first',10,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_DATE('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59505 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) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59532,59506,0,53334,TO_DATE('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0,'Symbol for a Unit of Measure',10,'D','The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure','Y','Y','Y','N','N','N','N','N','Symbol',TO_DATE('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59506 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) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59533,59507,0,53334,TO_DATE('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure',10,'D','The UOM defines a unique non monetary Unit of Measure','Y','Y','Y','N','N','N','N','N','UOM',TO_DATE('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59507 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) +; + +-- Jun 23, 2010 5:02:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59516,59508,0,53334,TO_DATE('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'D','Y','Y','Y','N','N','N','N','N','Usable Life - Months',TO_DATE('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59508 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) +; + +-- Jun 23, 2010 5:02:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59517,59509,0,53334,TO_DATE('2010-06-23 17:02:42','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Use Life - Months (fiscal)',TO_DATE('2010-06-23 17:02:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59509 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) +; + +-- Jun 23, 2010 5:03:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-23 17:03:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:03:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:03:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=0 +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,178,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,179,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,180,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,181,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,182,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,183,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,184,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,185,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,187,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,188,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,189,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,345,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,347,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,691,0,0,TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53284,0,53120,'W',TO_DATE('2010-06-23 17:15:24','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y','N','N','N','Imported Fixed Asset',TO_DATE('2010-06-23 17:15:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53284 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_TreeNodeMM (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, 0, SysDate, 0,t.AD_Tree_ID, 53284, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53284) +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53165 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53168 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53167 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53166 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53169 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53170 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:19:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:19:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:19:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:19:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:19:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:19:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:19:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2010-06-23 17:19:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:22:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:22:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:22:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:22:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:22:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:22:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:23:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:23:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:24:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-23 17:24:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:24:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Import Fixed Asset',Updated=TO_DATE('2010-06-23 17:24:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:24:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:25:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_DATE('2010-06-23 17:25:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59522 +; + +-- Jun 23, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2010-06-23 17:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:27:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:29:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:29:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:30:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 17:30:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:31:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Processed',Updated=TO_DATE('2010-06-23 17:31:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:31:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:32:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:32:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:34:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-06-23 17:34:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:34:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='N',Updated=TO_DATE('2010-06-23 17:34:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:34:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2010-06-23 17:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59498 +; + +-- Jun 23, 2010 5:39:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59587,54128,0,22,53137,'ProcessedOn',TO_DATE('2010-06-23 17:39:33','YYYY-MM-DD HH24:MI:SS'),0,'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','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-06-23 17:39:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:39:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59587 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) +; + +-- Jun 23, 2010 5:39:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Addition ADD ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 5:39:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Addition MODIFY ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 5:40:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59588,54128,0,22,53127,'ProcessedOn',TO_DATE('2010-06-23 17:40:57','YYYY-MM-DD HH24:MI:SS'),0,'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','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-06-23 17:40:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:40:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59588 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) +; + +-- Jun 23, 2010 5:41:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Disposed ADD ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 5:42:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59589,54128,0,22,53275,'ProcessedOn',TO_DATE('2010-06-23 17:42:00','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',14,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-06-23 17:42:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:42:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59589 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) +; + +-- Jun 23, 2010 5:42:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Reval ADD ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 5:43:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59590,54128,0,22,53128,'ProcessedOn',TO_DATE('2010-06-23 17:43:24','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',22,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-06-23 17:43:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:43:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59590 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) +; + +-- Jun 23, 2010 5:43:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Transfer ADD ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 5:44:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59591,54128,0,22,53121,'ProcessedOn',TO_DATE('2010-06-23 17:44:17','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',22,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-06-23 17:44:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:44:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59591 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) +; + +-- Jun 23, 2010 5:44:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET FieldLength=20,Updated=TO_DATE('2010-06-23 17:44:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59591 +; + +-- Jun 23, 2010 5:44:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Depreciation_Entry ADD ProcessedOn NUMBER DEFAULT NULL +; + +-- Jun 23, 2010 6:23:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Import Fixed Asset',Updated=TO_DATE('2010-06-23 18:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:23:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:29:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_DATE('2010-06-23 18:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53215 +; + +-- Jun 23, 2010 6:31:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2010-06-23 18:31:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59508 +; + +-- Jun 23, 2010 6:34:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy,Version) VALUES (0,59592,54170,0,19,53277,'A_Asset_Type_ID',TO_DATE('2010-06-23 18:34:27','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Asset Type',TO_DATE('2010-06-23 18:34:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 6:34:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59592 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) +; + +-- Jun 23, 2010 6:34:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD A_Asset_Type_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 23, 2010 6:35:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset MODIFY A_Asset_Type_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 23, 2010 6:36:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54244,0,'A_Asset_Type_Value',TO_DATE('2010-06-23 18:36:33','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type Value','Asset Type Value',TO_DATE('2010-06-23 18:36:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:36:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=54244 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) +; + +-- Jun 23, 2010 6:36:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy,Version) VALUES (0,59593,54244,0,10,53277,'A_Asset_Type_Value',TO_DATE('2010-06-23 18:36:49','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Asset Type Value',TO_DATE('2010-06-23 18:36:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 6:36:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59593 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) +; + +-- Jun 23, 2010 6:36:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD A_Asset_Type_Value NVARCHAR2(40) DEFAULT NULL +; + +-- Jun 23, 2010 6:38:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59592,59510,0,53334,TO_DATE('2010-06-23 18:38:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset Type',TO_DATE('2010-06-23 18:38:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:38:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59510 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) +; + +-- Jun 23, 2010 6:38:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59593,59511,0,53334,TO_DATE('2010-06-23 18:38:19','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Type Value',TO_DATE('2010-06-23 18:38:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:38:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59511 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) +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59510 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59511 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:38:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-06-23 18:38:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59511 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 6:43:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 6:43:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Apr 24, 2011 2:04:04 PM MYT +-- Fixed Assets Upgrading +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,55168,0,'IsFixedAssetInvoice',TO_DATE('2011-04-24 14:04:02','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','IsFixedAssetInvoice','IsFixedAssetInvoice',TO_DATE('2011-04-24 14:04:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Apr 24, 2011 2:04:04 PM MYT +-- Fixed Assets Upgrading +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=55168 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) +; + +-- Apr 24, 2011 2:04:42 PM MYT +-- Fixed Assets Upgrading +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,61470,55168,0,20,333,'IsFixedAssetInvoice',TO_DATE('2011-04-24 14:04:41','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','IsFixedAssetInvoice',0,TO_DATE('2011-04-24 14:04:41','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Apr 24, 2011 2:04:42 PM MYT +-- Fixed Assets Upgrading +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=61470 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) +; + +-- Apr 24, 2011 2:05:09 PM MYT +-- Fixed Assets Upgrading +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,61471,55168,0,20,318,'IsFixedAssetInvoice',TO_DATE('2011-04-24 14:05:06','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','IsFixedAssetInvoice',0,TO_DATE('2011-04-24 14:05:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Apr 24, 2011 2:05:09 PM MYT +-- Fixed Assets Upgrading +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=61471 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) +; + +-- Apr 24, 2011 3:20:11 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_InvoiceLine ADD IsFixedAssetInvoice CHAR(1) DEFAULT NULL CHECK (IsFixedAssetInvoice IN ('Y','N')) +; + +-- Apr 24, 2011 3:20:47 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_Invoice ADD IsFixedAssetInvoice CHAR(1) DEFAULT NULL CHECK (IsFixedAssetInvoice IN ('Y','N')) +; + +-- Apr 24, 2011 3:16:35 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_Invoice MODIFY IsFixedAssetInvoice CHAR(1) DEFAULT NULL +; + +-- Apr 24, 2011 3:16:56 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_InvoiceLine MODIFY IsFixedAssetInvoice CHAR(1) DEFAULT NULL +; + +-- *** migration/FA/oracle/005_FA_Stabilization_oracle.sql *** + +-- Apr 28, 2011 7:37:46 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:37:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55786 +; + +-- Apr 28, 2011 7:37:49 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:37:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59403 +; + +-- Apr 28, 2011 7:37:54 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:37:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59404 +; + +-- Apr 28, 2011 7:37:56 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:37:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59407 +; + +-- Apr 28, 2011 7:37:58 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:37:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55759 +; + +-- Apr 28, 2011 7:38:00 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59405 +; + +-- Apr 28, 2011 7:38:03 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59402 +; + +-- Apr 28, 2011 7:38:15 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59307 +; + +-- Apr 28, 2011 7:38:19 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55632 +; + +-- Apr 28, 2011 7:38:22 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59306 +; + +-- Apr 28, 2011 7:38:24 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55601 +; + +-- Apr 28, 2011 7:38:26 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59305 +; + +-- Apr 28, 2011 7:38:29 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-04-28 07:38:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55628 +; + +-- May 17, 2011 8:31:57 PM MYT +-- Fixed Assets Integration +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2011-05-17 20:31:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55782 +; + +--recreate both tables +DROP TABLE a_asset_acct; + +CREATE TABLE a_asset_acct +( + a_asset_id number(10) NOT NULL, + c_acctschema_id number(10) NOT NULL, + ad_client_id number(10) NOT NULL, + ad_org_id number(10) NOT NULL, + isactive char(1) NOT NULL, + created date NOT NULL, + createdby number(10) NOT NULL, + updated date NOT NULL, + updatedby number(10) NOT NULL, + a_depreciation_id number(10) NOT NULL, + a_depreciation_acct number(10) NOT NULL, + a_accumdepreciation_acct number(10) NOT NULL, + a_disposal_loss varchar2(40), + a_disposal_gain varchar2(10), + a_asset_acct number(10) NOT NULL, + a_asset_acct_id number(10) NOT NULL, + a_depreciation_manual_period varchar2(2), + a_depreciation_table_header_id number(10), + a_reval_cost_offset_prior varchar2(22), + a_reval_cost_offset varchar2(22), + a_reval_cal_method varchar2(3), + a_reval_accumdep_offset_prior varchar2(22), + a_reval_accumdep_offset_cur varchar2(22), + a_period_start number(10) NOT NULL, + a_period_end number(10) NOT NULL, + a_disposal_revenue varchar2(40), + processing char(1) DEFAULT 'Y', + postingtype char(1) DEFAULT 'A' NOT NULL, + a_split_percent number DEFAULT 1 NOT NULL, + a_salvage_value number DEFAULT 0, + a_reval_depexp_offset varchar2(22), + a_depreciation_variable_perc number, + a_depreciation_method_id number(10) NOT NULL, + a_depreciation_manual_amount number, + a_depreciation_conv_id number(10) NOT NULL, + a_asset_spread_id number(10), + a_disposal_gain_acct number(10) DEFAULT NULL, + a_reval_cost_offset_prior_acct number(10) DEFAULT NULL, + a_reval_cost_offset_acct number(10) DEFAULT NULL, + a_reval_adep_offset_prior_acct number(10) DEFAULT NULL, + a_reval_adep_offset_cur_acct number(10) DEFAULT NULL, + a_disposal_revenue_acct number(10) NOT NULL, + a_disposal_loss_acct number(10) NOT NULL, + a_reval_depexp_offset_acct number(10) DEFAULT NULL, + a_depreciation_method_f_id number(10) NOT NULL, + a_depreciation_f_id number(10) NOT NULL, + a_depreciation_conv_f_id number(10) NOT NULL, + a_depreciation_variable_perc_f number, + validfrom date, + CONSTRAINT a_asset_acct_pkey PRIMARY KEY (a_asset_acct_id), + CONSTRAINT aasset_aassetacct FOREIGN KEY (a_asset_id) + REFERENCES a_asset (a_asset_id), + CONSTRAINT aassetspread_aassetacct FOREIGN KEY (a_asset_spread_id) + REFERENCES a_asset_spread (a_asset_spread_id), + CONSTRAINT adepreciation_aassetacct FOREIGN KEY (a_depreciation_id) + REFERENCES a_depreciation (a_depreciation_id), + CONSTRAINT adepreciationconv_aassetacct FOREIGN KEY (a_depreciation_conv_id) + REFERENCES a_depreciation_convention (a_depreciation_convention_id), + CONSTRAINT adepreciationmethod_aassetacct FOREIGN KEY (a_depreciation_method_id) + REFERENCES a_depreciation_method (a_depreciation_method_id), + CONSTRAINT adepreciationtableheader_aasse FOREIGN KEY (a_depreciation_table_header_id) + REFERENCES a_depreciation_table_header (a_depreciation_table_header_id), + CONSTRAINT cacctschema_aassetacct FOREIGN KEY (c_acctschema_id) + REFERENCES c_acctschema (c_acctschema_id), + CONSTRAINT a_asset_acct_isactive_check CHECK (IsActive IN ('Y','N')), + CONSTRAINT a_asset_acct_processing_check CHECK (processing IN ('Y','N')) +) +; + +--recreate second table + +DROP TABLE a_asset_group_acct; + +CREATE TABLE a_asset_group_acct +( + a_asset_group_id number(10) NOT NULL, + c_acctschema_id number(10) NOT NULL, + ad_client_id number(10) NOT NULL, + ad_org_id number(10) NOT NULL, + isactive char(1), + created date NOT NULL, + createdby number(10), + updated date NOT NULL, + updatedby number(10), + a_asset_acct number(10) NOT NULL, + a_depreciation_acct number(10) NOT NULL, + a_accumdepreciation_acct number(10) NOT NULL, + a_disposal_loss varchar2(22), + a_disposal_gain varchar2(10), + a_depreciation_id number(10) NOT NULL, + a_asset_group_acct_id number(10) NOT NULL, + a_depreciation_manual_period varchar2(2), + a_depreciation_variable_perc number, + a_split_percent number DEFAULT 1 NOT NULL, + a_reval_depexp_offset varchar2(22), + a_reval_cost_offset_prior varchar2(22), + a_reval_cost_offset varchar2(22), + a_reval_cal_method varchar2(22), + a_reval_accumdep_offset_prior varchar2(22), + a_reval_accumdep_offset_cur varchar2(22), + a_disposal_revenue varchar2(22), + uselifeyears number(10), + uselifemonths number(10) DEFAULT 0, + processing char(1), + postingtype char(1) DEFAULT 'A' NOT NULL, + depreciationtype varchar2(10), + conventiontype varchar2(10), + a_depreciation_table_header_id number(10), + a_depreciation_manual_amount number, + a_depreciation_calc_type varchar2(10), + a_asset_spread_type varchar2(10), + a_reval_depexp_offset_acct number(10) DEFAULT NULL, + a_reval_cost_offset_prior_acct number(10) DEFAULT NULL, + a_reval_cost_offset_acct number(10) DEFAULT NULL, + a_reval_adep_offset_prior_acct number(10) DEFAULT NULL, + a_reval_adep_offset_cur_acct number(10) DEFAULT NULL, + a_disposal_gain_acct number(10) DEFAULT NULL, + a_depreciation_method_id number(10) NOT NULL, + a_depreciation_conv_f_id number(10) NOT NULL, + a_depreciation_conv_id number(10) NOT NULL, + a_depreciation_method_f_id number(10) NOT NULL, + a_depreciation_variable_perc_f number, + a_depreciation_f_id number(10) NOT NULL, + uselifeyears_f number(10) DEFAULT (0) NOT NULL, + uselifemonths_f number(10) DEFAULT (0) NOT NULL, + a_disposal_revenue_acct number(10) DEFAULT NULL, + a_disposal_loss_acct number(10) DEFAULT NULL, + CONSTRAINT a_asset_group_acct_key PRIMARY KEY (a_asset_group_acct_id), + CONSTRAINT aassetgroup_aassetgroupacct FOREIGN KEY (a_asset_group_id) + REFERENCES a_asset_group (a_asset_group_id), + CONSTRAINT adepreciation_aassetgroupacct FOREIGN KEY (a_depreciation_id) + REFERENCES a_depreciation (a_depreciation_id), + CONSTRAINT adepreciationtableheader_aass3 FOREIGN KEY (a_depreciation_table_header_id) + REFERENCES a_depreciation_table_header (a_depreciation_table_header_id), + CONSTRAINT cacctschema_aassetgroupacct FOREIGN KEY (c_acctschema_id) + REFERENCES c_acctschema (c_acctschema_id), + CONSTRAINT aassetgroupacctisactive_check CHECK (IsActive IN ('Y','N')), + CONSTRAINT aassetgroupacctprocessingchck CHECK (processing IN ('Y','N')) +) +; + +-- May 5, 2011 10:17:12 AM MYT +-- Fixed Asset 3297722 Build Depreciation Workfile wrong button +UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_DATE('2011-05-05 10:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700 +; + +-- May 5, 2011 10:18:01 AM MYT +-- Fixed Asset 3297722 Build Depreciation Workfile wrong button +UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_DATE('2011-05-05 10:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703 +; + +-- *** migration/FA/oracle/006_FA_Stabilization_oracle.sql *** + +-- May 16, 2011 7:48:02 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55792 +; + +-- May 16, 2011 7:53:26 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56064 +; + +-- May 16, 2011 7:53:27 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- May 16, 2011 7:53:28 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56057 +; + +-- May 16, 2011 7:53:29 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- May 16, 2011 7:53:30 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- May 16, 2011 7:53:31 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- May 16, 2011 7:53:32 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- May 16, 2011 7:53:33 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56073 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56068 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56069 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56076 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56077 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=56078 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=56079 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56080 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59266 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59267 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59268 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=59269 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=59270 +; + +-- May 19, 2011 2:53:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:53:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53320 +; + +-- May 19, 2011 2:53:59 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:53:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53323 +; + +-- May 19, 2011 2:54:02 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:54:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53321 +; + +-- May 19, 2011 2:54:03 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53156 +; + +-- May 19, 2011 2:54:08 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53159 +; + +-- May 19, 2011 2:54:14 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-19 02:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53322 +; + +-- May 19, 2011 2:34:31 PM MYT +-- Fixed Assets Usability +UPDATE AD_Process SET Classname='ro.arhipac.adempiere.fa.process.A_Depreciation_Exp_Process',Updated=TO_DATE('2011-05-19 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53211 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET Name='Own contribution',Updated=TO_DATE('2011-05-26 06:14:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59292 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59292 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Column_ID=59292 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Name='Third contribution', PrintName='Third contribution',Updated=TO_DATE('2011-05-26 07:14:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL, AD_Element_ID=54188 WHERE UPPER(ColumnName)='A_VALOARE_TERT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54188 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54188) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:23 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem pi SET PrintName='Third contribution', Name='Third contribution' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54188) +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Name='Own contribution', PrintName='Own contribution',Updated=TO_DATE('2011-05-26 07:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL, AD_Element_ID=54187 WHERE UPPER(ColumnName)='A_VALOARE_COFINANTARE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54187 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54187) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem pi SET PrintName='Own contribution', Name='Own contribution' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54187) +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Description='Financing Type', Name='Financing Type', PrintName='Financing Type',Updated=TO_DATE('2011-05-26 07:15:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL, AD_Element_ID=54186 WHERE UPPER(ColumnName)='A_TIP_FINANTARE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Element_ID=54186 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54186) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:15:20 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem pi SET PrintName='Financing Type', Name='Financing Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54186) +; + +-- *** migration/FA/oracle/007_FA_Stabilization_oracle.sql *** + +-- May 26, 2011 8:41:08 AM MYT +-- Fixed Assets Usability +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2011-05-26 08:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53152 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Client_ID,Created,Updated,IsActive,AD_Org_ID,CreatedBy,UpdatedBy) VALUES ('A_Account_Number_Acct',200015,'D','A_Account_Number_Acct','A_Account_Number_Acct',0,TO_DATE('2012-03-09 13:16:10','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-03-09 13:16:10','YYYY-MM-DD HH24:MI:SS'),'Y',0,100,100) +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_PrintName,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_PrintName,t.PO_Name, '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=200015 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 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET AD_Element_ID=200015, ColumnName='A_Account_Number_Acct', Description=NULL, Help=NULL, Name='A_Account_Number_Acct',Updated=TO_DATE('2011-05-26 10:07:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55393 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55393 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='A_Account_Number_Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55393 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Depreciation_Exp ADD A_Account_Number_Acct NUMBER(10) DEFAULT NULL +; + +ALTER TABLE a_depreciation_exp DROP COLUMN a_account_number; + +-- May 26, 2011 8:52:32 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@DepreciationType@=50006',Updated=TO_DATE('2011-05-26 20:52:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56058 +; + +-- May 26, 2011 8:53:03 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-26 20:53:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56059 +; + +-- May 26, 2011 8:53:17 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2011-05-26 20:53:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56060 +; + +-- May 26, 2011 8:54:08 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=50010|@A_Depreciation_ID@=50006',Updated=TO_DATE('2011-05-26 20:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56061 +; + +-- May 26, 2011 8:56:17 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_F_ID@=50010|@A_Depreciation_F_ID@=50005',Updated=TO_DATE('2011-05-26 20:56:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59257 +; + +-- May 26, 2011 8:56:23 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_ID@=50010|@A_Depreciation_ID@=50005',Updated=TO_DATE('2011-05-26 20:56:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56061 +; + +-- May 26, 2011 9:15:29 PM MYT +-- Fixed Assets Usability +UPDATE A_Depreciation SET DepreciationType='ARH_VAR',Updated=TO_DATE('2011-05-26 21:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50005 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_window +SET isbetafunctionality='N' +WHERE name LIKE '%sset%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%sset%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_window +SET isbetafunctionality='N' +WHERE name LIKE '%epreciat%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%epreciat%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%nbound%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.location' +WHERE ad_column_id=8041 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.locator' +WHERE ad_column_id=8049 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.locator' +WHERE ad_column_id=8073 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.MAssetType$Callout.assetType' +WHERE ad_column_id=59259 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column SET callout = null +WHERE ad_column_id=59455 +; + +-- Nov 24, 2011 9:06:25 AM ICT +-- Complete Fixed Assets +UPDATE A_Asset SET A_Asset_Action='MD' WHERE A_Asset_Action IS NULL +; + +-- Nov 24, 2011 9:09:37 AM ICT +-- Complete Fixed Assets +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2011-11-24 09:09:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59260 +; + +-- Nov 24, 2011 9:12:35 AM ICT +-- Complete Fixed Assets +UPDATE AD_Column SET DefaultValue=NULL, IsMandatory='N',Updated=TO_DATE('2011-11-24 09:12:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Nov 24, 2011 10:58:05 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2011-11-24 10:58:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55954 +; + +-- Nov 24, 2011 10:58:15 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2011-11-24 10:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55968 +; + +-- Nov 24, 2011 10:58:19 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2011-11-24 10:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Nov 24, 2011 10:59:03 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2011-11-24 10:59:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59473 +; + +-- Nov 24, 2011 10:59:15 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2011-11-24 10:59:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55964 +; + +-- Dec 6, 2011 10:53:14 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='7',Updated=TO_DATE('2011-12-06 10:53:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53112 +; + +-- Dec 6, 2011 10:53:55 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2011-12-06 10:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53121 +; + +-- Dec 6, 2011 10:54:04 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2011-12-06 10:54:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53115 +; + +-- Dec 6, 2011 10:54:25 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='7',Updated=TO_DATE('2011-12-06 10:54:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53124 +; + +-- *** migration/FA/oracle/008_FA_Stabilization_oracle.sql *** + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56073 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56068 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56069 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56076 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56077 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=56078 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56079 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=56080 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59266 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59267 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59268 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59269 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=59270 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:23:03 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56058 +; + +-- Dec 6, 2011 11:23:03 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56058 +; + +-- Dec 6, 2011 11:23:07 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56059 +; + +-- Dec 6, 2011 11:23:07 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56059 +; + +-- Dec 6, 2011 11:23:11 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56060 +; + +-- Dec 6, 2011 11:23:11 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56060 +; + +-- Dec 6, 2011 11:23:20 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:23:20 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:23:26 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:23:26 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59268 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59269 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56069 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56068 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59266 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59267 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59270 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56078 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56079 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56076 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56077 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56080 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:25:40 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2011-12-06 11:25:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56055 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56073 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59038 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59039 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55885 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59036 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59037 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59040 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55888 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55889 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55886 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55887 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55890 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55874 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59031 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=55883 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Dec 6, 2011 11:27:27 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55871 +; + +-- Dec 6, 2011 11:27:27 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55871 +; + +-- Dec 6, 2011 11:27:30 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55872 +; + +-- Dec 6, 2011 11:27:30 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55872 +; + +-- Dec 6, 2011 11:27:34 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55873 +; + +-- Dec 6, 2011 11:27:34 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55873 +; + +-- Dec 6, 2011 11:27:37 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:27:37 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=55883 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=55884 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59035 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59252 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59253 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=6185 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6190 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=11524 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=11620 +; + +-- Dec 6, 2011 11:28:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=11620 +; + +-- *** migration/FA/oracle/009_FA_Stabilization_oracle.sql *** + +-- Dec 6, 2011 12:00:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8051 +; + +-- Dec 6, 2011 12:00:11 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:00:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Dec 6, 2011 12:01:19 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55773 +; + +-- Dec 6, 2011 12:01:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59409 +; + +-- Dec 6, 2011 12:01:26 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:01:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55772 +; + +-- Dec 6, 2011 12:01:29 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2011-12-06 12:01:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59408 +; + +-- Dec 6, 2011 12:50:18 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET Name='Group Account',Updated=TO_DATE('2011-12-06 12:50:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 12:50:18 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 12:58:12 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_Table SET AD_Display=13086, AD_Key=6497, AD_Table_ID=472,Updated=TO_DATE('2011-12-06 12:58:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53363 +; + +-- Mar 9, 2012 2:43:25 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET IsIdentifier='N',Updated=TO_DATE('2012-03-09 14:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Mar 9, 2012 2:43:31 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset MODIFY A_Asset_Type_ID NUMBER(10) DEFAULT NULL +; + +-- Mar 9, 2012 2:43:31 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset MODIFY A_Asset_Type_ID NULL +; + +-- Mar 9, 2012 2:57:06 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Help,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Description,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200075,53127,'U',0,'N','N','N',0,'The Invoice Document.','N',10,'N',30,'N','N',1008,'N','Y','N','Y','N','Invoice Identifier','Invoice','C_Invoice_ID','Y',100,TO_DATE('2012-03-09 14:56:58','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_DATE('2012-03-09 14:56:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Mar 9, 2012 2:57:06 PM WIT +-- Complete Fixed Assets +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=200075 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 9, 2012 2:57:34 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset_Disposed ADD C_Invoice_ID NUMBER(10) DEFAULT NULL +; + +-- Mar 9, 2012 2:58:06 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Help,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Description,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200076,53127,'U',0,'N','N','N',0,'The Invoice Line uniquely identifies a single line of an Invoice.','N',10,'N',30,'N','N',1076,'N','Y','N','Y','N','Invoice Detail Line','Invoice Line','C_InvoiceLine_ID','Y',100,TO_DATE('2012-03-09 14:58:04','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_DATE('2012-03-09 14:58:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Mar 9, 2012 2:58:06 PM WIT +-- Complete Fixed Assets +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=200076 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 9, 2012 2:58:12 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset_Disposed ADD C_InvoiceLine_ID NUMBER(10) DEFAULT NULL +; + +-- *** migration/FA/oracle/010_FA_Stabilization_oracle.sql *** + +-- Mar 9, 2012 2:43:25 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET IsIdentifier='N',Updated=TO_DATE('2012-03-09 14:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; +-- Dec 6, 2011 1:11:27 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2011-12-06 13:11:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53328 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Window SET IsActive='N',Updated=TO_DATE('2011-12-06 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53116 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Menu SET Description=NULL, IsActive='N', Name='Asset Class',Updated=TO_DATE('2011-12-06 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53276 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53276 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58991 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58992 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=6152 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6154 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=6149 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8345 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6146 +; +-- Complete Fixed Assets +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58993 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6135 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=6143 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6166 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=55830 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=55831 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=12106 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=58994 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=6139 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=6165 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=6147 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=6136 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=6138 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=12107 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=6151 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=6159 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=6156 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=12876 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=12875 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=6160 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=6213 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6148 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6142 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Dec 6, 2011 1:18:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET Name='Group Account',Updated=TO_DATE('2011-12-06 13:18:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 1:18:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 1:31:45 PM WIT +-- Fixed Asset Stabilization +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,Updated,UpdatedBy) VALUES (0,61470,200035,0,270,TO_DATE('2011-12-06 13:31:45','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','IsFixedAssetInvoice',TO_DATE('2011-12-06 13:31:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 6, 2011 1:31:45 PM WIT +-- Fixed Asset Stabilization +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=200035 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) +; + +-- Dec 6, 2011 1:31:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200035 +; + +-- Dec 6, 2011 1:31:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=5819 +; + +-- Dec 6, 2011 1:32:11 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2011-12-06 13:32:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5819 +; + +-- *** migration/FA/oracle/011_FA_Stabilization_oracle.sql *** + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59397 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59140 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59402 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59141 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59403 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59406 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59409 +; + +-- Dec 6, 2011 1:42:19 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2011-12-06 13:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53387 +; + +-- Dec 6, 2011 1:42:20 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2011-12-06 13:42:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53607 +; + +-- Dec 6, 2011 1:42:24 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2011-12-06 13:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53606 +; + +-- Dec 6, 2011 1:42:25 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2011-12-06 13:42:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53386 +; + +-- Dec 6, 2011 7:07:59 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2011-12-06 19:07:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Dec 6, 2011 7:08:14 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET ReadOnlyLogic='1=1',Updated=TO_DATE('2011-12-06 19:08:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Dec 6, 2011 7:08:24 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2011-12-06 19:08:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59473 +; + +-- Dec 6, 2011 7:08:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30, ReadOnlyLogic='1=1',Updated=TO_DATE('2011-12-06 19:08:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55964 +; + +-- *** migration/FA/oracle/012_FA_Stabilization_oracle.sql *** + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59475 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59477 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59510 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59511 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59480 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59483 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59484 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59504 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59505 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 3:10:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 3:10:23 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 3:10:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 3:10:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 3:10:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 3:10:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 3:10:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 3:10:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 3:10:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 3:10:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 3:10:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 3:10:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:10:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 3:10:48 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 15:10:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 3:11:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Tab SET HasTree='Y',Updated=TO_DATE('2012-03-09 15:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53334 +; + +-- Mar 9, 2012 3:15:05 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsActive='N',Updated=TO_DATE('2012-03-09 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53119 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET Name='Asset Type', Description=NULL, IsActive='N',Updated=TO_DATE('2012-03-09 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:15:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=301 +; + +-- Mar 9, 2012 3:16:07 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:16:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=300 +; + +-- Mar 9, 2012 3:16:18 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=274 +; + +-- Mar 9, 2012 3:16:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:16:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=223 +; + +-- Mar 9, 2012 3:16:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=222 +; + +-- Mar 9, 2012 3:16:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=201 +; + +-- Mar 9, 2012 3:18:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:18:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53165 +; + +-- Mar 9, 2012 3:18:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53168 +; + +-- Mar 9, 2012 3:18:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53167 +; + +-- Mar 9, 2012 3:18:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53166 +; + +-- Mar 9, 2012 3:18:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53170 +; + +-- Mar 9, 2012 3:19:05 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:19:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53056 +; + +-- Mar 9, 2012 3:19:37 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53057 +; + +-- Mar 9, 2012 3:19:41 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53172 +; + +-- Mar 9, 2012 3:19:48 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:19:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53059 +; + +-- Mar 9, 2012 3:19:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:19:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53174 +; + +-- Mar 9, 2012 3:20:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53054 +; + +-- Mar 9, 2012 3:20:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:20:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53154 +; + +-- Mar 9, 2012 3:20:29 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53113 +; + +-- Mar 9, 2012 3:20:33 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:20:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53153 +; + +-- Mar 9, 2012 3:20:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53052 +; + +-- Mar 9, 2012 3:20:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53151 +; + +-- Mar 9, 2012 3:20:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53053 +; + +-- Mar 9, 2012 3:21:10 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53277 +; + +-- Mar 9, 2012 3:21:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53117 +; + +-- Mar 9, 2012 3:21:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:21:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53048 +; + +-- Mar 9, 2012 3:21:28 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53144 +; + +-- Mar 9, 2012 3:21:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53107 +; + +-- Mar 9, 2012 3:21:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53148 +; + +-- Mar 9, 2012 3:21:58 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:21:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53051 +; + +-- Mar 9, 2012 3:22:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:22:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53147 +; + +-- Mar 9, 2012 3:22:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53146 +; + +-- Mar 9, 2012 3:22:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53050 +; + +-- Mar 9, 2012 3:22:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:22:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53143 +; + +-- Mar 9, 2012 3:22:23 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:22:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53099 +; + +-- Mar 9, 2012 3:22:33 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53046 +; + +-- Mar 9, 2012 3:22:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53140 +; + +-- Mar 9, 2012 3:23:09 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53049 +; + +-- Mar 9, 2012 3:23:19 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53097 +; + +-- Mar 9, 2012 3:23:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:23:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53142 +; + +-- Mar 9, 2012 3:23:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:23:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53047 +; + +-- Mar 9, 2012 3:23:40 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:23:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53141 +; + +-- Mar 9, 2012 3:23:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_DATE('2012-03-09 15:23:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53136 +; + +-- Mar 9, 2012 3:23:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_DATE('2012-03-09 15:23:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53133 +; + +-- Mar 9, 2012 3:24:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:24:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53278 +; + +-- Mar 9, 2012 3:24:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:24:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53137 +; + +-- Mar 9, 2012 3:24:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:24:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53275 +; + +-- Mar 9, 2012 3:24:11 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:24:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138 +; + +-- Mar 9, 2012 3:24:16 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsActive='N',Updated=TO_DATE('2012-03-09 15:24:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53045 +; + +-- Mar 9, 2012 3:24:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:24:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53115 +; + +-- Mar 9, 2012 3:24:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y', IsActive='Y',Updated=TO_DATE('2012-03-09 15:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53045 +; + +-- Mar 9, 2012 3:24:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET Name='Asset Revaluation Index', Description='Set the Revaluate Assets Index or Factors', IsActive='Y',Updated=TO_DATE('2012-03-09 15:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138 +; + +-- Mar 9, 2012 3:24:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53044 +; + +-- Mar 9, 2012 3:24:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_DATE('2012-03-09 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53118 +; + +-- Mar 9, 2012 3:25:10 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53158 +; + +-- Mar 9, 2012 3:25:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53161 +; + +-- Mar 9, 2012 3:25:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53159 +; + +-- Mar 9, 2012 3:25:20 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53160 +; + +-- Mar 9, 2012 3:25:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53157 +; + +-- Mar 9, 2012 3:25:28 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53162 +; + +-- Mar 9, 2012 3:25:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:25:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53156 +; + +-- Mar 9, 2012 3:25:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_DATE('2012-03-09 15:25:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53155 +; + +-- Mar 9, 2012 3:35:20 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2012-03-09 15:35:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53145 +; + +-- Mar 9, 2012 3:35:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 15:35:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6152 +; + +-- *** migration/FA/oracle/013_FA_Stabilization_oracle.sql *** + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 5:53:21 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59494 +; + +-- Mar 9, 2012 5:53:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 5:53:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:53:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:53:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:53:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 5:53:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 5:53:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 5:53:49 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 5:53:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:53:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 5:53:53 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 5:53:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 5:53:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 5:54:00 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:54:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 5:54:01 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:54:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 5:54:04 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:54:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 5:54:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:54:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 5:54:14 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 5:54:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET DefaultValue=NULL, IsActive='N',Updated=TO_DATE('2012-03-09 17:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53417 +; + +-- Mar 9, 2012 5:55:07 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET DefaultValue='N',Updated=TO_DATE('2012-03-09 17:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53418 +; + +-- Mar 9, 2012 5:55:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_DATE('2012-03-09 17:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53413 +; + +-- Mar 9, 2012 5:55:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_DATE('2012-03-09 17:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53414 +; + +-- Mar 9, 2012 5:55:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_DATE('2012-03-09 17:55:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53414 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56057 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59255 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59254 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56062 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59258 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Mar 9, 2012 5:56:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct',Updated=TO_DATE('2012-03-09 17:56:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:56:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET Name='Disposal Revenue Acct',Updated=TO_DATE('2012-03-09 17:57:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59400 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59400 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=59400 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Element SET Name='Disposal Revenue Acct', PrintName='Disposal Revenue Acct',Updated=TO_DATE('2012-03-09 17:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL, AD_Element_ID=54195 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54195) AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Revenue Acct', Name='Disposal Revenue Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=54195) +; + +-- Mar 9, 2012 5:58:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_DATE('2012-03-09 17:58:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56070 +; + +-- Mar 9, 2012 5:58:41 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_DATE('2012-03-09 17:58:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:58:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:58:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:58:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_DATE('2012-03-09 17:58:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 5:59:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_DATE('2012-03-09 17:59:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:59:09 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25, IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:59:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59265 +; + +-- Mar 9, 2012 5:59:21 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 17:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:59:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 17:59:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59014 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59013 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59015 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59016 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56018 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56020 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59017 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59018 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59019 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59020 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59021 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59022 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59023 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59024 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59025 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59026 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59027 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56024 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59028 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 18:00:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 18:00:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:39 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 18:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:39 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2012-03-09 18:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 18:00:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59028 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55883 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55884 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55878 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55879 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55867 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55870 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59030 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55877 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Mar 9, 2012 6:01:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 18:01:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59035 +; + +-- Mar 9, 2012 6:01:49 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-03-09 18:01:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55882 +; + +-- Mar 9, 2012 6:02:00 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y', AD_FieldGroup_ID=NULL,Updated=TO_DATE('2012-03-09 18:02:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55879 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6142 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6148 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- *** migration/FA/oracle/014_FA_Stabilization_oracle.sql *** + +-- Mar 9, 2012 6:13:29 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2012-03-09 18:13:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55768 +; + +-- Mar 9, 2012 6:13:32 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset_Group_Acct MODIFY A_Reval_Cal_Method NVARCHAR2(22) DEFAULT NULL +; + +-- Mar 9, 2012 6:21:53 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Apr 12, 2012 4:02:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET WindowType='M',Updated=TO_DATE('2012-04-12 16:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53058 +; + +-- Apr 12, 2012 4:19:41 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2012-04-12 16:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347 +; + +-- Apr 12, 2012 4:20:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2012-04-12 16:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747 +; + +-- Mar 15, 2012 5:54:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AccessLevel,IsBetaFunctionality,IsServerProcess,ShowHelp,EntityType,Statistic_Seconds,Statistic_Count,Classname,CopyFromProcess,Description,Value,Name,AD_Org_ID,AD_Client_ID,CreatedBy,Updated,UpdatedBy,Created,IsActive) VALUES ('There are four parameters: +a. Project, is the Project that will be converted to asset. This project will be closed after this process completes +b. Product, is the asset product that will be act as the base for the newly created asset +c. UseLifeYears, is an optional parameter. Use this if you want a different use life years for the newly created asset, instead of the default uselifeyears from asset group accounting. +d. Transaction Date, will become in-service-date for the newly created asset.',200000,'N','N','1','N','N','Y','U',0,0,'org.adempiere.process.ProjectCreateAsset','N','This process creates asset from project and automatically close the project','FA_ProjectCreateAsset','FA_ProjectCreateAsset',0,0,100,TO_DATE('2012-03-15 17:54:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-03-15 17:54:36','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Mar 15, 2012 5:54:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Help,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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200000 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) +; + +-- Mar 15, 2012 5:56:37 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,AD_Val_Rule_ID,SeqNo,IsMandatory,DefaultValue,EntityType,DisplayLogic,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200000,0,200000,'Y',30,232,10,'N','@C_Project_ID@','U','1=2','Project','C_Project_ID','Y',0,100,TO_DATE('2012-03-15 17:56:37','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-03-15 17:56:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:56:37 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200000 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) +; + +-- Mar 15, 2012 5:58:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,SeqNo,IsMandatory,DefaultValue,EntityType,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200001,0,200000,'Y',15,30,'N','@#Date@','U','Transaction Date','DateTrx','Y',0,100,TO_DATE('2012-03-15 17:58:03','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-03-15 17:58:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:58:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200001 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) +; + +-- Mar 15, 2012 5:58:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,SeqNo,IsMandatory,EntityType,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200002,0,200000,'Y',11,40,'N','U','Use Life Years','UseLifeYears','Y',0,100,TO_DATE('2012-03-15 17:58:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-03-15 17:58:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:58:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200002 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) +; + +-- Mar 22, 2012 2:31:36 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Column_ID,IsDisplayed,IsSameLine,IsHeading,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,IsReadOnly,EntityType,Name,AD_Field_ID,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,61471,'Y','N','N','N','Y',290,'N','U','IsFixedAssetInvoice',200048,100,0,'Y',TO_DATE('2012-03-22 14:31:31','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-03-22 14:31:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Mar 22, 2012 2:31:36 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200048 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 22, 2012 2:31:50 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=200048 +; + +-- Mar 22, 2012 2:31:59 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-03-22 14:31:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200048 +; + +-- Mar 22, 2012 2:32:19 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Column_ID,IsDisplayed,IsSameLine,IsHeading,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,IsReadOnly,EntityType,Name,AD_Field_ID,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,61471,'Y','N','N','N','Y',263,'N','U','IsFixedAssetInvoice',200050,100,0,'Y',TO_DATE('2012-03-22 14:32:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-03-22 14:32:18','YYYY-MM-DD HH24:MI:SS')) +; + +-- Mar 22, 2012 2:32:19 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200050 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 22, 2012 2:32:44 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-03-22 14:32:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200050 +; + +update ad_modelvalidator +set modelvalidationclass = 'org.idempiere.fa.model.ModelValidator' +where ad_modelvalidator_id=50004; + +update ad_column +set callout='org.idempiere.fa.model.CalloutAsset.location' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.model.CalloutAsset.location'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutAsset.locator' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.model.CalloutAsset.locator'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.amt' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Addition.amt'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Transfer.dateDoc' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Transfer.dateDoc'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Transfer.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Transfer.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Reval.dateDoc' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Reval.dateDoc'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Reval.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Reval.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.date' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.date'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.amt' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.amt'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.project' +where ad_column_id IN (select ad_column_id from ad_column + where callout='org.compiere.FA.CalloutA_Asset_Addition.project'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id IN (select ad_column_id from ad_column + where callout='org.compiere.FA.CalloutA_Asset_Addition.periodOffset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.amt;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59467; + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.dateDoc;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59465; + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.uselife;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59463; + +update ad_column +set callout = 'org.idempiere.fa.model.' || substr (callout, 17) +where callout like 'org.compiere.FA.%' and ad_column_id IN ( +59293,55601,55784,55603); + +update ad_column +set callout = 'org.idempiere.fa.' || substr (callout, 17) +where callout like 'org.compiere.FA.%' and ad_column_id IN ( +59283,59284,59281,59282); + +update ad_process +set classname='org.idempiere.fa.process.A_Depreciation_Workfile_Build' +where ad_process_id=53207; + +update ad_process +set classname='org.idempiere.fa.process.A_Depreciation_Exp_Process' +where ad_process_id=53211; + +update ad_process +set classname='org.idempiere.fa.process.ProjectCreateAsset' +where ad_process_id=200000; + +update ad_process +set classname='org.idempiere.fa.process.ImportFixedAsset' +where ad_process_id=53215; + +--select * from ad_process where classname like '%sset%' + +--select callout from ad_column where callout = 'sset' order by callout desc + +-- *** migration/FA/oracle/015_FA_Stabilization_oracle.sql *** + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56174 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56174 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56175 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56175 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56176 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56176 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56177 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56177 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56178 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56178 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56179 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56179 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56180 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56180 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56181 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56181 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56182 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56182 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56183 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56183 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53169 +; + +-- Jun 11, 2012 12:49:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53169 +; + +-- Jun 11, 2012 12:49:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56140 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56140 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56141 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56141 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56142 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56142 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56143 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56143 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56144 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56144 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56145 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56145 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56146 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56146 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56147 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56147 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56148 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56148 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56149 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56149 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56150 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56150 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56151 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56151 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56152 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56152 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56153 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56153 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56154 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56154 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56155 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56155 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56156 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56156 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56157 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56157 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56158 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56158 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56159 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56159 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56160 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56160 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56161 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56161 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56162 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56162 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56163 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56163 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56164 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56164 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56165 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56165 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56166 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56166 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56167 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56167 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56168 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56168 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53168 +; + +-- Jun 11, 2012 12:50:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53168 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56098 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56098 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56099 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56099 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56100 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56100 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56101 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56101 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56102 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56102 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56103 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56103 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56104 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56104 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56105 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56105 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56106 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56106 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56107 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56107 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56108 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56108 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56109 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56109 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56110 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56110 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56111 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56111 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56112 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56112 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56113 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56113 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56114 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56114 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56115 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56115 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56116 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56116 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56117 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56117 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56118 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56118 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56119 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56119 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56120 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56120 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56121 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56121 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56122 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56122 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56123 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56123 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56124 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56124 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56125 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56125 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56126 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56126 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56127 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56127 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56128 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56128 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56129 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56129 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56130 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56130 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56131 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56131 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56132 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56132 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56133 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56133 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56134 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56134 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56135 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56135 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56136 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56136 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56137 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56137 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56138 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56138 +; + +-- Jun 11, 2012 12:50:21 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53167 +; + +-- Jun 11, 2012 12:50:21 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53167 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53170 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53170 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53170 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:50:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window_Trl WHERE AD_Window_ID=53056 +; + +-- Jun 11, 2012 12:50:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window WHERE AD_Window_ID=53056 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53165 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53165 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53165 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:51:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53166 +; + +-- Jun 11, 2012 12:51:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53166 +; + +-- Jun 11, 2012 12:51:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53133 +; + +-- Jun 11, 2012 12:51:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53133 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53168 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53168 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53168 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:51:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53167 +; + +-- Jun 11, 2012 12:51:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53167 +; + +-- Jun 11, 2012 12:51:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53137 +; + +-- Jun 11, 2012 12:51:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53137 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53167 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53167 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53167 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:52:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53135 +; + +-- Jun 11, 2012 12:52:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53135 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53166 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53166 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53166 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56085 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56085 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56086 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56086 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56087 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56087 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56088 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56088 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56089 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56089 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56090 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56090 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56091 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56091 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56092 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56092 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56093 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56093 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56094 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56094 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56095 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56095 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56096 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56096 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56097 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56097 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53166 +; + +-- Jun 11, 2012 12:52:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53166 +; + +-- Jun 11, 2012 12:54:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50015 +; + +-- Jun 11, 2012 12:54:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50016 +; + +-- Jun 11, 2012 12:54:27 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window_Trl WHERE AD_Window_ID=53055 +; + +-- Jun 11, 2012 12:54:27 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window WHERE AD_Window_ID=53055 +; + +-- Jun 11, 2012 1:22:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50018 +; + +-- Jun 11, 2012 1:22:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50010 +; + +-- Jun 11, 2012 1:22:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50013 +; + +-- Jun 11, 2012 1:22:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50006 +; + +-- Jun 11, 2012 1:22:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50008 +; + +-- Jun 11, 2012 1:22:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50019 +; + +-- Jun 11, 2012 1:22:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50017 +; + +-- Jun 11, 2012 1:22:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50009 +; + +-- Jun 11, 2012 1:22:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50005 +; + +-- Jun 11, 2012 1:22:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50007 +; + +-- Jun 11, 2012 1:22:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50012 +; + +-- Jun 11, 2012 1:22:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50014 +; + +-- Jun 11, 2012 1:22:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=115 +; + +-- Jun 11, 2012 1:22:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50011 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53169 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53169 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53169 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=222 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=223 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=185 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=340 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53264 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53206 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=339 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=338 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=363 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=376 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=382 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=486 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=425 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=378 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=374 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=423 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53263 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=373 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=424 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=222 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=223 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=185 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=340 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53264 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53206 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=339 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=338 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=363 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=376 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=382 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=486 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=425 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=378 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=374 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=423 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53263 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=373 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=424 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53164 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53164 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53164 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=478 +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=478 +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=478 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53135 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53135 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53135 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53163 +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53163 +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53163 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53124 +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53124 +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53124 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53279 +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53279 +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53279 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53276 +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53276 +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53276 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53134 +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53134 +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM n WHERE Node_ID=53134 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=n.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 2:29:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_DATE('2012-06-11 14:29:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53175 +; + +-- Jun 11, 2012 2:30:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_DATE('2012-06-11 14:30:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53174 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56238 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56231 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56237 +; + +-- Jun 11, 2012 4:06:32 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsIdentifier='N', SeqNo=NULL, IsUpdateable='N',Updated=TO_DATE('2012-06-11 16:06:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55631 +; + +-- Jun 11, 2012 4:06:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=10,Updated=TO_DATE('2012-06-11 16:06:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55733 +; + +-- *** migration/FA/oracle/016_FA_Stabilization_oracle.sql *** + +UPDATE ad_column +SET callout = 'org.idempiere.fa.model.CalloutAsset.Field_Clear' +WHERE ad_column_id=55601; + +UPDATE ad_column +SET callout = 'org.idempiere.fa.model.CalloutAsset.Table_Period' +WHERE ad_column_id IN (55603,55784); + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu (AD_Menu_ID,IsSummary,Action,IsSOTrx,IsReadOnly,AD_Process_ID,EntityType,IsCentrallyMaintained,Name,Created,IsActive,UpdatedBy,AD_Client_ID,CreatedBy,Updated,AD_Org_ID) VALUES (200006,'N','P','N','N',200000,'D','Y','Create Asset From Project',TO_DATE('2012-06-14 15:45:39','YYYY-MM-DD HH24:MI:SS'),'Y',100,0,100,TO_DATE('2012-06-14 15:45:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=200006 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_TreeNodeMM (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, 200006, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200006) +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200006 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 14, 2012 3:46:39 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200210,53137,'D',0,'N','N','N',0,'N',10,'N',22,'N','N',53493,'N','Y','N','Y','N','A_Salvage_Value','A_Salvage_Value','Y',100,TO_DATE('2012-06-14 15:46:37','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_DATE('2012-06-14 15:46:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 14, 2012 3:46:39 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200210 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) +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Salvage Value', PrintName='Asset Salvage Value',Updated=TO_DATE('2012-06-14 15:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL, AD_Element_ID=53493 WHERE UPPER(ColumnName)='A_SALVAGE_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 AND IsCentrallyMaintained='Y' +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53493) AND IsCentrallyMaintained='Y' +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Salvage Value', Name='Asset Salvage Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53493) +; + +-- Jun 14, 2012 3:47:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Addition ADD A_Salvage_Value NUMBER DEFAULT NULL +; + +-- Jun 14, 2012 3:47:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200211,53277,'D',0,'N','N','N',0,'N',10,'N',22,'N','N',53493,'N','Y','N','Y','N','Asset Salvage Value','A_Salvage_Value','Y',100,TO_DATE('2012-06-14 15:47:46','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_DATE('2012-06-14 15:47:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 14, 2012 3:47:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200211 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) +; + +-- Jun 14, 2012 3:47:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD A_Salvage_Value NUMBER DEFAULT NULL +; + +-- Jun 14, 2012 3:48:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',10,'Y','N','N',200210,'N','Y',53324,200159,'N','D','Asset Salvage Value',100,0,'Y',TO_DATE('2012-06-14 15:48:12','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-06-14 15:48:12','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200159 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) +; + +-- Jun 14, 2012 3:48:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',20,'Y','N','N',59587,'N','Y',53324,200160,'N','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','D','The date+time (expressed in decimal format) when the document has been processed','Processed On',100,0,'Y',TO_DATE('2012-06-14 15:48:13','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-06-14 15:48:13','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200160 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) +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200160 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=200159 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59127 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59380 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59381 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59382 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59383 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59384 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59385 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59386 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59387 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59388 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59389 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59390 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59393 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 14, 2012 3:48:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',10,'Y','N','N',200211,'N','Y',53334,200161,'N','D','Asset Salvage Value',100,0,'Y',TO_DATE('2012-06-14 15:48:46','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-06-14 15:48:46','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200161 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) +; + +-- Jun 14, 2012 3:48:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=200161 +; + +-- Jun 14, 2012 3:48:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56006 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56020 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59017 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59018 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59019 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59020 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59021 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59022 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59023 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59024 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59025 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59026 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59027 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56024 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56011 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59028 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56008 +; + +-- Jun 14, 2012 3:50:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2012-06-14 15:50:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8047 +; + +-- Jun 14, 2012 3:50:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset MODIFY M_Product_ID NUMBER(10) +; + +-- Jun 14, 2012 3:50:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset MODIFY M_Product_ID NOT NULL +; + +-- Jun 14, 2012 3:51:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-06-14 15:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59376 +; + +-- Jun 14, 2012 3:51:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-06-14 15:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59375 +; + +-- Jun 14, 2012 4:46:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutAsset.asset',Updated=TO_DATE('2012-06-14 16:46:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55954 +; + +-- Jun 14, 2012 4:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55773 +; + +-- Jun 14, 2012 4:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59409 +; + +-- Jun 14, 2012 4:52:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55772 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59408 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59281 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59282 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59283 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_DATE('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59284 +; + +-- Oct 5, 2012 3:46:27 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element (AD_Element_ID,ColumnName,EntityType,Name,PrintName,AD_Client_ID,Created,Updated,IsActive,AD_Org_ID,CreatedBy,UpdatedBy) VALUES (200176,'IsFixedAsset','U','IsFixedAsset','IsFixedAsset',0,TO_DATE('2012-10-05 15:46:20','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-10-05 15:46:20','YYYY-MM-DD HH24:MI:SS'),'Y',0,100,100) +; + +-- Oct 5, 2012 3:46:27 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_PrintName,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_PrintName,t.PO_Name, '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=200176 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) +; + +-- Oct 5, 2012 3:47:45 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Value,Name,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,IsActive,AD_Client_ID) VALUES (200039,270,'D','A','Asset',TO_DATE('2012-10-05 15:47:41','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-10-05 15:47:41','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',0) +; + +-- Oct 5, 2012 3:47:45 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200039 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) +; + +-- Oct 5, 2012 4:10:07 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (DefaultValue,AD_Table_ID,AD_Column_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES ('Y',542,200587,'U',0,'N','N','N',0,'N',1,'N',20,'N','N',200176,'N','Y','N','Y','N','IsFixedAsset','IsFixedAsset','Y',100,TO_DATE('2012-10-05 16:10:02','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_DATE('2012-10-05 16:10:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Oct 5, 2012 4:10:07 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200587 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) +; + +-- Oct 5, 2012 4:10:37 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Tab_ID,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,452,'Y','N','N',200587,'N','Y',200602,'N','U','IsFixedAsset',100,0,'Y',TO_DATE('2012-10-05 16:10:31','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-10-05 16:10:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 5, 2012 4:10:37 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200602 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) +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Fixed Asset ?',Updated=TO_DATE('2012-10-05 16:11:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200176 +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200176 +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Fixed Asset ?', Name='IsFixedAsset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200176) +; + +-- Oct 5, 2012 4:11:58 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Fixed Asset?',Updated=TO_DATE('2012-10-05 16:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200602 +; + +-- Oct 5, 2012 4:11:58 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=200602 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Element SET ColumnName='A_AssetType',Updated=TO_DATE('2012-10-24 18:03:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54171 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Column SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL WHERE AD_Element_ID=54171 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL, AD_Element_ID=54171 WHERE UPPER(ColumnName)='A_ASSETTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL WHERE AD_Element_ID=54171 AND IsCentrallyMaintained='Y' +; + +ALTER TABLE A_ASSET RENAME COLUMN A_ASSET_TYPE TO A_ASSETTYPE +; + +-- Oct 24, 2012 9:15:37 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +ALTER TABLE A_Asset_Group ADD IsFixedAsset CHAR(1) DEFAULT 'Y' CHECK (IsFixedAsset IN ('Y','N')) +; + +SELECT register_migration_script('945_IDEMPIERE-197_FixedAssets.sql') FROM dual +; + diff --git a/migration/360lts-release/oracle/946_IDEMPIERE-197_FixedAssets.sql b/migration/360lts-release/oracle/946_IDEMPIERE-197_FixedAssets.sql new file mode 100644 index 0000000000..6cf35bfe10 --- /dev/null +++ b/migration/360lts-release/oracle/946_IDEMPIERE-197_FixedAssets.sql @@ -0,0 +1,29 @@ +-- Position new fixed assets fields according to new grid positioning + +UPDATE AD_Field SET XPosition=3 WHERE ad_field_uu is null and seqnogrid is null AND IsSameLine='Y' AND IsActive='Y'; + +UPDATE AD_Field SET XPosition=1 WHERE ad_field_uu is null and seqnogrid is null AND IsSameline='N' AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=1 WHERE ad_field_uu is null and seqnogrid is null AND DisplayLength<30 AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=3 WHERE ad_field_uu is null and seqnogrid is null AND DisplayLength>=30 AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=3 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=14) AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=5 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=36) AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=8 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=34) AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=2 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=1 AND ColumnSpan=1 AND IsActive='Y'); + +UPDATE AD_Field SET XPosition=4,ColumnSpan=2 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=3 AND ColumnSpan=1 AND IsActive='Y'); + +UPDATE AD_Field SET XPosition=XPosition+1 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT fi.AD_Field_ID FROM AD_Field fi INNER JOIN AD_Column c ON (fi.AD_Column_ID=C.AD_Column_ID) WHERE c.AD_Reference_ID in (20,28) AND fi.IsActive='Y'); + +UPDATE AD_Field SET ColumnSpan=5 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=1 AND ColumnSpan=3 AND IsActive='Y'); + +UPDATE AD_Field SET seqnogrid=seqno WHERE ad_field_uu is null and seqnogrid is null; + +SELECT register_migration_script('946_IDEMPIERE-197_FixedAssets.sql') FROM dual +; + diff --git a/migration/360lts-release/postgresql/928_IDEMPIERE-454.sql b/migration/360lts-release/postgresql/928_IDEMPIERE-454.sql new file mode 100644 index 0000000000..cda2b6664e --- /dev/null +++ b/migration/360lts-release/postgresql/928_IDEMPIERE-454.sql @@ -0,0 +1,93 @@ +-- Oct 7, 2012 7:15:57 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_ToolBarButton (Name,ComponentName,Classname,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_Client_ID,AD_Org_ID,Created,CreatedBy,AD_ToolBarButton_ID,Updated,UpdatedBy,IsActive,AD_ToolBarButton_UU) VALUES ('zk Window - File Import','FileImport','org.idempiere.ui.window','N',0,0,0,0,TO_TIMESTAMP('2012-10-07 19:15:57','YYYY-MM-DD HH24:MI:SS'),100,1000007,TO_TIMESTAMP('2012-10-07 19:15:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','afdd17a6-5fd1-411e-8596-5310aa68785f') +; + +-- Oct 25, 2012 11:42:24 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','Field {0} not found',200082,'D','a41866df-ebaf-4ea4-a5be-694b21d076c6','FieldNotFound','Y',TO_TIMESTAMP('2012-10-25 23:42:22','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:42:22','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:42:24 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200082 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) +; + +-- Oct 25, 2012 11:43:32 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} not a window field',200083,'D','ff2e000e-330e-40d7-8da2-37c558c02fae','NotAWindowField','Y',TO_TIMESTAMP('2012-10-25 23:43:31','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:43:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:43:32 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200083 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) +; + +-- Oct 25, 2012 11:45:01 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} is readonly',200084,'D','914303a5-b1b7-46db-9d3d-953258f1815c','FieldIsReadOnly','Y',TO_TIMESTAMP('2012-10-25 23:45:00','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:45:00','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:45:01 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200084 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) +; + +-- Oct 25, 2012 11:45:50 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} is not displayed',200085,'D','6406807b-ead4-4bbe-9221-8d3936e77f22','FieldNotDisplayed','Y',TO_TIMESTAMP('2012-10-25 23:45:49','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:45:49','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:45:50 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200085 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) +; + +-- Oct 25, 2012 11:46:55 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','{0} not resolved = ({1})',200086,'D','bbaa12b8-df37-4a2a-812f-144bbfdef1a9','ForeignNotResolved','Y',TO_TIMESTAMP('2012-10-25 23:46:53','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:46:53','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:46:55 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200086 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) +; + +-- Oct 25, 2012 11:48:44 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','ERROR: {0} parent cannot be changed',200087,'D','a47623df-6f91-42ad-9172-2459a680c3cf','ParentCannotChange','Y',TO_TIMESTAMP('2012-10-25 23:48:43','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:48:43','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:48:44 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200087 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) +; + +-- Oct 25, 2012 11:49:42 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','ERROR: {0} not editable',200088,'D','78a73537-7dee-44cc-b66d-76cfba2fb199','FieldNotEditable','Y',TO_TIMESTAMP('2012-10-25 23:49:40','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:49:40','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:49:42 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200088 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) +; + +-- Oct 25, 2012 11:50:46 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Client_ID,AD_Org_ID,Created) VALUES ('E','Successfully saved [{0}]',200089,'D','9d255a1a-e4ea-402b-98ee-ad168603b4c5','SuccessfullySaved','Y',TO_TIMESTAMP('2012-10-25 23:50:45','YYYY-MM-DD HH24:MI:SS'),100,100,0,0,TO_TIMESTAMP('2012-10-25 23:50:45','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 25, 2012 11:50:46 PM COT +-- IDEMPIERE-454 Easy import +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) 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,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200089 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) +; + +-- Oct 25, 2012 11:50:57 PM COT +-- IDEMPIERE-454 Easy import +UPDATE AD_Message SET MsgType='I',Updated=TO_TIMESTAMP('2012-10-25 23:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=200089 +; + +SELECT register_migration_script('928_IDEMPIERE-454.sql') FROM dual +; + diff --git a/migration/360lts-release/postgresql/945_IDEMPIERE-197_FixedAssets.sql b/migration/360lts-release/postgresql/945_IDEMPIERE-197_FixedAssets.sql new file mode 100644 index 0000000000..9cc319081e --- /dev/null +++ b/migration/360lts-release/postgresql/945_IDEMPIERE-197_FixedAssets.sql @@ -0,0 +1,40282 @@ +-- *** migration/FA/postgresql/001_FA_Stabilization_postgresql.sql *** + +-- Jun 17, 2010 3:12:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Asset', Processing='N', WindowType='M',Updated=TO_TIMESTAMP('2010-06-17 15:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=251 +; + +-- Jun 17, 2010 3:12:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='3', Description='Asset used internally or by customers', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='Asset', ReplicationType='L', TableName='A_Asset',Updated=TO_TIMESTAMP('2010-06-17 15:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=539 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_ID', Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', Name='Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset',Updated=TO_TIMESTAMP('2010-06-17 15:12:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1884 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1884 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13 +; + +-- Jun 17, 2010 3:12:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8070 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Lot', Description='Lot number (alphanumeric)', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', IsActive='Y', Name='Lot No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lot No',Updated=TO_TIMESTAMP('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=446 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=446 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10 +; + +-- Jun 17, 2010 3:12:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=255, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8038 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_User_ID', Description='User within the system - Internal or Business Partner Contact', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', IsActive='Y', Name='User/Contact', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='User',Updated=TO_TIMESTAMP('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=138 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=138 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='AD_User.C_BPartner_ID=@C_BPartner_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='AD_User BPartner', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=123 +; + +-- Jun 17, 2010 3:12:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=123, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8039 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','AD_User_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDisposed', Description='The asset is disposed', EntityType='D', Help='The asset is no longer used and disposed', IsActive='Y', Name='Disposed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Disposed',Updated=TO_TIMESTAMP('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1939 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1939 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 17, 2010 3:12:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1939, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDisposed', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is disposed', EntityType='D', FieldLength=1, Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposed', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8040 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_Locator_ID', Description='Warehouse Locator', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', IsActive='Y', Name='Locator', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator',Updated=TO_TIMESTAMP('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=448 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=448 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Warehouse Locator Data type', EntityType='D', Help=NULL, IsActive='Y', Name='Locator (WH)', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=31 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=31 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=448, AD_Process_ID=NULL, AD_Reference_ID=31, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout='compiere.model.CalloutAsset.location', ColumnName='M_Locator_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Warehouse Locator', EntityType='D', FieldLength=22, Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Locator', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8041 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','M_Locator_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsInPosession', Description='The asset is in the possession of the organization', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', IsActive='Y', Name='In Possession', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Possession',Updated=TO_TIMESTAMP('2010-06-17 15:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1940 +; + +-- Jun 17, 2010 3:12:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1940 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1940, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsInPosession', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is in the possession of the organization', EntityType='D', FieldLength=1, Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Possession', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8042 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_TIMESTAMP('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8043 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDepreciationDate', Description='Date of last depreciation', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', IsActive='Y', Name='Asset Depreciation Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset depreciation date',Updated=TO_TIMESTAMP('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1931 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1931 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15 +; + +-- Jun 17, 2010 3:12:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8044 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8045 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeYears', Description='Years of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Years', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life years',Updated=TO_TIMESTAMP('2010-06-17 15:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1947 +; + +-- Jun 17, 2010 3:12:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1947 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=11 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8046 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=8046 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='M_Product.IsSummary=''N'' AND M_Product.IsActive=''Y''', Description=NULL, EntityType='D', IsActive='Y', Name='M_Product (Trx)', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=231 +; + +-- Jun 17, 2010 3:12:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=454, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=231, Callout=NULL, ColumnName='M_Product_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product, Service, Item', EntityType='D', FieldLength=22, Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Product', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8047 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDisposalDate', Description='Date when the asset is/was disposed', EntityType='D', Help=NULL, IsActive='Y', Name='Asset Disposal Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset disposal date',Updated=TO_TIMESTAMP('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1932 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1932 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDisposalDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when the asset is/was disposed', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Disposal Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8048 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Disposal Date', Description='Date when the asset is/was disposed', Help=NULL WHERE AD_Column_ID=8048 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Location_ID', Description='Location or Address', EntityType='D', Help='The Location / Address field defines the location of an entity.', IsActive='Y', Name='Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Address',Updated=TO_TIMESTAMP('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=202 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Location/Address', EntityType='D', Help=NULL, IsActive='Y', Name='Location (Address)', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=21 +; + +-- Jun 17, 2010 3:12:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=21 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=202, AD_Process_ID=NULL, AD_Reference_ID=21, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout='compiere.model.CalloutAsset.locator', ColumnName='C_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Location or Address', EntityType='D', FieldLength=22, Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8049 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','C_Location_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8050 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_ID', Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', Name='Asset Group', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group',Updated=TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1929 +; + +-- Jun 17, 2010 3:12:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1929 +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53357,TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Group',TO_TIMESTAMP('2010-06-17 15:12:11','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +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=53357 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53357, 542, 8105, 8114, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52085,'A_Asset_Type_ID IN (NULL, @A_Asset_Type_ID@)',TO_TIMESTAMP('2010-06-17 15:12:12','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Group for specified Asset Type','S',TO_TIMESTAMP('2010-06-17 15:12:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53357, AD_Table_ID=539, AD_Val_Rule_ID=52085, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.assetGroup', ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Group', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8051 +; + +-- Jun 17, 2010 3:12:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','A_Asset_Group_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_TIMESTAMP('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='VersionNo', Description='Version Number', EntityType='D', Help=NULL, IsActive='Y', Name='Version No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Version No',Updated=TO_TIMESTAMP('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1949 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1949 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=20, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8053 +; + +-- Jun 17, 2010 3:12:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=8053 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Value', Description='Search key for the record in the format required - must be unique', EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', IsActive='Y', Name='Search Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Search Key',Updated=TO_TIMESTAMP('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=620 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=620 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Value', ColumnSQL=NULL, DefaultValue=NULL, Description='Search key for the record in the format required - must be unique', EntityType='D', FieldLength=40, Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Search Key', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8054 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsOwned', Description='The asset is owned by the organization', EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', IsActive='Y', Name='Owned', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Owned',Updated=TO_TIMESTAMP('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1941 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1941 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8055 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_TIMESTAMP('2010-06-17 15:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=469 +; + +-- Jun 17, 2010 3:12:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=20, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8056 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_TIMESTAMP('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=275 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8057 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LocationComment', Description='Additional comments or remarks concerning the location', EntityType='D', Help=NULL, IsActive='Y', Name='Location comment', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Location comment',Updated=TO_TIMESTAMP('2010-06-17 15:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1943 +; + +-- Jun 17, 2010 3:12:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1943 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1943, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LocationComment', ColumnSQL=NULL, DefaultValue=NULL, Description='Additional comments or remarks concerning the location', EntityType='D', FieldLength=255, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Location comment', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8058 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Location comment', Description='Additional comments or remarks concerning the location', Help=NULL WHERE AD_Column_ID=8058 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDepreciated', Description='The asset will be depreciated', EntityType='D', Help='The asset is used internally and will be depreciated', IsActive='Y', Name='Depreciate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciate',Updated=TO_TIMESTAMP('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1938 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1938 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8059 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LifeUseUnits', Description='Units of use until the asset is not usable anymore', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', IsActive='Y', Name='Life use', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life use',Updated=TO_TIMESTAMP('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1942 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1942 +; + +-- Jun 17, 2010 3:12:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1942, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LifeUseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Units of use until the asset is not usable anymore', EntityType='D', FieldLength=22, Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life use', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8060 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_TIMESTAMP('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8061 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=8061 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Help', Description='Comment or Hint', EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', IsActive='Y', Name='Comment/Help', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Comment',Updated=TO_TIMESTAMP('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=326 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=326 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=14 +; + +-- Jun 17, 2010 3:12:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8062 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8063 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='AD_Client.AD_Client_ID <> 0', Description=NULL, EntityType='D', IsActive='Y', Name='AD_Client Trx Security validation', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=129 +; + +-- Jun 17, 2010 3:12:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8064 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartner_ID', Description='Identifies a Business Partner', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', IsActive='Y', Name='Business Partner ', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Business Partner ',Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=187 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=187 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_BPartner.IsActive=''Y'' AND C_BPartner.IsSummary=''N''', Description=NULL, EntityType='D', IsActive='Y', Name='C_BPartner (Trx)', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=230 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=230, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8065 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GuaranteeDate', Description='Date when guarantee expires', EntityType='D', Help='Date when the normal guarantee or availability expires', IsActive='Y', Name='Guarantee Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Guarantee date',Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1936 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1936 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1936, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='GuaranteeDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when guarantee expires', EntityType='D', FieldLength=7, Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Guarantee Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8066 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths', Description='Months of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Months', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life months',Updated=TO_TIMESTAMP('2010-06-17 15:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1946 +; + +-- Jun 17, 2010 3:12:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1946 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue=NULL, Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8067 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=8067 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetServiceDate', Description='Date when Asset was put into service', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', IsActive='Y', Name='In Service Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Service date',Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1934 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1934 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1934, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetServiceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when Asset was put into service', EntityType='D', FieldLength=7, Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Service Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8068 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseUnits', Description='Currently used units of the assets', EntityType='D', Help=NULL, IsActive='Y', Name='Use units', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Use units',Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1948 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1948 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8069 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=8069 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='SerNo', Description='Product Serial Number ', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', IsActive='Y', Name='Serial No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Serial No',Updated=TO_TIMESTAMP('2010-06-17 15:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=568 +; + +-- Jun 17, 2010 3:12:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=568 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=255, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8071 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_TIMESTAMP('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8072 +; + +-- Jun 17, 2010 3:12:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_BPartner_Loc', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=131 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=131, Callout='compiere.model.CalloutAsset.locator', ColumnName='C_BPartner_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies the (ship to) address for this Business Partner', EntityType='D', FieldLength=22, Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Partner Location', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8073 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsFullyDepreciated', Description='The asset is fully depreciated', EntityType='D', Help='The asset costs are fully amortized.', IsActive='Y', Name='Fully depreciated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Fully depreciated',Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1951 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1951 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1951, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsFullyDepreciated', ColumnSQL=NULL, DefaultValue='N', Description='The asset is fully depreciated', EntityType='D', FieldLength=1, Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Fully depreciated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8126 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_AttributeSetInstance_ID', Description='Product Attribute Set Instance', EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', IsActive='Y', Name='Attribute Set Instance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Attribute Set Instance',Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2019 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2019 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Product Attribute', EntityType='D', Help=NULL, IsActive='Y', Name='Product Attribute', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=35 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=35 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2019, AD_Process_ID=NULL, AD_Reference_ID=35, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_AttributeSetInstance_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Attribute Set Instance', EntityType='D', FieldLength=22, Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Attribute Set Instance', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10007 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29 +; + +-- Jun 17, 2010 3:12:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=526, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Qty', ColumnSQL=NULL, DefaultValue=NULL, Description='Quantity', EntityType='D', FieldLength=22, Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13601 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Project_ID', Description='Financial Project', EntityType='D', Help='A Project allows you to track and control internal or external activities.', IsActive='Y', Name='Project', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Project',Updated=TO_TIMESTAMP('2010-06-17 15:12:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=208 +; + +-- Jun 17, 2010 3:12:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=208 +; + +-- Jun 17, 2010 3:12:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=208, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Project_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Financial Project', EntityType='D', FieldLength=10, Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14091 +; + +-- Jun 17, 2010 3:12:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','C_Project_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:12:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartnerSR_ID', Description='Business Partner (Agent or Sales Rep)', EntityType='D', Help=NULL, IsActive='Y', Name='BPartner (Agent)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner (Agent)',Updated=TO_TIMESTAMP('2010-06-17 15:12:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2810 +; + +-- Jun 17, 2010 3:12:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2810 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Vendor or SalesRep selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Vendor or SalesRep', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:12:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=232 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=232 +; + +-- Jun 17, 2010 3:12:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'N', OrderByClause = 'C_BPartner.Value', EntityType ='D', WhereClause = '(C_BPartner.IsSalesRep=''Y'' OR C_BPartner.IsVendor=''Y'')' WHERE AD_Reference_ID = 232 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2810, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=232, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartnerSR_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Business Partner (Agent or Sales Rep)', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='BPartner (Agent)', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14096 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='BPartner (Agent)', Description='Business Partner (Agent or Sales Rep)', Help=NULL WHERE AD_Column_ID=14096 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_InOutLine_ID', Description='Line on Shipment or Receipt document', EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', IsActive='Y', Name='Shipment/Receipt Line', PO_Description='Line on Receipt document', PO_Help=NULL, PO_Name='Receipt Line', PO_PrintName='Receipt Line', PrintName='Shipment/Receipt Line',Updated=TO_TIMESTAMP('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1026 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1026 +; + +-- Jun 17, 2010 3:12:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=10, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14285 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceDate', Description='Last Maintenance Date', EntityType='D', Help=NULL, IsActive='Y', Name='Last Maintenance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Maintenance',Updated=TO_TIMESTAMP('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2931 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2931 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Date', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Maintenance', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14845 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Maintenance', Description='Last Maintenance Date', Help=NULL WHERE AD_Column_ID=14845 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','LastMaintenanceDate','TIMESTAMP',null,'NULL') +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='NextMaintenenceDate', Description='Next Maintenence Date', EntityType='D', Help=NULL, IsActive='Y', Name='Next Maintenence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Next Maintenence',Updated=TO_TIMESTAMP('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2932 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2932 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NextMaintenenceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Next Maintenence Date', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Next Maintenence', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14846 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=14846 +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Next Maintenence', Description='Next Maintenence Date', Help=NULL WHERE AD_Column_ID=14846 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset','NextMaintenenceDate','TIMESTAMP',null,'NULL') +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceUnit', Description='Last Maintenance Unit', EntityType='D', Help=NULL, IsActive='Y', Name='Last Unit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Unit',Updated=TO_TIMESTAMP('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2933 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2933 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2933, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceUnit', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Unit', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Unit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14847 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Unit', Description='Last Maintenance Unit', Help=NULL WHERE AD_Column_ID=14847 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='NextMaintenenceUnit', Description='Next Maintenence Unit', EntityType='D', Help=NULL, IsActive='Y', Name='Next Unit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Next Unit',Updated=TO_TIMESTAMP('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2934 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2934 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2934, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NextMaintenenceUnit', ColumnSQL=NULL, DefaultValue=NULL, Description='Next Maintenence Unit', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Next Unit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14848 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Next Unit', Description='Next Maintenence Unit', Help=NULL WHERE AD_Column_ID=14848 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LeaseTerminationDate', Description='Lease Termination Date', EntityType='D', Help='Last Date of Lease', IsActive='Y', Name='Lease Termination', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lease Termination',Updated=TO_TIMESTAMP('2010-06-17 15:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2935 +; + +-- Jun 17, 2010 3:12:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2935 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2935, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LeaseTerminationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Lease Termination Date', EntityType='D', FieldLength=7, Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lease Termination', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14849 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Lease_BPartner_ID', Description='The Business Partner who rents or leases', EntityType='D', Help=NULL, IsActive='Y', Name='Lessor', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Lessor',Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2936 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2936 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Vendor selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Vendors', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'C_BPartner.IsVendor=''Y''' WHERE AD_Reference_ID = 192 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2936, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=192, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lease_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='The Business Partner who rents or leases', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Lessor', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14850 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Lessor', Description='The Business Partner who rents or leases', Help=NULL WHERE AD_Column_ID=14850 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='LastMaintenanceNote', Description='Last Maintenance Note', EntityType='D', Help=NULL, IsActive='Y', Name='Last Note', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Note',Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2937 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2937 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2937, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastMaintenanceNote', ColumnSQL=NULL, DefaultValue=NULL, Description='Last Maintenance Note', EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Note', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14851 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Last Note', Description='Last Maintenance Note', Help=NULL WHERE AD_Column_ID=14851 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_CreateDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_CreateDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_CreateDate',Updated=TO_TIMESTAMP('2010-06-17 15:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53526 +; + +-- Jun 17, 2010 3:12:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53526 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53526, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_CreateDate', ColumnSQL=NULL, DefaultValue='@Date@', Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_CreateDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55591 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55591 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_CreateDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55591 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_RevalDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_RevalDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_RevalDate',Updated=TO_TIMESTAMP('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53527 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53527 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53527, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_RevalDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_RevalDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55592 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55592 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_RevalDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55592 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Parent_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Parent_Asset_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Parent_Asset_ID',Updated=TO_TIMESTAMP('2010-06-17 15:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53528 +; + +-- Jun 17, 2010 3:12:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Asset ID', EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_ID', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 539, AD_Display = 8054, AD_Key = 8070, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53258 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53528, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53258, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Parent_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Parent_Asset_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55593 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55593 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Parent_Asset_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55593 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_QTY_Current', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Qty',Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53494 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Float Number', EntityType='D', Help=NULL, IsActive='Y', Name='Number', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=22 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55594 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55594 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55594 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_QTY_Original', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_QTY_Original', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_QTY_Original',Updated=TO_TIMESTAMP('2010-06-17 15:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53529 +; + +-- Jun 17, 2010 3:12:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53529 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53529, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=539, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Original', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_QTY_Original', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55595 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55595 +; + +-- Jun 17, 2010 3:12:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_QTY_Original', Description=NULL, Help=NULL WHERE AD_Column_ID=55595 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54165,0,'A_Asset_Class_ID',TO_TIMESTAMP('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset class','Asset class',TO_TIMESTAMP('2010-06-17 15:12:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54165 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) +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53358,TO_TIMESTAMP('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Class (all)',TO_TIMESTAMP('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:12:43 PM CDT +-- Generated Central ID for Fixed Asset +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=53358 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53269,'3',TO_TIMESTAMP('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','A_Asset_Class','L','A_Asset_Class',TO_TIMESTAMP('2010-06-17 15:12:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53269 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:12:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53381,TO_TIMESTAMP('2010-06-17 15:12:45','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Class',1,'Y','N','Y','Y','A_Asset_Class','N',1000000,TO_TIMESTAMP('2010-06-17 15:12:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59251,0,30,53269,'Description',TO_TIMESTAMP('2010-06-17 15:12:46','YYYY-MM-DD HH24:MI:SS'),0,10,'Y','N','N','N','N','N','N','N','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:12:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59251 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) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59252,0,30,53269,'A_Asset_Class_ID',TO_TIMESTAMP('2010-06-17 15:12:47','YYYY-MM-DD HH24:MI:SS'),0,10,'Y','N','N','N','N','N','N','N','N','Y','A_Asset_Class_ID',TO_TIMESTAMP('2010-06-17 15:12:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59252 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) +; + +-- Jun 17, 2010 3:12:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53358, 53269, 59251, 59252, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59253,54165,0,30,53358,539,'A_Asset_Class_ID',TO_TIMESTAMP('2010-06-17 15:12:48','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_TIMESTAMP('2010-06-17 15:12:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59253 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) +; + +-- Jun 17, 2010 3:12:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN A_Asset_Class_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:12:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54166,0,'A_Asset_Status',TO_TIMESTAMP('2010-06-17 15:12:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Status','Asset Status',TO_TIMESTAMP('2010-06-17 15:12:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:12:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54166 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) +; + +-- Jun 17, 2010 3:12:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=17 +; + +-- Jun 17, 2010 3:12:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17 +; + +-- Jun 17, 2010 3:12:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53359,TO_TIMESTAMP('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),0,'Asset Status','D','Y','A_Asset Status',TO_TIMESTAMP('2010-06-17 15:12:51','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:12:52 PM CDT +-- Generated Central ID for Fixed Asset +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=53359 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:12:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53587,53359,TO_TIMESTAMP('2010-06-17 15:12:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activated',TO_TIMESTAMP('2010-06-17 15:12:52','YYYY-MM-DD HH24:MI:SS'),0,'AC') +; + +-- Jun 17, 2010 3:12:56 PM CDT +-- Generated Central ID for Fixed Asset +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=53587 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) +; + +-- Jun 17, 2010 3:12:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53588,53359,TO_TIMESTAMP('2010-06-17 15:12:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposed',TO_TIMESTAMP('2010-06-17 15:12:56','YYYY-MM-DD HH24:MI:SS'),0,'DI') +; + +-- Jun 17, 2010 3:12:57 PM CDT +-- Generated Central ID for Fixed Asset +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=53588 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) +; + +-- Jun 17, 2010 3:12:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53589,53359,TO_TIMESTAMP('2010-06-17 15:12:57','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciated',TO_TIMESTAMP('2010-06-17 15:12:57','YYYY-MM-DD HH24:MI:SS'),0,'DP') +; + +-- Jun 17, 2010 3:12:58 PM CDT +-- Generated Central ID for Fixed Asset +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=53589 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) +; + +-- Jun 17, 2010 3:12:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53590,53359,TO_TIMESTAMP('2010-06-17 15:12:58','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','New',TO_TIMESTAMP('2010-06-17 15:12:58','YYYY-MM-DD HH24:MI:SS'),0,'NW') +; + +-- Jun 17, 2010 3:12:59 PM CDT +-- Generated Central ID for Fixed Asset +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=53590 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) +; + +-- Jun 17, 2010 3:13:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53591,53359,TO_TIMESTAMP('2010-06-17 15:12:59','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Preservation',TO_TIMESTAMP('2010-06-17 15:12:59','YYYY-MM-DD HH24:MI:SS'),0,'PR') +; + +-- Jun 17, 2010 3:13:04 PM CDT +-- Generated Central ID for Fixed Asset +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=53591 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) +; + +-- Jun 17, 2010 3:13:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53592,53359,TO_TIMESTAMP('2010-06-17 15:13:04','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Retired',TO_TIMESTAMP('2010-06-17 15:13:04','YYYY-MM-DD HH24:MI:SS'),0,'RE') +; + +-- Jun 17, 2010 3:13:05 PM CDT +-- Generated Central ID for Fixed Asset +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=53592 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) +; + +-- Jun 17, 2010 3:13:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53593,53359,TO_TIMESTAMP('2010-06-17 15:13:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Sold',TO_TIMESTAMP('2010-06-17 15:13:05','YYYY-MM-DD HH24:MI:SS'),0,'SO') +; + +-- Jun 17, 2010 3:13:10 PM CDT +-- Generated Central ID for Fixed Asset +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=53593 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) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59254,54166,0,17,53359,539,'A_Asset_Status',TO_TIMESTAMP('2010-06-17 15:13:10','YYYY-MM-DD HH24:MI:SS'),0,'''NW''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Status',TO_TIMESTAMP('2010-06-17 15:13:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59254 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) +; + +-- Jun 17, 2010 3:13:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN A_Asset_Status VARCHAR(2) DEFAULT 'NW' NOT NULL +; + +-- Jun 17, 2010 3:13:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54167,0,'A_Asset_Action',TO_TIMESTAMP('2010-06-17 15:13:12','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Action','Asset Action',TO_TIMESTAMP('2010-06-17 15:13:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:13 PM CDT +-- Generated Central ID for Fixed Asset +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=54167 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) +; + +-- Jun 17, 2010 3:13:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53360,TO_TIMESTAMP('2010-06-17 15:13:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset Actions',TO_TIMESTAMP('2010-06-17 15:13:13','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:13:14 PM CDT +-- Generated Central ID for Fixed Asset +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=53360 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:13:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53594,53360,TO_TIMESTAMP('2010-06-17 15:13:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Dispose',TO_TIMESTAMP('2010-06-17 15:13:14','YYYY-MM-DD HH24:MI:SS'),0,'DI') +; + +-- Jun 17, 2010 3:13:15 PM CDT +-- Generated Central ID for Fixed Asset +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=53594 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) +; + +-- Jun 17, 2010 3:13:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53595,53360,TO_TIMESTAMP('2010-06-17 15:13:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Inbound',TO_TIMESTAMP('2010-06-17 15:13:15','YYYY-MM-DD HH24:MI:SS'),0,'IB') +; + +-- Jun 17, 2010 3:13:16 PM CDT +-- Generated Central ID for Fixed Asset +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=53595 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) +; + +-- Jun 17, 2010 3:13:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53596,53360,TO_TIMESTAMP('2010-06-17 15:13:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Modify',TO_TIMESTAMP('2010-06-17 15:13:16','YYYY-MM-DD HH24:MI:SS'),0,'MD') +; + +-- Jun 17, 2010 3:13:17 PM CDT +-- Generated Central ID for Fixed Asset +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=53596 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) +; + +-- Jun 17, 2010 3:13:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53597,53360,TO_TIMESTAMP('2010-06-17 15:13:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Outbound',TO_TIMESTAMP('2010-06-17 15:13:17','YYYY-MM-DD HH24:MI:SS'),0,'OB') +; + +-- Jun 17, 2010 3:13:20 PM CDT +-- Generated Central ID for Fixed Asset +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=53597 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) +; + +-- Jun 17, 2010 3:13:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53598,53360,TO_TIMESTAMP('2010-06-17 15:13:20','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reevaluate',TO_TIMESTAMP('2010-06-17 15:13:20','YYYY-MM-DD HH24:MI:SS'),0,'RE') +; + +-- Jun 17, 2010 3:13:22 PM CDT +-- Generated Central ID for Fixed Asset +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=53598 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) +; + +-- Jun 17, 2010 3:13:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53599,53360,TO_TIMESTAMP('2010-06-17 15:13:22','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Retire',TO_TIMESTAMP('2010-06-17 15:13:22','YYYY-MM-DD HH24:MI:SS'),0,'RT') +; + +-- Jun 17, 2010 3:13:23 PM CDT +-- Generated Central ID for Fixed Asset +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=53599 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) +; + +-- Jun 17, 2010 3:13:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53600,53360,TO_TIMESTAMP('2010-06-17 15:13:23','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Transfer',TO_TIMESTAMP('2010-06-17 15:13:23','YYYY-MM-DD HH24:MI:SS'),0,'TR') +; + +-- Jun 17, 2010 3:13:25 PM CDT +-- Generated Central ID for Fixed Asset +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=53600 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) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59255,54167,0,17,53360,539,'A_Asset_Action',TO_TIMESTAMP('2010-06-17 15:13:25','YYYY-MM-DD HH24:MI:SS'),0,'''MD''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Action',TO_TIMESTAMP('2010-06-17 15:13:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59255 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) +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN A_Asset_Action VARCHAR(2) DEFAULT 'MD' NOT NULL +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_TIMESTAMP('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1047 +; + +-- Jun 17, 2010 3:13:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047 +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59256,1047,0,20,539,'Processed',TO_TIMESTAMP('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),0,'''N''','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2010-06-17 15:13:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59256 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) +; + +-- Jun 17, 2010 3:13:28 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:13:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54168,0,'AssetActivationDate',TO_TIMESTAMP('2010-06-17 15:13:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation Date','Activation Date',TO_TIMESTAMP('2010-06-17 15:13:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:29 PM CDT +-- Generated Central ID for Fixed Asset +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=54168 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) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59257,54168,0,15,539,'AssetActivationDate',TO_TIMESTAMP('2010-06-17 15:13:29','YYYY-MM-DD HH24:MI:SS'),0,'D',7,'Y','N','N','N','N','N','N','N','Y','N','Y','Activation Date',TO_TIMESTAMP('2010-06-17 15:13:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59257 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) +; + +-- Jun 17, 2010 3:13:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN AssetActivationDate TIMESTAMP DEFAULT NULL +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54169,0,'InventoryNo',TO_TIMESTAMP('2010-06-17 15:13:31','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Inventory No','Inventory No',TO_TIMESTAMP('2010-06-17 15:13:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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=54169 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) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59258,54169,0,10,539,'InventoryNo',TO_TIMESTAMP('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,'D',30,'Y','N','N','Y','N','N','N','Y','Y','N','Y','Inventory No',10,TO_TIMESTAMP('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59258 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) +; + +-- Jun 17, 2010 3:13:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN InventoryNo VARCHAR(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54170,0,'A_Asset_Type_ID',TO_TIMESTAMP('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type','Asset Type',TO_TIMESTAMP('2010-06-17 15:13:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:34 PM CDT +-- Generated Central ID for Fixed Asset +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=54170 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) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59259,54170,0,19,539,'compiere.model.MAssetType$Callout.assetType','A_Asset_Type_ID',TO_TIMESTAMP('2010-06-17 15:13:34','YYYY-MM-DD HH24:MI:SS'),0,'1','D',10,'Y','N','N','Y','N','Y','N','Y','Y','N','Y','Asset Type',30,TO_TIMESTAMP('2010-06-17 15:13:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59259 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) +; + +-- Jun 17, 2010 3:13:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN A_Asset_Type_ID NUMERIC(10) DEFAULT '1' NOT NULL +; + +-- Jun 17, 2010 3:13:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54171,0,'A_Asset_Type',TO_TIMESTAMP('2010-06-17 15:13:36','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type','Asset Type',TO_TIMESTAMP('2010-06-17 15:13:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54171 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) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59260,54171,0,10,539,'A_Asset_Type',TO_TIMESTAMP('2010-06-17 15:13:37','YYYY-MM-DD HH24:MI:SS'),0,'MFX','D',3,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Type',30,TO_TIMESTAMP('2010-06-17 15:13:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59260 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) +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN A_Asset_Type VARCHAR(3) DEFAULT 'MFX' NOT NULL +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Activity_ID', Description='Business Activity', EntityType='D', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', IsActive='Y', Name='Activity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Activity',Updated=TO_TIMESTAMP('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1005 +; + +-- Jun 17, 2010 3:13:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1005 +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59261,1005,0,19,539,'C_Activity_ID',TO_TIMESTAMP('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','D',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','N','N','N','N','N','N','Y','N','Y','Activity',TO_TIMESTAMP('2010-06-17 15:13:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59261 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) +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN C_Activity_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Manufacturer', Description='Manufacturer of the Product', EntityType='D', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', IsActive='Y', Name='Manufacturer', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Manufacturer',Updated=TO_TIMESTAMP('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1915 +; + +-- Jun 17, 2010 3:13:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1915 +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59262,1915,0,10,539,'Manufacturer',TO_TIMESTAMP('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturer of the Product','D',30,'The manufacturer of the Product (used if different from the Business Partner / Vendor)','Y','N','N','N','N','N','N','N','Y','N','Y','Manufacturer',TO_TIMESTAMP('2010-06-17 15:13:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59262 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) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN Manufacturer VARCHAR(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54172,0,'ManufacturedYear',TO_TIMESTAMP('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Manufactured Year','Manufactured Year',TO_TIMESTAMP('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54172 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) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMax,ValueMin,Version) VALUES (0,59263,54172,0,11,539,'ManufacturedYear',TO_TIMESTAMP('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','Y','N','Y','Manufactured Year',TO_TIMESTAMP('2010-06-17 15:13:43','YYYY-MM-DD HH24:MI:SS'),0,'2100','1900',0) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59263 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) +; + +-- Jun 17, 2010 3:13:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset ADD COLUMN ManufacturedYear NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:13:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=539, AD_Window_ID=251, CommitWarning=NULL, Description='Asset used internally or by customers', EntityType='D', HasTree='N', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:13:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:13:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8070, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=0, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:13:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6145 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8061, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:13:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Quantity', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11523 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12879 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55595, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_QTY_Original', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55594, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:13:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:13:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59255,114,58987,0,450,TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','Y','Asset Action',0,0,TO_TIMESTAMP('2010-06-17 15:13:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:49 PM CDT +-- Generated Central ID for Fixed Asset +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=58987 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) +; + +-- Jun 17, 2010 3:13:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59260,58988,0,450,TO_TIMESTAMP('2010-06-17 15:13:49','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','N','N','N','N','N','Asset Type',0,0,TO_TIMESTAMP('2010-06-17 15:13:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:50 PM CDT +-- Generated Central ID for Fixed Asset +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=58988 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) +; + +-- Jun 17, 2010 3:13:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59262,58989,0,450,TO_TIMESTAMP('2010-06-17 15:13:50','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturer of the Product',30,'D','The manufacturer of the Product (used if different from the Business Partner / Vendor)','Y','Y','N','N','N','N','N','Manufacturer',0,0,TO_TIMESTAMP('2010-06-17 15:13:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:51 PM CDT +-- Generated Central ID for Fixed Asset +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=58989 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) +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8064, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6164 +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8052, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6153 +; + +-- Jun 17, 2010 3:13:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8054, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Search key for the record in the format required - must be unique', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Search Key', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6155 +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59258,58990,0,450,TO_TIMESTAMP('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),0,20,'D','Y','Y','Y','N','N','N','Y','Inventory No',40,0,TO_TIMESTAMP('2010-06-17 15:13:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +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=58990 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) +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8056, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6157 +; + +-- Jun 17, 2010 3:13:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8057, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6158 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8062, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6163 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8043, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6140 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55593, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=14, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='A_Parent_Asset_ID', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:13:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:13:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59259,58991,0,450,TO_TIMESTAMP('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Asset Type',100,0,TO_TIMESTAMP('2010-06-17 15:13:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:56 PM CDT +-- Generated Central ID for Fixed Asset +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=58991 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) +; + +-- Jun 17, 2010 3:13:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8051, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Group', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6152 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59253,58992,0,450,TO_TIMESTAMP('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),0,30,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','N','Asset class',120,0,TO_TIMESTAMP('2010-06-17 15:13:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +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=58992 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) +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8053, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic='@A_Asset_Type@=SUP', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Version No', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:13:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8047, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:13:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6149 +; + +-- Jun 17, 2010 3:14:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=10007, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8345 +; + +-- Jun 17, 2010 3:14:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8071, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6146 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59263,58993,0,450,TO_TIMESTAMP('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Manufactured Year',180,0,TO_TIMESTAMP('2010-06-17 15:14:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +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=58993 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) +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8038, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6135 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8068, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6143 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8066, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when guarantee expires', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Guarantee Date', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6166 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55591, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55592, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Asset_RevalDate', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:14:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14091, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12106 +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59261,58994,0,450,TO_TIMESTAMP('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity',10,'D','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','Y','Activity',250,0,TO_TIMESTAMP('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:02 PM CDT +-- Generated Central ID for Fixed Asset +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=58994 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) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50016,0,TO_TIMESTAMP('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Location',TO_TIMESTAMP('2010-06-17 15:14:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50016 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8042, AD_FieldGroup_ID=50016, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Possession', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6139 +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8065, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=26, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6165 +; + +-- Jun 17, 2010 3:14:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8073, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Partner Location', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6147 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8039, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6136 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8041, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=14, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6138 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Partner (Agent or Sales Rep)', DisplayLength=10, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='BPartner (Agent)', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8049, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=26, DisplayLogic='@IsInPosession@=N | @GZ_TipComponenta@=BR | @GZ_TipComponenta@=RD', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6151 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8058, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Additional comments or remarks concerning the location', DisplayLength=20, DisplayLogic='@IsInPosession@=N | @GZ_TipComponeta@=BR | @GZ_TipComponeta@=RD', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Location comment', SeqNo=350, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:14:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8055, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=360, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6156 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The Business Partner who rents or leases', DisplayLength=10, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lessor', SeqNo=370, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:14:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lease Termination Date', DisplayLength=7, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Lease Termination', SeqNo=380, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12875 +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50017,0,TO_TIMESTAMP('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Fixed Asset',TO_TIMESTAMP('2010-06-17 15:14:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50017 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8059, AD_FieldGroup_ID=50017, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=390, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6160 +; + +-- Jun 17, 2010 3:14:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8126, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y & @IsDepreciated@=Y', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Fully depreciated', SeqNo=400, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6213 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8046, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8067, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8060, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6161 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8069, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:14:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50018,0,TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Maintenance',TO_TIMESTAMP('2010-06-17 15:14:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50018 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14845, AD_FieldGroup_ID=50018, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Maintenance', SeqNo=450, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Last Unit', SeqNo=460, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Note', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Note', SeqNo=470, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:14:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Next Maintenence', SeqNo=480, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14848, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Next Unit', SeqNo=490, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:14:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Status',Updated=TO_TIMESTAMP('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=101 +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59254,101,58995,0,450,TO_TIMESTAMP('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','Y','N','Asset Status',500,0,TO_TIMESTAMP('2010-06-17 15:14:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +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=58995 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) +; + +-- Jun 17, 2010 3:14:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8044, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=14, DisplayLogic='@IsOwned@=Y & @IsDepeciated@=Y', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=510, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6141 +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59256,58996,0,450,TO_TIMESTAMP('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',0,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','Y','Processed',520,0,TO_TIMESTAMP('2010-06-17 15:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +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=58996 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) +; + +-- Jun 17, 2010 3:14:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8040, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposed', SeqNo=530, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6137 +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59257,58997,0,450,TO_TIMESTAMP('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=N','D','Y','Y','Y','N','N','Y','N','Activation Date',540,0,TO_TIMESTAMP('2010-06-17 15:14:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +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=58997 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) +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8048, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=14, DisplayLogic='@IsDisposed@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Disposal Date', SeqNo=550, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:14:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:14:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53270,251,'3',TO_TIMESTAMP('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','Asset Product','L','A_Asset_Product',TO_TIMESTAMP('2010-06-17 15:14:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53270 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:14:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53382,TO_TIMESTAMP('2010-06-17 15:14:20','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Product',1,'Y','N','Y','Y','A_Asset_Product','N',1000000,TO_TIMESTAMP('2010-06-17 15:14:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54173,0,'A_Asset_Product_ID',TO_TIMESTAMP('2010-06-17 15:14:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Product','Asset Product',TO_TIMESTAMP('2010-06-17 15:14:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:23 PM CDT +-- Generated Central ID for Fixed Asset +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=54173 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) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59264,54173,0,13,53270,'A_Asset_Product_ID',TO_TIMESTAMP('2010-06-17 15:14:23','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Product',TO_TIMESTAMP('2010-06-17 15:14:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59264 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) +; + +-- Jun 17, 2010 3:14:25 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Product (A_Asset_Product_ID NUMERIC(10) NOT NULL, CONSTRAINT A_Asset_Product_Key PRIMARY KEY (A_Asset_Product_ID)) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59265,102,0,19,53270,129,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:14:25','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:14:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59265 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) +; + +-- Jun 17, 2010 3:14:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59266,113,0,19,53270,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:14:26','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Org_ID@','Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:14:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59266 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) +; + +-- Jun 17, 2010 3:14:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59267,348,0,20,53270,'IsActive',TO_TIMESTAMP('2010-06-17 15:14:27','YYYY-MM-DD HH24:MI:SS'),0,'''Y''','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:14:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59267 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) +; + +-- Jun 17, 2010 3:14:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59268,245,0,16,53270,'Created',TO_TIMESTAMP('2010-06-17 15:14:35','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-17 15:14:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59268 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) +; + +-- Jun 17, 2010 3:14:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59269,246,0,18,110,53270,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:14:36','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-17 15:14:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59269 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) +; + +-- Jun 17, 2010 3:14:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59270,607,0,16,53270,'Updated',TO_TIMESTAMP('2010-06-17 15:14:37','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-17 15:14:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59270 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) +; + +-- Jun 17, 2010 3:14:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59271,608,0,18,110,53270,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:14:38','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-17 15:14:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59271 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) +; + +-- Jun 17, 2010 3:14:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +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,59272,1884,0,30,53270,'A_Asset_ID',TO_TIMESTAMP('2010-06-17 15:14:39','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers','D',10,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','Y','N','Y','Y','N','Y','N','N','Asset',10,TO_TIMESTAMP('2010-06-17 15:14:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59272 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) +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN A_Asset_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Product selection no summary', EntityType='D', Help=NULL, IsActive='Y', Name='M_Product (no summary)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=162 +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=162 +; + +-- Jun 17, 2010 3:14:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 208, AD_Display = 1410, AD_Key = 1402, isValueDisplayed = 'N', OrderByClause = 'M_Product.Value', EntityType ='D', WhereClause = 'M_Product.IsSummary=''N''' WHERE AD_Reference_ID = 162 +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59273,454,0,18,162,53270,'M_Product_ID',TO_TIMESTAMP('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Product',20,TO_TIMESTAMP('2010-06-17 15:14:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59273 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) +; + +-- Jun 17, 2010 3:14:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN M_Product_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +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,59274,2019,0,35,53270,'M_AttributeSetInstance_ID',TO_TIMESTAMP('2010-06-17 15:14:44','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance','D',10,'The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Attribute Set Instance',30,TO_TIMESTAMP('2010-06-17 15:14:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59274 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) +; + +-- Jun 17, 2010 3:14:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN M_AttributeSetInstance_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +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,59275,448,0,31,53270,'M_Locator_ID',TO_TIMESTAMP('2010-06-17 15:14:45','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','Y','N','N','N','N','Y','N','Y','Locator',40,TO_TIMESTAMP('2010-06-17 15:14:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59275 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) +; + +-- Jun 17, 2010 3:14:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN M_Locator_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59276,275,0,10,53270,'Description',TO_TIMESTAMP('2010-06-17 15:14:48','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:14:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59276 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) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59277,53494,0,29,53270,'A_QTY_Current',TO_TIMESTAMP('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Current Qty',TO_TIMESTAMP('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59277 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) +; + +-- Jun 17, 2010 3:14:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Product ADD COLUMN A_QTY_Current NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,59272,0,53320,53270,251,NULL,TO_TIMESTAMP('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','N','Y','N','N','N','Product','N',11,1,TO_TIMESTAMP('2010-06-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53320 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59264,58998,0,53320,TO_TIMESTAMP('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Product',0,0,TO_TIMESTAMP('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:52 PM CDT +-- Generated Central ID for Fixed Asset +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=58998 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) +; + +-- Jun 17, 2010 3:14:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59265,58999,0,53320,TO_TIMESTAMP('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:14:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:53 PM CDT +-- Generated Central ID for Fixed Asset +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=58999 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) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59266,59000,0,53320,TO_TIMESTAMP('2010-06-17 15:14:53','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:14:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59000 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) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59272,59001,0,53320,TO_TIMESTAMP('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',30,0,TO_TIMESTAMP('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59001 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) +; + +-- Jun 17, 2010 3:14:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59267,59002,0,53320,TO_TIMESTAMP('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','Y','Active',40,0,TO_TIMESTAMP('2010-06-17 15:14:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59002 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) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59273,59003,0,53320,TO_TIMESTAMP('2010-06-17 15:14:56','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',50,0,TO_TIMESTAMP('2010-06-17 15:14:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59003 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) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59274,59004,0,53320,TO_TIMESTAMP('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',60,0,TO_TIMESTAMP('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59004 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) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59277,59005,0,53320,TO_TIMESTAMP('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',70,0,TO_TIMESTAMP('2010-06-17 15:14:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59005 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) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59275,59006,0,53320,TO_TIMESTAMP('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',80,0,TO_TIMESTAMP('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:14:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59006 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) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59276,59007,0,53320,TO_TIMESTAMP('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',90,0,TO_TIMESTAMP('2010-06-17 15:14:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59007 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) +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the Cost and Depreciation Balances for each fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Depreciation_Workfile_ID', ReplicationType='L', TableName='A_Depreciation_Workfile',Updated=TO_TIMESTAMP('2010-06-17 15:15:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53116 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53116 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Workfile_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Workfile_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Workfile_ID',Updated=TO_TIMESTAMP('2010-06-17 15:15:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53487 +; + +-- Jun 17, 2010 3:15:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53487 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53487, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Workfile_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Workfile_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55395 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55395 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Workfile_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55395 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55396 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55397 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Accumulated_Depr',Updated=TO_TIMESTAMP('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53488 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Number with 4 decimals', EntityType='D', Help=NULL, IsActive='Y', Name='Amount', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:15:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=12 +; + +-- Jun 17, 2010 3:15:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53488, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumulated_Depr', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55398 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55398 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55398 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Accumulated_Depr','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Accumulated_Depr=0 WHERE A_Accumulated_Depr IS NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Accumulated_Depr',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Cost',Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53489 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53489, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare', ColumnName='A_Asset_Cost', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Cost', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55399 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55399 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Cost', Description=NULL, Help=NULL WHERE AD_Column_ID=55399 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_Cost','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Cost=0 WHERE A_Asset_Cost IS NULL +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_Cost',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55400 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Life_Current_Year', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Life_Current_Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Life_Current_Year',Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53490 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53490 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53490, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Life_Current_Year', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Life_Current_Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55401 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55401 +; + +-- Jun 17, 2010 3:15:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Life_Current_Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55401 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_Life_Current_Year','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Life_Current_Year=0 WHERE A_Asset_Life_Current_Year IS NULL +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_Life_Current_Year',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Forecast', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Forecast',Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53491 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53491 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53491, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Forecast', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55402 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55402 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Forecast', Description=NULL, Help=NULL WHERE AD_Column_ID=55402 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Prior_Year_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Prior_Year_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Prior_Year_Accumulated_Depr',Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53492 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53492 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53492, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Prior_Year_Accumulated_Depr', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Prior_Year_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55403 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55403 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Prior_Year_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55403 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='PostingType', Description='The type of posted amount for the transaction', EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', IsActive='Y', Name='PostingType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='PostingType',Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=514 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=514 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Posting Type (Actual Budget etc.) list', EntityType='D', Help=NULL, IsActive='Y', Name='_Posting Type', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=125 +; + +-- Jun 17, 2010 3:15:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=125 +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55404 +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:15:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55405 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55406 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DateAcct', Description='Accounting Date', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', IsActive='Y', Name='Account Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Acct Date',Updated=TO_TIMESTAMP('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=263 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=263 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55407 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','DateAcct','TIMESTAMP',null,'NULL') +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55408 +; + +-- Jun 17, 2010 3:15:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55409 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55410 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Salvage_Value', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Salvage_Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Salvage_Value',Updated=TO_TIMESTAMP('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53493 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55411 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55411 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55411 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Salvage_Value','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Salvage_Value=0 WHERE A_Salvage_Value IS NULL +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Salvage_Value',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55412 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55412 +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55412 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55413 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55414 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28 +; + +-- Jun 17, 2010 3:15:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 17, 2010 3:15:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53207,'3','ro.arhipac.adempiere.fa.process.A_Depreciation_Workfile_Build',TO_TIMESTAMP('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Update depreciation','Y',0,0,TO_TIMESTAMP('2010-06-17 15:15:07','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Workfile_Build',NULL) +; + +-- Jun 17, 2010 3:15:08 PM CDT +-- Generated Central ID for Fixed Asset +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=53207 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) +; + +-- Jun 17, 2010 3:15:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54174,0,'AllAssets',TO_TIMESTAMP('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','All Assets','AllAssets',TO_TIMESTAMP('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:09 PM CDT +-- Generated Central ID for Fixed Asset +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=54174 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) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +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,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54174,0,53207,53412,20,'AllAssets',TO_TIMESTAMP('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0,'Y','Y','Y','N','All Assets',1,TO_TIMESTAMP('2010-06-17 15:15:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +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=53412 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) +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=53207, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55415 +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55415 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','Processing','CHAR(1)',null,'N') +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Posted', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Posted', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Posted',Updated=TO_TIMESTAMP('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53495 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53495 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53495, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Posted', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Posted', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55416 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55416 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Posted', Description=NULL, Help=NULL WHERE AD_Column_ID=55416 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Life_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Life Periods', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life Periods',Updated=TO_TIMESTAMP('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53496 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53496 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53496, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Life_Period', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life Periods', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55417 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55417 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Life Periods', Description=NULL, Help=NULL WHERE AD_Column_ID=55417 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Life_Period','NUMERIC(10)',null,'0') +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Life_Period=0 WHERE A_Life_Period IS NULL +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Life_Period',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Life_Years', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Life Years', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Life Years',Updated=TO_TIMESTAMP('2010-06-17 15:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53497 +; + +-- Jun 17, 2010 3:15:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53497 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53497, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Life_Years', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Life Years', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55418 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55418 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Life Years', Description=NULL, Help=NULL WHERE AD_Column_ID=55418 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Asset_Life_Years','NUMERIC(10)',null,'0') +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Asset_Life_Years=0 WHERE A_Asset_Life_Years IS NULL +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Base_Amount', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Base_Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Base_Amount',Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53498 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53498 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53498, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Base_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Base_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55419 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55419 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Base_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55419 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Calc_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Calc_Accumulated_Depr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Calc_Accumulated_Depr',Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53499 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53499 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53499, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Calc_Accumulated_Depr', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Calc_Accumulated_Depr', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55420 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55420 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Calc_Accumulated_Depr', Description=NULL, Help=NULL WHERE AD_Column_ID=55420 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Curr_Dep_Exp', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Curr_Dep_Exp', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Curr_Dep_Exp',Updated=TO_TIMESTAMP('2010-06-17 15:15:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53500 +; + +-- Jun 17, 2010 3:15:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53500 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53500, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Curr_Dep_Exp', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Curr_Dep_Exp', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55421 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55421 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Curr_Dep_Exp', Description=NULL, Help=NULL WHERE AD_Column_ID=55421 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Curr_Dep_Exp','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Workfile SET A_Curr_Dep_Exp=0 WHERE A_Curr_Dep_Exp IS NULL +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_workfile','A_Curr_Dep_Exp',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Current_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Period',Updated=TO_TIMESTAMP('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53501 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53501 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53501, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53116, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Current_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55422 +; + +-- Jun 17, 2010 3:15:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55422 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54175,0,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation (fiscal)','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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=54175 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) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59278,54175,0,12,53116,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59278 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) +; + +-- Jun 17, 2010 3:15:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Accumulated_Depr_F NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54176,0,'A_Asset_Life_Years_F',TO_TIMESTAMP('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Years (fiscal)','Life Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:18 PM CDT +-- Generated Central ID for Fixed Asset +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=54176 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) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59279,54176,0,11,53116,'A_Asset_Life_Years_F',TO_TIMESTAMP('2010-06-17 15:15:18','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Life Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:18','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59279 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) +; + +-- Jun 17, 2010 3:15:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Asset_Life_Years_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54177,0,'A_Life_Period_F',TO_TIMESTAMP('2010-06-17 15:15:19','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Period (fiscal)','Life Period (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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=54177 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) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59280,54177,0,11,53116,'A_Life_Period_F',TO_TIMESTAMP('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Life Period (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59280 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) +; + +-- Jun 17, 2010 3:15:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Life_Period_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59281,1947,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears',TO_TIMESTAMP('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0','Years of the usable life of the asset','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Years',TO_TIMESTAMP('2010-06-17 15:15:30','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59281 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) +; + +-- Jun 17, 2010 3:15:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN UseLifeYears NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59282,1946,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths',TO_TIMESTAMP('2010-06-17 15:15:31','YYYY-MM-DD HH24:MI:SS'),0,'0','Months of the usable life of the asset','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Months',TO_TIMESTAMP('2010-06-17 15:15:31','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59282 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) +; + +-- Jun 17, 2010 3:15:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN UseLifeMonths NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54178,0,'UseLifeYears_F',TO_TIMESTAMP('2010-06-17 15:15:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Use Life - Years (fiscal)','Use Life - Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54178 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) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59283,54178,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears_F',TO_TIMESTAMP('2010-06-17 15:15:33','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:33','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59283 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) +; + +-- Jun 17, 2010 3:15:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN UseLifeYears_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54179,0,'UseLifeMonths_F',TO_TIMESTAMP('2010-06-17 15:15:34','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Use Life - Months (fiscal)','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:35 PM CDT +-- Generated Central ID for Fixed Asset +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=54179 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) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59284,54179,0,11,53116,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths_F',TO_TIMESTAMP('2010-06-17 15:15:35','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:35','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59284 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) +; + +-- Jun 17, 2010 3:15:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN UseLifeMonths_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:15:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54180,0,'A_Asset_Remaining',TO_TIMESTAMP('2010-06-17 15:15:36','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Remaining Amt','Remaining Amt',TO_TIMESTAMP('2010-06-17 15:15:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54180 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) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59285,54180,0,12,53116,'A_Asset_Remaining',TO_TIMESTAMP('2010-06-17 15:15:37','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Remaining Amt',TO_TIMESTAMP('2010-06-17 15:15:37','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59285 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) +; + +-- Jun 17, 2010 3:15:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Asset_Remaining NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:15:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54181,0,'A_Asset_Remaining_F',TO_TIMESTAMP('2010-06-17 15:15:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Remaining Amt (fiscal)','Remaining Amt (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:42 PM CDT +-- Generated Central ID for Fixed Asset +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=54181 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) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59286,54181,0,12,53116,'A_Asset_Remaining_F',TO_TIMESTAMP('2010-06-17 15:15:42','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Remaining Amt (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59286 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) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Asset_Remaining_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54182,0,'A_Expense_SL',TO_TIMESTAMP('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','SL Expense/Period','SL Expense/Period',TO_TIMESTAMP('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:44 PM CDT +-- Generated Central ID for Fixed Asset +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=54182 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) +; + +-- Jun 17, 2010 3:15:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59287,54182,0,12,53116,'A_Expense_SL','(case when UseLifeMonths - decode(A_Current_Period, 0, 1, A_Current_Period)+ 1> 0 then (A_Asset_Cost - A_Accumulated_Depr)/(UseLifeMonths - decode(A_Current_Period, 0, 1, A_Current_Period) + 1) else 0 end)',TO_TIMESTAMP('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','SL Expense/Period',TO_TIMESTAMP('2010-06-17 15:15:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59287 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) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54183,0,'A_Expense_SL_F',TO_TIMESTAMP('2010-06-17 15:15:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','SL Expense/Period (fiscal)','SL Expense/Period (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54183 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) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59288,54183,0,12,53116,'A_Expense_SL_F','(case when UseLifeMonths_F - decode(A_Current_Period, 0, 1, A_Current_Period)+ 1> 0 then (A_Asset_Cost - A_Accumulated_Depr_F)/(UseLifeMonths_F - decode(A_Current_Period, 0, 1, A_Current_Period) + 1) else 0 end)',TO_TIMESTAMP('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','SL Expense/Period (fiscal)',TO_TIMESTAMP('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59288 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) +; + +-- Jun 17, 2010 3:15:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54184,0,'A_Life_Period_Max',TO_TIMESTAMP('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life periods (max)','Life periods (max)',TO_TIMESTAMP('2010-06-17 15:15:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:51 PM CDT +-- Generated Central ID for Fixed Asset +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=54184 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) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59289,54184,0,11,53116,'A_Life_Period_Max','(select min(A_Life_Period_Max) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Depreciation_Workfile.A_Asset_ID)',TO_TIMESTAMP('2010-06-17 15:15:51','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (max)',TO_TIMESTAMP('2010-06-17 15:15:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59289 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) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54185,0,'A_Life_Period_Min',TO_TIMESTAMP('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life periods (min)','Life periods (min)',TO_TIMESTAMP('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:52 PM CDT +-- Generated Central ID for Fixed Asset +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=54185 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) +; + +-- Jun 17, 2010 3:15:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59290,54185,0,11,53116,'A_Life_Period_Min','(select min(A_Life_Period_MIN) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Depreciation_Workfile.A_Asset_ID)',TO_TIMESTAMP('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (min)',TO_TIMESTAMP('2010-06-17 15:15:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:15:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59290 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) +; + +-- Jun 17, 2010 3:15:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54186,0,'A_Tip_Finantare',TO_TIMESTAMP('2010-06-17 15:15:53','YYYY-MM-DD HH24:MI:SS'),0,'Tipul finantarii','D','Y','Tip finantare','Tip finantare',TO_TIMESTAMP('2010-06-17 15:15:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:15:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54186 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) +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53361,TO_TIMESTAMP('2010-06-17 15:15:54','YYYY-MM-DD HH24:MI:SS'),0,'Tip finantare investitii','D','Y','A_Tip_Finantare',TO_TIMESTAMP('2010-06-17 15:15:54','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +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=53361 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53601,53361,TO_TIMESTAMP('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Cofinantare',TO_TIMESTAMP('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'C') +; + +-- Jun 17, 2010 3:15:55 PM CDT +-- Generated Central ID for Fixed Asset +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=53601 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) +; + +-- Jun 17, 2010 3:15:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53602,53361,TO_TIMESTAMP('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Proprie',TO_TIMESTAMP('2010-06-17 15:15:55','YYYY-MM-DD HH24:MI:SS'),0,'P') +; + +-- Jun 17, 2010 3:15:56 PM CDT +-- Generated Central ID for Fixed Asset +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=53602 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) +; + +-- Jun 17, 2010 3:16:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53603,53361,TO_TIMESTAMP('2010-06-17 15:15:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Terti',TO_TIMESTAMP('2010-06-17 15:15:56','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:16:01 PM CDT +-- Generated Central ID for Fixed Asset +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=53603 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) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59291,54186,0,17,53361,53116,'A_Tip_Finantare',TO_TIMESTAMP('2010-06-17 15:16:01','YYYY-MM-DD HH24:MI:SS'),0,'''P''','Tipul finantarii','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Tip finantare',TO_TIMESTAMP('2010-06-17 15:16:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59291 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) +; + +-- Jun 17, 2010 3:16:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Tip_Finantare CHAR(1) DEFAULT 'P' NOT NULL +; + +-- Jun 17, 2010 3:16:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54187,0,'A_Valoare_Cofinantare',TO_TIMESTAMP('2010-06-17 15:16:02','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Contribuţia proprie','Contribuţia proprie',TO_TIMESTAMP('2010-06-17 15:16:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:03 PM CDT +-- Generated Central ID for Fixed Asset +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=54187 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) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59292,54187,0,12,53116,'org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare','A_Valoare_Cofinantare',TO_TIMESTAMP('2010-06-17 15:16:03','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','Y','N','N','N','N','N','N','Y','N','Y','Contribuţia proprie',TO_TIMESTAMP('2010-06-17 15:16:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59292 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) +; + +-- Jun 17, 2010 3:16:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Valoare_Cofinantare NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:16:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54188,0,'A_Valoare_Tert',TO_TIMESTAMP('2010-06-17 15:16:04','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Contributie tert','Contributie tert',TO_TIMESTAMP('2010-06-17 15:16:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:08 PM CDT +-- Generated Central ID for Fixed Asset +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=54188 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) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59293,54188,0,12,53116,'org.compiere.FA.CalloutA_Depreciation_Workfile.A_Valoare_Cofinantare','A_Valoare_Tert',TO_TIMESTAMP('2010-06-17 15:16:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Contributie tert',TO_TIMESTAMP('2010-06-17 15:16:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59293 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) +; + +-- Jun 17, 2010 3:16:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_Valoare_Tert NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59294,275,0,10,53116,'Description',TO_TIMESTAMP('2010-06-17 15:16:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:16:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59294 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) +; + +-- Jun 17, 2010 3:16:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:16:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54189,0,'A_FundingMode_ID',TO_TIMESTAMP('2010-06-17 15:16:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Funding Mode','Asset Funding Mode',TO_TIMESTAMP('2010-06-17 15:16:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:16 PM CDT +-- Generated Central ID for Fixed Asset +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=54189 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) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59295,54189,0,19,53116,'A_FundingMode_ID',TO_TIMESTAMP('2010-06-17 15:16:16','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','Y','N','Y','Asset Funding Mode',TO_TIMESTAMP('2010-06-17 15:16:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59295 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) +; + +-- Jun 17, 2010 3:16:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN A_FundingMode_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59296,1047,0,20,53116,'Processed',TO_TIMESTAMP('2010-06-17 15:16:17','YYYY-MM-DD HH24:MI:SS'),0,'N','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2010-06-17 15:16:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59296 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) +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Workfile ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55400, AD_Table_ID=53116, AD_Window_ID=251, CommitWarning=NULL, Description='Asset Balance Report and Adjustments', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Asset Balances', OrderByClause=NULL, Processing='N', SeqNo=12, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55395, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Workfile_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55401, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Life_Current_Year', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:16:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55403, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Prior_Year_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55418, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Years', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55420, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Calc_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:16:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:16:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55421, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Curr_Dep_Exp', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:16:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55419, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Base_Amount', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55417, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Periods', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:16:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:16:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:16:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55416, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Posted', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:16:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55410, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56023 +; + +-- Jun 17, 2010 3:16:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55406, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56025 +; + +-- Jun 17, 2010 3:16:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55402,59008,0,53162,TO_TIMESTAMP('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','N','A_Period_Forecast',0,0,TO_TIMESTAMP('2010-06-17 15:16:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59008 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) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59279,59009,0,53162,TO_TIMESTAMP('2010-06-17 15:16:25','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','Y','Life Years (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:16:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59009 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) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59280,59010,0,53162,TO_TIMESTAMP('2010-06-17 15:16:29','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','Y','Life Period (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:16:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59010 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) +; + +-- Jun 17, 2010 3:16:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59296,59011,0,53162,TO_TIMESTAMP('2010-06-17 15:16:30','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_TIMESTAMP('2010-06-17 15:16:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59011 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) +; + +-- Jun 17, 2010 3:16:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55396, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56015 +; + +-- Jun 17, 2010 3:16:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55397, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56016 +; + +-- Jun 17, 2010 3:16:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55400, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56017 +; + +-- Jun 17, 2010 3:16:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59294,59012,0,53162,TO_TIMESTAMP('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',0,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2010-06-17 15:16:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59012 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) +; + +-- Jun 17, 2010 3:16:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55399, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Cost', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:16:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:16:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50019,0,TO_TIMESTAMP('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Funding',TO_TIMESTAMP('2010-06-17 15:16:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50019 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:16:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59291,50019,59013,0,53162,TO_TIMESTAMP('2010-06-17 15:16:40','YYYY-MM-DD HH24:MI:SS'),0,'Tipul finantarii',10,'D','Y','Y','Y','N','N','Y','N','Tip finantare',60,0,TO_TIMESTAMP('2010-06-17 15:16:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59013 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) +; + +-- Jun 17, 2010 3:16:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55404, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56018 +; + +-- Jun 17, 2010 3:16:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59295,50019,59014,0,53162,TO_TIMESTAMP('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Tip_Finantare@!P','D','Y','Y','Y','N','N','N','Y','Asset Funding Mode',80,0,TO_TIMESTAMP('2010-06-17 15:16:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59014 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) +; + +-- Jun 17, 2010 3:16:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59292,50019,59015,0,53162,TO_TIMESTAMP('2010-06-17 15:16:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Contribuţia proprie',90,0,TO_TIMESTAMP('2010-06-17 15:16:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59015 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) +; + +-- Jun 17, 2010 3:16:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59293,50019,59016,0,53162,TO_TIMESTAMP('2010-06-17 15:16:46','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Contributie tert',100,0,TO_TIMESTAMP('2010-06-17 15:16:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59016 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) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50020,0,TO_TIMESTAMP('2010-06-17 15:16:47','YYYY-MM-DD HH24:MI:SS'),0,'D','C','Y','N','Depreciation',TO_TIMESTAMP('2010-06-17 15:16:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50020 AND NOT EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_FieldGroup_ID=t.AD_FieldGroup_ID) +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55398, AD_FieldGroup_ID=50020, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:16:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:16:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59278,59017,0,53162,TO_TIMESTAMP('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),0,0,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (fiscal)',120,0,TO_TIMESTAMP('2010-06-17 15:16:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59017 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) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59285,59018,0,53162,TO_TIMESTAMP('2010-06-17 15:16:50','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Remaining Amt',130,0,TO_TIMESTAMP('2010-06-17 15:16:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59018 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) +; + +-- Jun 17, 2010 3:16:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59286,59019,0,53162,TO_TIMESTAMP('2010-06-17 15:16:51','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Remaining Amt (fiscal)',140,0,TO_TIMESTAMP('2010-06-17 15:16:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59019 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) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59287,59020,0,53162,TO_TIMESTAMP('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','SL Expense/Period',150,0,TO_TIMESTAMP('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59020 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) +; + +-- Jun 17, 2010 3:16:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59288,59021,0,53162,TO_TIMESTAMP('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','SL Expense/Period (fiscal)',160,0,TO_TIMESTAMP('2010-06-17 15:16:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59021 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) +; + +-- Jun 17, 2010 3:16:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59290,59022,0,53162,TO_TIMESTAMP('2010-06-17 15:16:53','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Life periods (min)',170,0,TO_TIMESTAMP('2010-06-17 15:16:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:16:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59022 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) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59289,59023,0,53162,TO_TIMESTAMP('2010-06-17 15:16:57','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Life periods (max)',180,0,TO_TIMESTAMP('2010-06-17 15:16:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59023 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) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59281,59024,0,53162,TO_TIMESTAMP('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0,'Years of the usable life of the asset',22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Usable Life - Years',190,0,TO_TIMESTAMP('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59024 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) +; + +-- Jun 17, 2010 3:17:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59283,59025,0,53162,TO_TIMESTAMP('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Years (fiscal)',200,0,TO_TIMESTAMP('2010-06-17 15:17:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59025 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) +; + +-- Jun 17, 2010 3:17:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59282,59026,0,53162,TO_TIMESTAMP('2010-06-17 15:17:02','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Usable Life - Months',210,0,TO_TIMESTAMP('2010-06-17 15:17:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59026 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) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59284,59027,0,53162,TO_TIMESTAMP('2010-06-17 15:17:04','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Months (fiscal)',220,0,TO_TIMESTAMP('2010-06-17 15:17:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59027 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) +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55405, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Depreciate', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56024 +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55422, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Current Period', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:17:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:17:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55407,59028,0,53162,TO_TIMESTAMP('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',0,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','Y','N','N','N','N','Account Date',250,0,TO_TIMESTAMP('2010-06-17 15:17:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59028 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) +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55415, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Update depreciation', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the accounting setup for each fixed asset. Settings include account numbers to be used in depreciation entries as well depreciation calculation methods', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Acct_ID', ReplicationType='L', TableName='A_Asset_Acct',Updated=TO_TIMESTAMP('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53123 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53123 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Acct_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Acct_ID',Updated=TO_TIMESTAMP('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53519 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53519 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55596 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55596 +; + +-- Jun 17, 2010 3:17:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55596 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Client selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Client', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 112, AD_Display = 208, AD_Key = 207, isValueDisplayed = 'N', OrderByClause = 'AD_Client.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 129 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55597 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Organization selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Org (all)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 155, AD_Display = 522, AD_Key = 528, isValueDisplayed = 'Y', OrderByClause = 'AD_Org.Value', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 276 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53123, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55598 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55599 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Account', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Account',Updated=TO_TIMESTAMP('2010-06-17 15:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53530 +; + +-- Jun 17, 2010 3:17:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53530 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Account Element', EntityType='D', Help=NULL, IsActive='Y', Name='Account', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=25 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=25 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55600 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55600 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55600 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation',Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53473 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53473 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Depreciation Type selection', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Type', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53112, AD_Display = 55346, AD_Key = 55340, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53264 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53473, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Field_Clear', ColumnName='A_Depreciation_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55601 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55601 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55601 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Manual_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Manual_Period',Updated=TO_TIMESTAMP('2010-06-17 15:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53531 +; + +-- Jun 17, 2010 3:17:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53531 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List available periods for calculating manual depreciation expense', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Period', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53256 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53256 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53256, Description='Amount entered in the Manual Depreciation Field is by period', EntityType='D', IsActive='Y', Name='Period', Value='PR',Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53358 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53256, Description='The amount entered into the manual depreciation field is for the year', EntityType='D', IsActive='Y', Name='Yearly', Value='YR',Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53359 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55602 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55602 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55602 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Manual_Period','VARCHAR(2)',null,'NULL') +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Table_Header_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Table_Header_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Table_Header_ID',Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53481 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53481 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List of depreciation table codes', EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Table_Codes', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53114, AD_Display = 55373, AD_Key = 55364, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53265 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Table_Period', ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55603 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55603 +; + +-- Jun 17, 2010 3:17:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55603 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Gain', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Gain', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Gain',Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53532 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53532 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53532, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Gain', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposal_Gain', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55604 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55604 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Gain', Description=NULL, Help=NULL WHERE AD_Column_ID=55604 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cost_Offset_Prior', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Cost Offset for Prior Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Cost Offset for Prior Year',Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53533 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53533 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55605 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55605 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cost_Offset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Cost Offset for Current Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Cost Offset for Current Year',Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53534 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53534 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55606 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55606 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Cal_Method', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Reval_Cal_Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Reval_Cal_Method',Updated=TO_TIMESTAMP('2010-06-17 15:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53509 +; + +-- Jun 17, 2010 3:17:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53509 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='List of Revaluation Types', EntityType='D', Help=NULL, IsActive='Y', Name='A_Reval_Method_Type', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53259 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53259 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53259, Description='Revaluate each year seperately', EntityType='D', IsActive='N', Name='Inception to date', Value='IDF',Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53367 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53259, Description='Revaluate current year to date balances and then revaluates the beginning balance', EntityType='D', IsActive='Y', Name='Year Balances', Value='YBF',Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53368 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55607 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55607 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55607 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Reval_Cal_Method','VARCHAR(3)',null,'NULL') +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Accumdep_Offset_Prior', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Accumulated Depreciation Offset for Prior Year',Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53535 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53535 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55608 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55608 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Accumdep_Offset_Cur', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Accumulated Depreciation Offset for Current Year',Updated=TO_TIMESTAMP('2010-06-17 15:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53536 +; + +-- Jun 17, 2010 3:17:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53536 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55609 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55609 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_Start', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_Start', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_Start',Updated=TO_TIMESTAMP('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53537 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53537 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55610 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55610 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55610 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period_End', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period_End', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period_End',Updated=TO_TIMESTAMP('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53538 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53538 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55611 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55611 +; + +-- Jun 17, 2010 3:17:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55611 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Disposal Revenue', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Disposal Revenue',Updated=TO_TIMESTAMP('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53539 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53539 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55612 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55612 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Loss on Disposal', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Loss on Disposal',Updated=TO_TIMESTAMP('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53540 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53540 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55613 +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55613 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55614 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55615 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='''Y''', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55616 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55616 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55617 +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Acct SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:17:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55618 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55619 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55620 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_AcctSchema_ID', Description='Rules for accounting', EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', IsActive='Y', Name='Accounting Schema', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accounting Schema',Updated=TO_TIMESTAMP('2010-06-17 15:17:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=181 +; + +-- Jun 17, 2010 3:17:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=181 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55621 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Split_Percent', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Split Percent', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Split Percent',Updated=TO_TIMESTAMP('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53541 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53541 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, ValueMax='1', ValueMin='0.01', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55622 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55622 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55622 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Split_Percent','NUMERIC',null,'1') +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Acct SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55623 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55623 +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55623 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Salvage_Value','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:17:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Salvage_Value',null,'NULL',null) +; + +-- Jun 17, 2010 3:17:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Reval_Depexp_Offset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Revaluation Expense Offs', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Revaluation Expense Offs',Updated=TO_TIMESTAMP('2010-06-17 15:17:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53542 +; + +-- Jun 17, 2010 3:17:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53542 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55624 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55624 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Variable_Perc', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Variable Percent', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Variable Percent',Updated=TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53543 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53543 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55625 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55625 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55625 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Method_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Method',Updated=TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53544 +; + +-- Jun 17, 2010 3:17:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53544 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53362,TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),0,'Depreciation Calculation Method','D','Y','A_Depreciation_Method',TO_TIMESTAMP('2010-06-17 15:17:25','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +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=53362 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53362, 53124, 55626, 55627, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53544, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Method_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55628 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55628 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55628 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Method_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Manual_Amount', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Manual_Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Manual_Amount',Updated=TO_TIMESTAMP('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53545 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53545 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55629 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55629 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55629 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Conv_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Convention Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Convention Type',Updated=TO_TIMESTAMP('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53546 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53546 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Display mid year convention types', EntityType='D', Help=NULL, IsActive='Y', Name='A_ConventionType', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53267 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53267 +; + +-- Jun 17, 2010 3:17:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53125, AD_Display = 55630, AD_Key = 55631, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53267 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53546, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Conv_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Convention Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55632 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55632 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Conv_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Spread_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Spread_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Spread_ID',Updated=TO_TIMESTAMP('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53547 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53547 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Depreciation Type Spread', EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Spread', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 53126, AD_Display = 55633, AD_Key = 55634, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53268 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53547, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Spread_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55635 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55635 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Spread_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55635 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation Account', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation Account',Updated=TO_TIMESTAMP('2010-06-17 15:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53548 +; + +-- Jun 17, 2010 3:17:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53548 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55636 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55636 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55636 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Accumdepreciation_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Accumdepreciation_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetAcct',Updated=TO_TIMESTAMP('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53549 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53549 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53123, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55637 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55637 +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55637 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Asset_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:17:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_acct','A_Asset_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:17:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54190,0,'A_Disposal_Gain_Acct',TO_TIMESTAMP('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Gain Acct','Disposal Gain Acct',TO_TIMESTAMP('2010-06-17 15:17:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54190 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) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59297,54190,0,25,53123,'A_Disposal_Gain_Acct',TO_TIMESTAMP('2010-06-17 15:17:33','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Gain Acct',TO_TIMESTAMP('2010-06-17 15:17:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59297 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) +; + +-- Jun 17, 2010 3:17:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Disposal_Gain_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54191,0,'A_Reval_Cost_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:17:35','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Cost Offset Prior Acct','Reval Cost Offset Prior Acct',TO_TIMESTAMP('2010-06-17 15:17:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:37 PM CDT +-- Generated Central ID for Fixed Asset +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=54191 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) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59298,54191,0,25,53123,'A_Reval_Cost_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:17:37','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_TIMESTAMP('2010-06-17 15:17:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59298 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) +; + +-- Jun 17, 2010 3:17:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Reval_Cost_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54192,0,'A_Reval_Cost_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:17:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Cost Offset Acct','Reval Cost Offset Acct',TO_TIMESTAMP('2010-06-17 15:17:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:39 PM CDT +-- Generated Central ID for Fixed Asset +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=54192 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) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59299,54192,0,25,53123,'A_Reval_Cost_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:17:39','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_TIMESTAMP('2010-06-17 15:17:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59299 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) +; + +-- Jun 17, 2010 3:17:40 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Reval_Cost_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54193,0,'A_Reval_Adep_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:17:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Reval_Accumdep_Offset_Prior','A_Reval_Accumdep_Offset_Prior',TO_TIMESTAMP('2010-06-17 15:17:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:41 PM CDT +-- Generated Central ID for Fixed Asset +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=54193 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) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59300,54193,0,25,53123,'A_Reval_Adep_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:17:41','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_TIMESTAMP('2010-06-17 15:17:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59300 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) +; + +-- Jun 17, 2010 3:17:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Reval_Adep_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54194,0,'A_Reval_Adep_Offset_Cur_Acct',TO_TIMESTAMP('2010-06-17 15:17:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Reval_Accumdep_Offset_Cur','A_Reval_Accumdep_Offset_Cur',TO_TIMESTAMP('2010-06-17 15:17:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54194 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) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59301,54194,0,25,53123,'A_Reval_Adep_Offset_Cur_Acct',TO_TIMESTAMP('2010-06-17 15:17:43','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_TIMESTAMP('2010-06-17 15:17:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59301 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) +; + +-- Jun 17, 2010 3:17:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Reval_Adep_Offset_Cur_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54195,0,'A_Disposal_Revenue_Acct',TO_TIMESTAMP('2010-06-17 15:17:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Disposal_Revenue','A_Disposal_Revenue',TO_TIMESTAMP('2010-06-17 15:17:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:46 PM CDT +-- Generated Central ID for Fixed Asset +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=54195 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) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59302,54195,0,25,53123,'A_Disposal_Revenue_Acct',TO_TIMESTAMP('2010-06-17 15:17:46','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Disposal_Revenue',TO_TIMESTAMP('2010-06-17 15:17:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59302 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) +; + +-- Jun 17, 2010 3:17:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Disposal_Revenue_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:17:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54196,0,'A_Disposal_Loss_Acct',TO_TIMESTAMP('2010-06-17 15:17:47','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Loss Acct','Disposal Loss Acct',TO_TIMESTAMP('2010-06-17 15:17:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:48 PM CDT +-- Generated Central ID for Fixed Asset +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=54196 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) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59303,54196,0,25,53123,'A_Disposal_Loss_Acct',TO_TIMESTAMP('2010-06-17 15:17:48','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct',TO_TIMESTAMP('2010-06-17 15:17:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59303 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) +; + +-- Jun 17, 2010 3:17:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Disposal_Loss_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:17:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54197,0,'A_Reval_Depexp_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:17:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Reval Depexp Offset Acct','Reval Depexp Offset Acct',TO_TIMESTAMP('2010-06-17 15:17:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:50 PM CDT +-- Generated Central ID for Fixed Asset +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=54197 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) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59304,54197,0,25,53123,'A_Reval_Depexp_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:17:50','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_TIMESTAMP('2010-06-17 15:17:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59304 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) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Reval_Depexp_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54198,0,'A_Depreciation_Method_F_ID',TO_TIMESTAMP('2010-06-17 15:17:51','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Method (fiscal)','Depreciation Method (fiscal)',TO_TIMESTAMP('2010-06-17 15:17:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:51 PM CDT +-- Generated Central ID for Fixed Asset +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=54198 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) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59305,54198,0,18,53362,53123,'A_Depreciation_Method_F_ID',TO_TIMESTAMP('2010-06-17 15:17:52','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method (fiscal)',TO_TIMESTAMP('2010-06-17 15:17:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59305 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) +; + +-- Jun 17, 2010 3:17:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Depreciation_Method_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:17:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54199,0,'A_Depreciation_F_ID',TO_TIMESTAMP('2010-06-17 15:17:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation (fiscal)','Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:17:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:17:57 PM CDT +-- Generated Central ID for Fixed Asset +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=54199 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) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59306,54199,0,18,53264,53123,'A_Depreciation_F_ID',TO_TIMESTAMP('2010-06-17 15:17:57','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:17:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59306 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) +; + +-- Jun 17, 2010 3:18:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Depreciation_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54200,0,'A_Depreciation_Conv_F_ID',TO_TIMESTAMP('2010-06-17 15:18:01','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Convention (fiscal)','Depreciation Convention (fiscal)',TO_TIMESTAMP('2010-06-17 15:18:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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=54200 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) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59307,54200,0,18,53267,53123,'A_Depreciation_Conv_F_ID',TO_TIMESTAMP('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Convention (fiscal)',TO_TIMESTAMP('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59307 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) +; + +-- Jun 17, 2010 3:18:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Depreciation_Conv_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:18:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54201,0,'A_Depreciation_Variable_Perc_F',TO_TIMESTAMP('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Variable Percent (fiscal)','Variable Percent (fiscal)',TO_TIMESTAMP('2010-06-17 15:18:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:04 PM CDT +-- Generated Central ID for Fixed Asset +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=54201 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) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59308,54201,0,22,53123,'A_Depreciation_Variable_Perc_F',TO_TIMESTAMP('2010-06-17 15:18:04','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Variable Percent (fiscal)',TO_TIMESTAMP('2010-06-17 15:18:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59308 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) +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN A_Depreciation_Variable_Perc_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ValidFrom', Description='Valid from including this date (first day)', EntityType='D', Help='The Valid From date indicates the first day of a date range', IsActive='Y', Name='Valid from', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Valid from',Updated=TO_TIMESTAMP('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=617 +; + +-- Jun 17, 2010 3:18:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=617 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59309,617,0,15,53123,'ValidFrom',TO_TIMESTAMP('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)','D',7,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','N','Valid from',TO_TIMESTAMP('2010-06-17 15:18:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59309 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) +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Acct ADD COLUMN ValidFrom TIMESTAMP DEFAULT NULL +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55599, AD_Table_ID=53123, AD_Window_ID=251, CommitWarning=NULL, Description='Enter accounting setup information', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Accounting Setup', OrderByClause=NULL, Processing='N', SeqNo=14, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55618, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55862 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55610, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:18:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55611, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55623, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Accounts',Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50001 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55622, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55597, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55863 +; + +-- Jun 17, 2010 3:18:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55598, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=2,Updated=TO_TIMESTAMP('2010-06-17 15:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55864 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55621, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55865 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55866 +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59309,59029,0,53157,TO_TIMESTAMP('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)',7,'D','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',50,0,TO_TIMESTAMP('2010-06-17 15:18:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59029 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) +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Setup',Updated=TO_TIMESTAMP('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50002 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55617, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55867 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:18:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59306,59030,0,53157,TO_TIMESTAMP('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation (fiscal)',80,0,TO_TIMESTAMP('2010-06-17 15:18:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59030 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) +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55629, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:18:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55603, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic='@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_ID@=1000006|@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55625, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:18:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59308,59031,0,53157,TO_TIMESTAMP('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022','D','Y','Y','Y','N','N','N','Y','Variable Percent (fiscal)',130,0,TO_TIMESTAMP('2010-06-17 15:18:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59031 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) +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55635, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Spread_ID', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55628, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Method', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:18:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59305,59032,0,53157,TO_TIMESTAMP('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Method (fiscal)',160,0,TO_TIMESTAMP('2010-06-17 15:18:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59032 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) +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55632, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Convention Type', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:18:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59307,59033,0,53157,TO_TIMESTAMP('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),0,20,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Convention (fiscal)',180,0,TO_TIMESTAMP('2010-06-17 15:18:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59033 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) +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55637, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55636, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55600, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:18:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55612, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55613, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59302,59034,0,53157,TO_TIMESTAMP('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',220,0,TO_TIMESTAMP('2010-06-17 15:18:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59034 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) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59303,59035,0,53157,TO_TIMESTAMP('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct',230,0,TO_TIMESTAMP('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59035 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) +; + +-- Jun 17, 2010 3:18:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Revaluation Accounts',Updated=TO_TIMESTAMP('2010-06-17 15:18:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50004 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55607, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55606, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55605, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:18:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59299,59036,0,53157,TO_TIMESTAMP('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',250,0,TO_TIMESTAMP('2010-06-17 15:18:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59036 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) +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55609, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:18:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59298,59037,0,53157,TO_TIMESTAMP('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',260,0,TO_TIMESTAMP('2010-06-17 15:18:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59037 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) +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55608, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:18:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59301,59038,0,53157,TO_TIMESTAMP('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',270,0,TO_TIMESTAMP('2010-06-17 15:18:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59038 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) +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55624, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:18:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59300,59039,0,53157,TO_TIMESTAMP('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',280,0,TO_TIMESTAMP('2010-06-17 15:18:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59039 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) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59304,59040,0,53157,TO_TIMESTAMP('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',290,0,TO_TIMESTAMP('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59040 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) +; + +-- Jun 17, 2010 3:18:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Addition', ReplicationType='L', TableName='A_Asset_Addition',Updated=TO_TIMESTAMP('2010-06-17 15:18:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Addition_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Addition', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Addition',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53612 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53612 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetValueAmt', Description='Book Value of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Asset value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset value',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1935 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1935 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GL_JournalBatch_ID', Description='General Ledger Journal Batch', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', IsActive='Y', Name='Journal Batch', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Journal Batch',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=313 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=313 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Line', Description='Unique line for this document', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', IsActive='Y', Name='Line No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Line No',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=439 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=439 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocumentNo', Description='Document sequence number of the document', EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', IsActive='Y', Name='Document No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Document No',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=290 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=290 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='DocumentNo Invoice Vendor', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 318, AD_Display = 3492, AD_Key = 3484, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 53274 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Invoice_ID', Description='Invoice Identifier', EntityType='D', Help='The Invoice Document.', IsActive='Y', Name='Invoice', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1008 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1008 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_SourceType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Source Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Source Type',Updated=TO_TIMESTAMP('2010-06-17 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53640 +; + +-- Jun 17, 2010 3:18:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53640 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Entry Source Types', EntityType='D', Help='Listing of entry source types', IsActive='Y', Name='A_SourceType', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53276 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry was created from an imported document', EntityType='D', IsActive='Y', Name='Imported', Value='IMP',Updated=TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53412 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry is related to an invoice', EntityType='D', IsActive='Y', Name='Invoice', Value='INV',Updated=TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53413 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='The entry was created from a journal entry', EntityType='D', IsActive='N', Name='Journal Entry', Value='JRN',Updated=TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53414 +; + +-- Jun 17, 2010 3:18:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53276, Description='This entry was manually created', EntityType='D', IsActive='Y', Name='Manual', Value='MAN',Updated=TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53415 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53604,53276,TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Project',TO_TIMESTAMP('2010-06-17 15:18:30','YYYY-MM-DD HH24:MI:SS'),0,'PRJ') +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +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=53604 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) +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_CapvsExp', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Capital/Expense', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Capital/Expense',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53641 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53641 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Capital vs Expense', EntityType='D', Help='Inidcates if charge is capital or expense', IsActive='Y', Name='A_CapvsExp', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53277 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53277, Description='Indicates cost associated with this entry is capital', EntityType='D', IsActive='Y', Name='Capital', Value='Cap',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53416 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53277, Description='Inidicates this charge is an expense', EntityType='D', IsActive='Y', Name='Expense', Value='Exp',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53417 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocStatus', Description='The current status of the document', EntityType='D', Help='The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field', IsActive='Y', Name='Document Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Status',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=289 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=289 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Document Status list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Status', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=131 +; + +-- Jun 17, 2010 3:18:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=131 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Unknown', Value='??',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=190 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=190 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Approved', Value='AP',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=166 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=166 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Closed', Value='CL',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=177 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=177 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Completed', Value='CO',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=165 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=165 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Drafted', Value='DR',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=164 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=164 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid', Value='IN',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=173 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=173 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='In Progress', Value='IP',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=341 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=341 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Not Approved', Value='NA',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=168 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=168 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Reversed', Value='RE',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=176 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=176 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Voided', Value='VO',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=172 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=172 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Confirmation', Value='WC',Updated=TO_TIMESTAMP('2010-06-17 15:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=670 +; + +-- Jun 17, 2010 3:18:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=670 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Payment', Value='WP',Updated=TO_TIMESTAMP('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=346 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=346 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DocAction', Description='The targeted status of the document', EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', IsActive='Y', Name='Document Action', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Action',Updated=TO_TIMESTAMP('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=287 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=287 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Document action list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Action', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=135 +; + +-- Jun 17, 2010 3:18:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135 +; + +-- Jun 17, 2010 3:18:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53137,50020,'1','teo_sarca',0,TO_TIMESTAMP('2010-06-17 15:18:35','YYYY-MM-DD HH24:MI:SS'),0,'10000000',0,'D','D','Y','N','N','N',0,'Process_Asset_Adition',0,'R',TO_TIMESTAMP('2010-06-17 15:18:35','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Adition',0,0,'P',0) +; + +-- Jun 17, 2010 3:18:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50020 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:18:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50099,50020,'D',0,TO_TIMESTAMP('2010-06-17 15:18:37','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2010-06-17 15:18:37','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,5,168) +; + +-- Jun 17, 2010 3:18:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50099 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50100,50020,'D',0,TO_TIMESTAMP('2010-06-17 15:18:38','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2010-06-17 15:18:38','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,229,169) +; + +-- Jun 17, 2010 3:18:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50100 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50101,50020,'D',0,TO_TIMESTAMP('2010-06-17 15:18:39','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2010-06-17 15:18:39','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,230,5) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50101 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50100,50076,50101,TO_TIMESTAMP('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50102,50020,'Z',0,TO_TIMESTAMP('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2010-06-17 15:18:40','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,5,5) +; + +-- Jun 17, 2010 3:18:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50102 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50099,50077,50102,TO_TIMESTAMP('2010-06-17 15:18:41','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:18:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50101,50078,50102,TO_TIMESTAMP('2010-06-17 15:18:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_TIMESTAMP('2010-06-17 15:18:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,Description,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50103,50020,'Z',0,TO_TIMESTAMP('2010-06-17 15:18:43','YYYY-MM-DD HH24:MI:SS'),0,'Approve asset activation','CO',0,0,'D','N','N','X','Activation Approval',0,'X',TO_TIMESTAMP('2010-06-17 15:18:43','YYYY-MM-DD HH24:MI:SS'),0,'Activation Approval',0,0,0,440,67) +; + +-- Jun 17, 2010 3:18:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50103 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50102, IsValid='Y',Updated=TO_TIMESTAMP('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50020 +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53208,50020,'1',TO_TIMESTAMP('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Addition Process','Y',0,0,TO_TIMESTAMP('2010-06-17 15:18:44','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Adition_Process',NULL) +; + +-- Jun 17, 2010 3:18:44 PM CDT +-- Generated Central ID for Fixed Asset +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=53208 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) +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_CreateAsset', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Create Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Asset',Updated=TO_TIMESTAMP('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53646 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53646 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsApproved', Description='Indicates if this document requires approval', EntityType='D', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', IsActive='Y', Name='Approved', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Approved',Updated=TO_TIMESTAMP('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=351 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=351 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_MatchInv_ID', Description='Match Shipment/Receipt to Invoice', EntityType='D', Help=NULL, IsActive='Y', Name='Match Invoice', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Match Invoice',Updated=TO_TIMESTAMP('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1689 +; + +-- Jun 17, 2010 3:18:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1689 +; + +-- Jun 17, 2010 3:18:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53363,TO_TIMESTAMP('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_MatchInv for Asset Addition',TO_TIMESTAMP('2010-06-17 15:18:45','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:18:46 PM CDT +-- Generated Central ID for Fixed Asset +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=53363 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53363, 472, 13086, 6497, 'D', 'N', '', '') +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52086,'A_Processed=''N''',TO_TIMESTAMP('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Document line is not processed from asset perspective','S',TO_TIMESTAMP('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_InvoiceLine_ID', Description='Invoice Detail Line', EntityType='D', Help='The Invoice Line uniquely identifies a single line of an Invoice.', IsActive='Y', Name='Invoice Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Line',Updated=TO_TIMESTAMP('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1076 +; + +-- Jun 17, 2010 3:18:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1076 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52087,'M_Locator.AD_Org_ID=@AD_Org_ID@',TO_TIMESTAMP('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0,'Locator from selected Organization','D','Y','M_Locator of Org','S',TO_TIMESTAMP('2010-06-17 15:18:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Currency_ID', Description='The Currency for this record', EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', IsActive='Y', Name='Currency', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Currency',Updated=TO_TIMESTAMP('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=193 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=193 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_ConversionType_ID', Description='Currency Conversion Rate Type', EntityType='D', Help='The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.', IsActive='Y', Name='Currency Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Currency Type',Updated=TO_TIMESTAMP('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2278 +; + +-- Jun 17, 2010 3:18:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2278 +; + +-- Jun 17, 2010 3:18:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54202,0,'AssetSourceAmt',TO_TIMESTAMP('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Source Amount','Source Amount',TO_TIMESTAMP('2010-06-17 15:18:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:52 PM CDT +-- Generated Central ID for Fixed Asset +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=54202 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54203,0,'DeltaUseLifeYears',TO_TIMESTAMP('2010-06-17 15:18:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Delta Use Life Years','Delta Use Life Years',TO_TIMESTAMP('2010-06-17 15:18:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +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=54203 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54204,0,'DeltaUseLifeYears_F',TO_TIMESTAMP('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)','D','Y','Delta Use Life Years (fiscal)','Delta Use Life Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +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=54204 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) +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DateDoc', Description='Date of the Document', EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', IsActive='Y', Name='Document Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc date',Updated=TO_TIMESTAMP('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=265 +; + +-- Jun 17, 2010 3:18:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=265 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54205,0,'I_FixedAsset_ID',TO_TIMESTAMP('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Imported Fixed Asset','Imported Fixed Asset',TO_TIMESTAMP('2010-06-17 15:18:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54205 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) +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='CurrencyRate', Description='Currency Conversion Rate', EntityType='D', Help='The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency', IsActive='Y', Name='Rate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Rate',Updated=TO_TIMESTAMP('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=253 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=253 +; + +-- Jun 17, 2010 3:18:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_Project.IsSummary=''N'' AND C_Project.ProjectCategory IN (''W'',''A'')', Description=NULL, EntityType='D', IsActive='Y', Name='C_Project - WorkOrder/Asset', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=176 +; + +-- Jun 17, 2010 3:18:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54206,0,'A_Accumulated_Depr_Adjust',TO_TIMESTAMP('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Adjust Accumulated Depreciation','Adjust Accumulated Depreciation',TO_TIMESTAMP('2010-06-17 15:18:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:55 PM CDT +-- Generated Central ID for Fixed Asset +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=54206 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) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54207,0,'AssetAmtEntered',TO_TIMESTAMP('2010-06-17 15:18:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Entered Amount','Amount',TO_TIMESTAMP('2010-06-17 15:18:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +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=54207 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) +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Posted', Description='Posting status', EntityType='D', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', IsActive='Y', Name='Posted', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Posted',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1308 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1308 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='_Posted Status', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=234 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=234 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posting Error', Value='E',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=684 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=684 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Posted', Value='N',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=458 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=458 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posted', Value='Y',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=459 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=459 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Balanced', Value='b',Updated=TO_TIMESTAMP('2010-06-17 15:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=460 +; + +-- Jun 17, 2010 3:18:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=460 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Convertible (no rate)', Value='c',Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=461 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=461 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid Account', Value='i',Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=464 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=464 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Period Closed', Value='p',Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=462 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=462 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Post Prepared', Value='y',Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=463 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=463 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Charge_ID', Description='Additional document charges', EntityType='D', Help='The Charge indicates a type of Charge (Handling, Shipping, Restocking)', IsActive='Y', Name='Charge', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Charge',Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=968 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=968 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Cost Detail', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Cost Details', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:18:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56027 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56028 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56029 +; + +-- Jun 17, 2010 3:18:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56030 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56031 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56032 +; + +-- Jun 17, 2010 3:18:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56033 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:19:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56036 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56037 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56038 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56039 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:19:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:19:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:19:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:19:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:19:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_PrintPaper SET Code='iso-a4', Description='1/2 inch margin on all sides', DimensionUnits=NULL, IsActive='Y', IsDefault='N', IsLandscape='N', MarginBottom=36, MarginLeft=40, MarginRight=36, MarginTop=36, Name='A4 Portrait', SizeX=NULL, SizeY=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:19:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintPaper_ID=103 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Disposed_ID', ReplicationType='L', TableName='A_Asset_Disposed',Updated=TO_TIMESTAMP('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Disposed_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Disposed_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Disposed_ID',Updated=TO_TIMESTAMP('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53550 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53550 +; + +-- Jun 17, 2010 3:20:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52088,'Processed=''Y'' AND A_Asset_Status<>''DI''',TO_TIMESTAMP('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset - processed but not disposed','S',TO_TIMESTAMP('2010-06-17 15:20:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Date',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53551 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Reason', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Reason', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Reason',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53552 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Reason for Disposal', EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Reason', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53269 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53269 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Donated to Charity', EntityType='D', IsActive='Y', Name='Charity', Value='C',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53380 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Destroyed', EntityType='D', IsActive='Y', Name='Destroyed', Value='D',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53381 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Scraped', EntityType='D', IsActive='Y', Name='Scraped', Value='S',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53382 +; + +-- Jun 17, 2010 3:20:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Sold', EntityType='D', IsActive='Y', Name='Sold', Value='S1',Updated=TO_TIMESTAMP('2010-06-17 15:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53383 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Sold with trade', EntityType='D', IsActive='Y', Name='Sold w/Trade', Value='S2',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53384 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53269, Description='Asset Stolen', EntityType='D', IsActive='Y', Name='Theft', Value='T',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53385 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_Period_ID', Description='Period of the Calendar', EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', IsActive='Y', Name='Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=206 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=206 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Periods Sorted by Date', EntityType='D', Help=NULL, IsActive='Y', Name='C_Period (Open)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 145, AD_Display = 482, AD_Key = 837, isValueDisplayed = 'N', OrderByClause = 'C_Period.StartDate', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_PeriodControl pc WHERE C_Period.C_Period_ID=pc.C_Period_ID AND pc.PeriodStatus=''O'')' WHERE AD_Reference_ID = 233 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Proceeds', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Proceeds', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Proceeds',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53553 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53553 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposed_Method', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposed_Method', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposed_Method',Updated=TO_TIMESTAMP('2010-06-17 15:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53554 +; + +-- Jun 17, 2010 3:20:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Method of Disposals', EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Method', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53270 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53270 +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53605,53270,TO_TIMESTAMP('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'Sold for cash','D','N','Cash_',TO_TIMESTAMP('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'C_') +; + +-- Jun 17, 2010 3:20:13 PM CDT +-- Generated Central ID for Fixed Asset +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=53605 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) +; + +-- Jun 17, 2010 3:20:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53606,53270,TO_TIMESTAMP('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Partial Retirement',TO_TIMESTAMP('2010-06-17 15:20:13','YYYY-MM-DD HH24:MI:SS'),0,'PD') +; + +-- Jun 17, 2010 3:20:14 PM CDT +-- Generated Central ID for Fixed Asset +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=53606 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) +; + +-- Jun 17, 2010 3:20:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53607,53270,TO_TIMESTAMP('2010-06-17 15:20:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Preservation',TO_TIMESTAMP('2010-06-17 15:20:14','YYYY-MM-DD HH24:MI:SS'),0,'PR') +; + +-- Jun 17, 2010 3:20:15 PM CDT +-- Generated Central ID for Fixed Asset +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=53607 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) +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53608,53270,TO_TIMESTAMP('2010-06-17 15:20:15','YYYY-MM-DD HH24:MI:SS'),0,'No cash or trade','D','Y','Simple_',TO_TIMESTAMP('2010-06-17 15:20:15','YYYY-MM-DD HH24:MI:SS'),0,'S_') +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +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=53608 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) +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53270, Description='Traded in', EntityType='D', IsActive='Y', Name='Trade', Value='T1',Updated=TO_TIMESTAMP('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53388 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53270, Description='Traded In with cash', EntityType='D', IsActive='N', Name='Trade w/cash', Value='T2',Updated=TO_TIMESTAMP('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53389 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Trade_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Trade_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Trade_ID',Updated=TO_TIMESTAMP('2010-06-17 15:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53555 +; + +-- Jun 17, 2010 3:20:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53555 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Organization selection, no summary, no 0', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Org (Trx)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=130 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=130 +; + +-- Jun 17, 2010 3:20:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 155, AD_Display = 522, AD_Key = 528, isValueDisplayed = 'Y', OrderByClause = 'AD_Org.Name', EntityType ='D', WhereClause = 'AD_Org.IsSummary=''N'' AND AD_Org_ID <> 0' WHERE AD_Reference_ID = 130 +; + +-- Jun 17, 2010 3:20:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53127,50021,'1','teo_sarca',0,TO_TIMESTAMP('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),0,'10000001',0,'D','D','Y','N','N','N',0,'Process_Asset_Disposed',0,'R',TO_TIMESTAMP('2010-06-17 15:20:17','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Disposed',0,0,'P',0) +; + +-- Jun 17, 2010 3:20:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50021 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:20:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50104,50021,'D',0,TO_TIMESTAMP('2010-06-17 15:20:18','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2010-06-17 15:20:18','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50104 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50105,50021,'D',0,TO_TIMESTAMP('2010-06-17 15:20:19','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2010-06-17 15:20:19','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50105 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50106,50021,'D',0,TO_TIMESTAMP('2010-06-17 15:20:20','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2010-06-17 15:20:20','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50106 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50105,50079,50106,TO_TIMESTAMP('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50107,50021,'Z',0,TO_TIMESTAMP('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2010-06-17 15:20:21','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:20:23 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50107 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50106,50080,50107,TO_TIMESTAMP('2010-06-17 15:20:23','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_TIMESTAMP('2010-06-17 15:20:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50104,50081,50107,TO_TIMESTAMP('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50107, IsValid='Y',Updated=TO_TIMESTAMP('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50021 +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53210,50021,'1',TO_TIMESTAMP('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Disposed Process','Y',0,0,TO_TIMESTAMP('2010-06-17 15:20:26','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Disposed_Process',NULL) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +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=53210 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) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54208,0,'A_Activation_Method',TO_TIMESTAMP('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation Method','Activation Method',TO_TIMESTAMP('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:27 PM CDT +-- Generated Central ID for Fixed Asset +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=54208 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) +; + +-- Jun 17, 2010 3:20:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53364,TO_TIMESTAMP('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'Activation Methods','D','Y','A_Activation_Method',TO_TIMESTAMP('2010-06-17 15:20:27','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:20:28 PM CDT +-- Generated Central ID for Fixed Asset +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=53364 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53609,53364,TO_TIMESTAMP('2010-06-17 15:20:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Activation',TO_TIMESTAMP('2010-06-17 15:20:28','YYYY-MM-DD HH24:MI:SS'),0,'AA') +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +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=53609 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) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54209,0,'A_Disposal_Amt',TO_TIMESTAMP('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Amount','Disposal Amt',TO_TIMESTAMP('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +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=54209 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) +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Expense', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Expense', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Expense',Updated=TO_TIMESTAMP('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53485 +; + +-- Jun 17, 2010 3:20:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53485 +; + +-- Jun 17, 2010 3:20:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54210,0,'A_Accumulated_Depr_Delta',TO_TIMESTAMP('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation (delta)','Accumulated Depreciation (delta)',TO_TIMESTAMP('2010-06-17 15:20:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:30 PM CDT +-- Generated Central ID for Fixed Asset +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=54210 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) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55640,0,53321,53127,251,NULL,TO_TIMESTAMP('2010-06-17 15:20:30','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','Y','N','N','N','N','Disposal','N',16,1,TO_TIMESTAMP('2010-06-17 15:20:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53321 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55638,59041,0,53321,TO_TIMESTAMP('2010-06-17 15:20:31','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_TIMESTAMP('2010-06-17 15:20:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59041 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) +; + +-- Jun 17, 2010 3:20:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55643,59042,0,53321,TO_TIMESTAMP('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',22,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_TIMESTAMP('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59042 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) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55649,59043,0,53321,TO_TIMESTAMP('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_TIMESTAMP('2010-06-17 15:20:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59043 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) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55642,59044,0,53321,TO_TIMESTAMP('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','N','N','N','N','Y','A_Disposed_Reason',0,0,TO_TIMESTAMP('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59044 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) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55639,59045,0,53321,TO_TIMESTAMP('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:20:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59045 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) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55656,59046,0,53321,TO_TIMESTAMP('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','Y','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59046 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) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55640,59047,0,53321,TO_TIMESTAMP('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_TIMESTAMP('2010-06-17 15:20:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59047 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) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55654,59048,0,53321,TO_TIMESTAMP('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Method',90,0,TO_TIMESTAMP('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59048 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) +; + +-- Jun 17, 2010 3:20:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55641,59049,0,53321,TO_TIMESTAMP('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Date',100,0,TO_TIMESTAMP('2010-06-17 15:20:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59049 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) +; + +-- Jun 17, 2010 3:20:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55645,59050,0,53321,TO_TIMESTAMP('2010-06-17 15:20:41','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',110,0,TO_TIMESTAMP('2010-06-17 15:20:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59050 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) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55651,59051,0,53321,TO_TIMESTAMP('2010-06-17 15:20:42','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',120,0,TO_TIMESTAMP('2010-06-17 15:20:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59051 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) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55653,59052,0,53321,TO_TIMESTAMP('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=C | @A_Disposed_Method@=T2','D','Y','Y','Y','N','N','N','N','A_Proceeds',130,0,TO_TIMESTAMP('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59052 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) +; + +-- Jun 17, 2010 3:20:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55655,59053,0,53321,TO_TIMESTAMP('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2','D','Y','Y','Y','N','N','N','N','A_Asset_Trade_ID',140,0,TO_TIMESTAMP('2010-06-17 15:20:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59053 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) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55650,59054,0,53321,TO_TIMESTAMP('2010-06-17 15:20:44','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','Y','N','Active',150,0,TO_TIMESTAMP('2010-06-17 15:20:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59054 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) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55646,59055,0,53321,TO_TIMESTAMP('2010-06-17 15:20:45','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',190,0,TO_TIMESTAMP('2010-06-17 15:20:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:20:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59055 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) +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='3', Description='Delivery of Asset', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Delivery', ReplicationType='L', TableName='A_Asset_Delivery',Updated=TO_TIMESTAMP('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=541 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Delivery_ID', Description='Delivery of Asset', EntityType='D', Help='The availability of the asset to the business partner (customer).', IsActive='Y', Name='Asset Delivery', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Delivery',Updated=TO_TIMESTAMP('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1928 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1928 +; + +-- Jun 17, 2010 3:20:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1928, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Delivery_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Delivery of Asset', EntityType='D', FieldLength=22, Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Delivery', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8102 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8086 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=40, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8087 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8089 +; + +-- Jun 17, 2010 3:20:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=40, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8090 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8091 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Referrer', Description='Referring web address', EntityType='D', Help=NULL, IsActive='Y', Name='Referrer', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Referrer',Updated=TO_TIMESTAMP('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1429 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1429 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1429, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Referrer', ColumnSQL=NULL, DefaultValue=NULL, Description='Referring web address', EntityType='D', FieldLength=255, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Referrer', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8092 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Referrer', Description='Referring web address', Help=NULL WHERE AD_Column_ID=8092 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8093 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=20, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8094 +; + +-- Jun 17, 2010 3:20:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=8094 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='EMail', Description='Electronic Mail Address', EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', IsActive='Y', Name='EMail Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail',Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=881 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=881 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=881, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMail', ColumnSQL=NULL, DefaultValue=NULL, Description='Electronic Mail Address', EntityType='D', FieldLength=60, Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='EMail Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8095 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8096 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_delivery','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Remote_Host', Description='Remote host Info', EntityType='D', Help=NULL, IsActive='Y', Name='Remote Host', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Remote Host',Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1431 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1431 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1431, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Remote_Host', ColumnSQL=NULL, DefaultValue=NULL, Description='Remote host Info', EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Remote Host', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8097 +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Remote Host', Description='Remote host Info', Help=NULL WHERE AD_Column_ID=8097 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8098 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8099 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Remote_Addr', Description='Remote Address', EntityType='D', Help='The Remote Address indicates an alternative or external address.', IsActive='Y', Name='Remote Addr', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Remote Addr',Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1430 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1430 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1430, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Remote_Addr', ColumnSQL=NULL, DefaultValue=NULL, Description='Remote Address', EntityType='D', FieldLength=60, Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Remote Addr', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8100 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8101 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='MovementDate', Description='Date a product was moved in or out of inventory', EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', IsActive='Y', Name='Movement Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Movement Date',Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1037 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1037 +; + +-- Jun 17, 2010 3:20:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1037, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='MovementDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date a product was moved in or out of inventory', EntityType='D', FieldLength=7, Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Movement Date', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8103 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8104 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DeliveryConfirmation', Description='EMail Delivery confirmation', EntityType='D', Help=NULL, IsActive='Y', Name='Delivery Confirmation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Delivery Confirmation',Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1950 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1950 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1950, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DeliveryConfirmation', ColumnSQL=NULL, DefaultValue=NULL, Description='EMail Delivery confirmation', EntityType='D', FieldLength=120, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Delivery Confirmation', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8127 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Delivery Confirmation', Description='EMail Delivery confirmation', Help=NULL WHERE AD_Column_ID=8127 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='MessageID', Description='EMail Message ID', EntityType='D', Help='SMTP Message ID for tracking purposes', IsActive='Y', Name='Message ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Message ID',Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1952 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1952 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1952, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='MessageID', ColumnSQL=NULL, DefaultValue=NULL, Description='EMail Message ID', EntityType='D', FieldLength=120, Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Message ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8128 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='URL', Description='Full URL address - e.g. http://www.idempiere.org', EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', IsActive='Y', Name='URL', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='URL',Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=983 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=983 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='URL', EntityType='D', Help=NULL, IsActive='Y', Name='URL', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=40 +; + +-- Jun 17, 2010 3:20:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=40 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=983, AD_Process_ID=NULL, AD_Reference_ID=40, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='URL', ColumnSQL=NULL, DefaultValue=NULL, Description='Full URL address - e.g. http://www.idempiere.org', EntityType='D', FieldLength=120, Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='URL', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8129 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=22, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8130 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9596 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='M_ProductDownload_ID', Description='Product downloads', EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', IsActive='Y', Name='Product Download', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Download',Updated=TO_TIMESTAMP('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2725 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2725 +; + +-- Jun 17, 2010 3:20:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2725, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=541, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_ProductDownload_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product downloads', EntityType='D', FieldLength=10, Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Product Download', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13599 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=541, AD_Window_ID=251, CommitWarning=NULL, Description='Delivery or availability', EntityType='D', HasTree='N', Help='Record of delivery or availability', ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Delivery', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8099, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6177 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8102, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Delivery of Asset', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Delivery', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6180 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8093, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6171 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8101, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6179 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6174 +; + +-- Jun 17, 2010 3:20:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product downloads', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Product Download', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11515 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8103, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Date a product was moved in or out of inventory', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Movement Date', SeqNo=50, SortNo=-1,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6181 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8098, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='User/Contact', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6176 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=9596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7834 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8094, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8087, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6167 +; + +-- Jun 17, 2010 3:20:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8090, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Serial No', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6169 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8130, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6217 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8095, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Electronic Mail Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='EMail Address', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6173 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8128, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Message ID', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Message ID', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6215 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8127, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Delivery confirmation', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delivery Confirmation', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8129, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Full URL address - e.g. http://www.idempiere.org', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='URL', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6216 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8092, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Referring web address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Referrer', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:20:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8100, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remote Addr', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6178 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8097, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote host Info', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remote Host', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Use_ID', ReplicationType='L', TableName='A_Asset_Use',Updated=TO_TIMESTAMP('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53138 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53138 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Use_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Use_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Use_ID',Updated=TO_TIMESTAMP('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53642 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53642 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53642, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Use_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Use_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55972 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55972 +; + +-- Jun 17, 2010 3:20:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Use_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55972 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55973 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_use','AD_Client_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55974 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_use','AD_Org_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55975 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55976 +; + +-- Jun 17, 2010 3:20:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55977 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55978 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=55978 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='UseDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='UseDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UseDate',Updated=TO_TIMESTAMP('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53643 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53643 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53643, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='UseDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55979 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='UseDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55979 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55980 +; + +-- Jun 17, 2010 3:20:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_use','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55981 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55982 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_use','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=53258, AD_Table_ID=53138, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue='@A_Asset_ID@', Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55983 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_use','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53138, AD_Window_ID=251, CommitWarning=NULL, Description='Record Asset Usage', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Usage', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55972, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Use_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:20:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55976, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:20:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56043 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55973, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56044 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55974, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56045 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55983, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56046 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55979, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='UseDate', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55978, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55981, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56049 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Change_ID', ReplicationType='L', TableName='A_Asset_Change',Updated=TO_TIMESTAMP('2010-06-17 15:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53133 +; + +-- Jun 17, 2010 3:21:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53133 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Change_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Change_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Change_ID',Updated=TO_TIMESTAMP('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53603 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53603 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53603, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Change_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Change_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55825 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55825 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Change_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55825 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55826 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55827 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55828 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55828 +; + +-- Jun 17, 2010 3:21:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55828 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53526, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_CreateDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_CreateDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55829 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55829 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_CreateDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55829 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Retirement_ID', Description='Internally used asset is not longer used.', EntityType='D', Help=NULL, IsActive='Y', Name='Asset Retirement', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Retirement',Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1930 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1930 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1930, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Retirement_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Internally used asset is not longer used.', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Retirement', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55830 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Retirement', Description='Internally used asset is not longer used.', Help=NULL WHERE AD_Column_ID=55830 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Spread_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Spread Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Spread Type',Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53569 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53569 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53569, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Spread Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55831 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55831 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Spread Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55831 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Calc_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Calculation Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calculation Type',Updated=TO_TIMESTAMP('2010-06-17 15:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53588 +; + +-- Jun 17, 2010 3:21:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53588 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53588, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Calc_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Calculation Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55832 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55832 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55832 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55833 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55833 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55833 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53529, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Original', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_QTY_Original', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55834 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55834 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_QTY_Original', Description=NULL, Help=NULL WHERE AD_Column_ID=55834 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55835 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55835 +; + +-- Jun 17, 2010 3:21:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55835 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55836 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55836 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55836 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55837 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55837 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55837 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53528, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Parent_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Parent_Asset_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55838 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55838 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Parent_Asset_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55838 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55839 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55839 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55840 +; + +-- Jun 17, 2010 3:21:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55840 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55841 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55841 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55841 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55842 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55842 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55842 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55843 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1935, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Book Value of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844 +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset value', Description='Book Value of the asset', Help=NULL WHERE AD_Column_ID=55844 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','AssetValueAmt','NUMERIC',null,null) +; + +-- Jun 17, 2010 3:21:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','AssetValueAmt',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1934, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetServiceDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when Asset was put into service', EntityType='D', FieldLength=7, Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='In Service Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55845 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetMarketValueAmt', Description='Market value of the asset', EntityType='D', Help='For reporting, the market value of the asset', IsActive='Y', Name='Market value Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Market value amt',Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1933 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1933 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1933, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetMarketValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Market value of the asset', EntityType='D', FieldLength=22, Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Market value Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55846 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1932, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDisposalDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date when the asset is/was disposed', EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Disposal Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55847 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Disposal Date', Description='Date when the asset is/was disposed', Help=NULL WHERE AD_Column_ID=55847 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1931, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetDepreciationDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of last depreciation', EntityType='D', FieldLength=7, Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Depreciation Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55848 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetBookValueAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AssetBookValueAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetBookValueAmt',Updated=TO_TIMESTAMP('2010-06-17 15:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53604 +; + +-- Jun 17, 2010 3:21:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53604 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53604, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetBookValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='AssetBookValueAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55849 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55849 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='AssetBookValueAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55849 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='AssetAccumDepreciationAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AssetAccumDepreciationAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='AssetAccumDepreciationAmt',Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53605 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53605 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53605, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetAccumDepreciationAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='AssetAccumDepreciationAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55850 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55850 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='AssetAccumDepreciationAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55850 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Employee or SalesRep', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - Internal', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND (bp.IsEmployee=''Y'' OR bp.IsSalesRep=''Y''))' WHERE AD_Reference_ID = 286 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=286, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='User within the system - Internal or Business Partner Contact', EntityType='D', FieldLength=22, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55851 +; + +-- Jun 17, 2010 3:21:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1940, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsInPosession', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is in the possession of the organization', EntityType='D', FieldLength=1, Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='In Possession', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55852 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1951, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsFullyDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is fully depreciated', EntityType='D', FieldLength=1, Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Fully depreciated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55853 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1939, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDisposed', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is disposed', EntityType='D', FieldLength=1, Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55854 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55855 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55856 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='DepreciationType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='DepreciationType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='DepreciationType',Updated=TO_TIMESTAMP('2010-06-17 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53474 +; + +-- Jun 17, 2010 3:21:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53474 +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53474, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DepreciationType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='DepreciationType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55857 +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='DepreciationType', Description=NULL, Help=NULL WHERE AD_Column_ID=55857 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55858 +; + +-- Jun 17, 2010 3:21:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55859 +; + +-- Jun 17, 2010 3:21:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55860 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1949, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='VersionNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Version Number', EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Version No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55861 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=55861 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1948, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Currently used units of the assets', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Use units', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55862 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Use units', Description='Currently used units of the assets', Help=NULL WHERE AD_Column_ID=55862 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55863 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55863 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue=NULL, Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55864 +; + +-- Jun 17, 2010 3:21:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55864 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55865 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55866 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='TextDetails', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Details', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Details',Updated=TO_TIMESTAMP('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2437 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2437 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2437, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextDetails', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=60, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Details', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55867 +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Details', Description=NULL, Help=NULL WHERE AD_Column_ID=55867 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=568, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SerNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Product Serial Number ', EntityType='D', FieldLength=40, Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Serial No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55868 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=10, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55869 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','PostingType','VARCHAR(10)',null,'A') +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=446, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Lot', ColumnSQL=NULL, DefaultValue=NULL, Description='Lot number (alphanumeric)', EntityType='D', FieldLength=40, Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Lot No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55870 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1942, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LifeUseUnits', ColumnSQL=NULL, DefaultValue=NULL, Description='Units of use until the asset is not usable anymore', EntityType='D', FieldLength=22, Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Life use', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55871 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55872 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ConventionType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ConventionType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ConventionType',Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53585 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53585 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53585, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ConventionType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='ConventionType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55873 +; + +-- Jun 17, 2010 3:21:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ConventionType', Description=NULL, Help=NULL WHERE AD_Column_ID=55873 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeType', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeType',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53609 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53609 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Update Type', EntityType='D', Help=NULL, IsActive='Y', Name='A_Update_Type', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53273 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53273 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Cost/quantity addition to asset', EntityType='D', IsActive='Y', Name='Addition', Value='ADD',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53398 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Transaction updating the cost or accum depr balance', EntityType='D', IsActive='Y', Name='Balance', Value='BAL',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53399 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Master Record Created', EntityType='D', IsActive='Y', Name='Create', Value='CRT',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53400 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Depreciation Expense Recorded', EntityType='D', IsActive='Y', Name='Depreciation', Value='DEP',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53401 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Disposal of Asset', EntityType='D', IsActive='Y', Name='Disposal', Value='DIS',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53402 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Expense invoice was recorded against this asset', EntityType='D', IsActive='Y', Name='Expense', Value='EXP',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53403 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Forecast Type', EntityType='D', IsActive='Y', Name='Forecast', Value='FOR',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53404 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset created by import', EntityType='D', IsActive='Y', Name='Import', Value='IMP',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53405 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Revaluation of Asset', EntityType='D', IsActive='Y', Name='Revaluation', Value='RVL',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53406 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Accounting Setup Modified', EntityType='D', IsActive='Y', Name='Setup', Value='SET',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53407 +; + +-- Jun 17, 2010 3:21:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Split', EntityType='D', IsActive='Y', Name='Split', Value='SPL',Updated=TO_TIMESTAMP('2010-06-17 15:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53408 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Transfered', EntityType='D', IsActive='Y', Name='Transfer', Value='TRN',Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53409 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Asset Master Record Updated', EntityType='D', IsActive='Y', Name='Update', Value='UPD',Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53410 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53273, Description='Record asset usage', EntityType='D', IsActive='Y', Name='Usage', Value='USE',Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53411 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53609, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53273, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55874 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeType', Description=NULL, Help=NULL WHERE AD_Column_ID=55874 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeDate', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeDate', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeDate',Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53610 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53610 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53610, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55875 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55875 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ChangeAmt', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='ChangeAmt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ChangeAmt',Updated=TO_TIMESTAMP('2010-06-17 15:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53611 +; + +-- Jun 17, 2010 3:21:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53611 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53611, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ChangeAmt', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ChangeAmt', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55876 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ChangeAmt', Description=NULL, Help=NULL WHERE AD_Column_ID=55876 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_ValidCombination_ID', Description='Valid Account Combination', EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', IsActive='Y', Name='Combination', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Combination',Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=222 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=222 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=222, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_ValidCombination_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Valid Account Combination', EntityType='D', FieldLength=22, Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Combination', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55877 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=202, AD_Process_ID=NULL, AD_Reference_ID=21, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Location or Address', EntityType='D', FieldLength=22, Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55878 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','C_Location_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Locations of a Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner Location', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 293, AD_Display = 2960, AD_Key = 3434, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 159 +; + +-- Jun 17, 2010 3:21:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=159, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_Location_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies the (ship to) address for this Business Partner', EntityType='D', FieldLength=22, Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Partner Location', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55879 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55880 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','C_BPartner_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55881 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55881 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55881 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','A_Split_Percent','NUMERIC',null,'1') +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53493, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Salvage_Value', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Salvage_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55882 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55882 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Salvage_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55882 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55883 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55883 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55884 +; + +-- Jun 17, 2010 3:21:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55884 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55885 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55885 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55886 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55886 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55886 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','A_Reval_Cal_Method','VARCHAR(3)',null,'NULL') +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55887 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55887 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55888 +; + +-- Jun 17, 2010 3:21:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55888 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55889 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55889 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55889 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55890 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55890 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55890 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53527, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_RevalDate', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_RevalDate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55891 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55891 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_RevalDate', Description=NULL, Help=NULL WHERE AD_Column_ID=55891 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55892 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_change','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55893 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55893 +; + +-- Jun 17, 2010 3:21:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55893 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55894 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55894 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55894 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53612, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53133, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Addition_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Addition', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55895 +; + +-- Jun 17, 2010 3:21:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Addition', Description=NULL, Help=NULL WHERE AD_Column_ID=55895 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59312,54195,0,25,53133,'A_Disposal_Revenue_Acct',TO_TIMESTAMP('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Disposal_Revenue',TO_TIMESTAMP('2010-06-17 15:21:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59312 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) +; + +-- Jun 17, 2010 3:21:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Disposal_Revenue_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59313,54196,0,25,53133,'A_Disposal_Loss_Acct',TO_TIMESTAMP('2010-06-17 15:21:21','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Loss Acct',TO_TIMESTAMP('2010-06-17 15:21:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59313 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) +; + +-- Jun 17, 2010 3:21:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Disposal_Loss_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59314,54197,0,11,53133,'A_Reval_Depexp_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:21:22','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_TIMESTAMP('2010-06-17 15:21:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59314 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) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Reval_Depexp_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59315,54191,0,11,53133,'A_Reval_Cost_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_TIMESTAMP('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59315 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) +; + +-- Jun 17, 2010 3:21:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Reval_Cost_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59316,54192,0,11,53133,'A_Reval_Cost_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_TIMESTAMP('2010-06-17 15:21:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59316 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) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Reval_Cost_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59317,54193,0,11,53133,'A_Reval_Adep_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_TIMESTAMP('2010-06-17 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59317 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) +; + +-- Jun 17, 2010 3:21:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Reval_Adep_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59318,54194,0,11,53133,'A_Reval_Adep_Offset_Cur_Acct',TO_TIMESTAMP('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_TIMESTAMP('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59318 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) +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Change ADD COLUMN A_Reval_Adep_Offset_Cur_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53133, AD_Window_ID=251, CommitWarning=NULL, Description='Detail asset transaction history', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset History', OrderByClause=NULL, Processing='N', SeqNo=25, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:21:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:21:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55830, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Internally used asset is not longer used.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Retirement', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55856, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55892 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55875, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeDate', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55895, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55894, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55877, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Valid Account Combination', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Combination', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55896 +; + +-- Jun 17, 2010 3:21:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55826, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55897 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55827, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55898 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55892, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55899 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55867, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Details', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55869, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55901 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55874, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeType', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:21:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55860, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date this record was created', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Created', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55903 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55865, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User who updated this records', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Updated By', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55904 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55843, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55905 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55836, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_Start@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55837, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_End@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55857, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@DepreciationType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55889, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Manual_Amount@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:21:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55833, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic='@A_Depreciation_Manual_Period@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55841, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Variable_Perc@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55842, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Table_Header_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55832, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Depreciation_Calc_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55831, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Spread_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55873, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ConventionType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:21:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55882, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Salvage_Value@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55881, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Split_Percent@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55872, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55918 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55852, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='In Possession', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55919 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55855, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55920 +; + +-- Jun 17, 2010 3:21:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55853, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Fully depreciated', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55921 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55854, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposed', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55922 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55886, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@A_Reval_Cal_Method@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55876, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ChangeAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeAmt', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55844, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=10, DisplayLogic='@AssetValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetBookValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetBookValueAmt', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:21:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetAccumDepreciationAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetAccumDepreciationAmt', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Market value of the asset', DisplayLength=10, DisplayLogic='@AssetMarketValueAmt@!""', EntityType='D', Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Market value Amount', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55928 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55834, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Original@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_QTY_Original', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55835, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Current@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Dates',Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50003 +; + +-- Jun 17, 2010 3:21:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55858, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic='@DateAcct@!""', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=350, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55931 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55829, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_CreateDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=360, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55845, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=7, DisplayLogic='@AssetServiceDate@!""', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=370, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55933 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55848, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic='@AssetDepreciationDate@!""', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=380, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55934 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55891, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_RevalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_RevalDate', SeqNo=390, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=7, DisplayLogic='@AssetDisposalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Disposal Date', SeqNo=400, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:21:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55863, AD_FieldGroup_ID=102, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeYears@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55864, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeMonths@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55871, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=22, DisplayLogic='@LifeUseUnits@!""', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55939 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55862, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=10, DisplayLogic='@UseUnits@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:21:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Reference',Updated=TO_TIMESTAMP('2010-06-17 15:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=104 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55838, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Parent_Asset_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Parent_Asset_ID', SeqNo=450, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=22, DisplayLogic='@Ad_User_ID@!0', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=460, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55942 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55878, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=22, DisplayLogic='@C_Location_ID@!0', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=470, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55943 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55870, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=22, DisplayLogic='@Lot@!""', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=480, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55944 +; + +-- Jun 17, 2010 3:21:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55868, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=22, DisplayLogic='@Serno@!""', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=490, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55945 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55861, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=22, DisplayLogic='@Versionno@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=500, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55880, AD_FieldGroup_ID=107, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic='@C_Bpartner_ID@!0', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=510, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55947 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55879, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=22, DisplayLogic='@C_BPartner_Location_ID@!0', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Partner Location', SeqNo=520, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55948 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55893, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Asset_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=530, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55890, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Depreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=540, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:21:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55828, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Accumdepreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation Account', SeqNo=550, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55839, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=560, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:21:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59312,59056,0,53158,TO_TIMESTAMP('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Disposal_Revenue@!""','D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',560,0,TO_TIMESTAMP('2010-06-17 15:21:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59056 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) +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55840, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=570, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:21:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:21:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59313,59057,0,53158,TO_TIMESTAMP('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Disposal_Loss@!""','D','Y','Y','Y','N','N','N','Y','Disposal Loss Acct',570,0,TO_TIMESTAMP('2010-06-17 15:21:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59057 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) +; + +-- Jun 17, 2010 3:21:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55885, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=580, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:21:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59316,50004,59058,0,53158,TO_TIMESTAMP('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Cost_Offset@!""','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',580,0,TO_TIMESTAMP('2010-06-17 15:21:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59058 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) +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55884, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=590, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:21:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59315,59059,0,53158,TO_TIMESTAMP('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Cost_Offset_Prior@!""','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',590,0,TO_TIMESTAMP('2010-06-17 15:21:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59059 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) +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55888, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=600, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:21:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59318,59060,0,53158,TO_TIMESTAMP('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Accumdep_Offset_Cur@!""','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',600,0,TO_TIMESTAMP('2010-06-17 15:21:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59060 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) +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55887, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=610, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:21:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59317,59061,0,53158,TO_TIMESTAMP('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Accumdep_Offset_Prior@!""','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',610,0,TO_TIMESTAMP('2010-06-17 15:21:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59061 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) +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55883, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=620, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:21:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59314,59062,0,53158,TO_TIMESTAMP('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),0,20,'@A_Reval_Depexp_Offset@!""','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',620,0,TO_TIMESTAMP('2010-06-17 15:21:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59062 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) +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55825, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Change_ID', SeqNo=630, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:21:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:21:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=370, AccessLevel='6', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='Issue Project', ReplicationType='L', TableName='R_IssueProject',Updated=TO_TIMESTAMP('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=842 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='R_IssueProject_ID', Description='Implementation Projects', EntityType='D', Help=NULL, IsActive='Y', Name='Issue Project', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Issue Project',Updated=TO_TIMESTAMP('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2958 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2958 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2958, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='R_IssueProject_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Implementation Projects', EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Issue Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14946 +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Issue Project', Description='Implementation Projects', Help=NULL WHERE AD_Column_ID=14946 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=10, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14947 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=10, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14948 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14949 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14950 +; + +-- Jun 17, 2010 3:21:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=10, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14951 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14952 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=10, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14953 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=120, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14954 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14955 +; + +-- Jun 17, 2010 3:21:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=10, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14956 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=208, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Project_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Financial Project', EntityType='D', FieldLength=10, Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Project', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14957 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='StatisticsInfo', Description='Information to help profiling the system for solving support issues', EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', IsActive='Y', Name='Statistics', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Statistics',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2952 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2952 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2952, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='StatisticsInfo', ColumnSQL=NULL, DefaultValue=NULL, Description='Information to help profiling the system for solving support issues', EntityType='D', FieldLength=60, Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Statistics', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14958 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='ProfileInfo', Description='Information to help profiling the system for solving support issues', EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', IsActive='Y', Name='Profile', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Profile',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2953 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2953 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2953, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ProfileInfo', ColumnSQL=NULL, DefaultValue=NULL, Description='Information to help profiling the system for solving support issues', EntityType='D', FieldLength=60, Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Profile', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14959 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='SystemStatus', Description='Status of the system - Support priority depends on system status', EntityType='D', Help='System status helps to prioritize support resources', IsActive='Y', Name='System Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='System Status',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2955 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2955 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AD_System Status', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=374 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=374 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Evaluation', Value='E',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=850 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=850 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Implementation', Value='I',Updated=TO_TIMESTAMP('2010-06-17 15:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=851 +; + +-- Jun 17, 2010 3:21:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=851 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=374, Description=NULL, EntityType='D', IsActive='Y', Name='Production', Value='P',Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=852 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=852 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2955, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=374, AD_Table_ID=842, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SystemStatus', ColumnSQL=NULL, DefaultValue=NULL, Description='Status of the system - Support priority depends on system status', EntityType='D', FieldLength=1, Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='System Status', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14960 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=14956, AD_Table_ID=842, AD_Window_ID=251, CommitWarning=NULL, Description='Automatic Issue Reporting', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Issue Project', OrderByClause=NULL, Processing='N', SeqNo=30, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14946, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Implementation Projects', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issue Project', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14947, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12967 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12971 +; + +-- Jun 17, 2010 3:21:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14956, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12966 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14957, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Project', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12973 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=120, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12970 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12968 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12965 +; + +-- Jun 17, 2010 3:21:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Status of the system - Support priority depends on system status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='System Status', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12975 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Statistics', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12974 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Profile', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12972 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds financial related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Fin_ID', ReplicationType='L', TableName='A_Asset_Info_Fin',Updated=TO_TIMESTAMP('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53132 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53132 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Fin_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Fin_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Fin_ID',Updated=TO_TIMESTAMP('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53594 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53594 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53594, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Fin_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Fin_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55805 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55805 +; + +-- Jun 17, 2010 3:21:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Fin_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55805 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55806 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53132, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55807 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Due_On', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Due_On', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Due_On',Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53595 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Payment due every', EntityType='D', Help=NULL, IsActive='Y', Name='A_Payment_Due', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53272 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53272 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='15th of every month', Value='15T',Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53394 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53394 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='1st of every month', Value='1st',Updated=TO_TIMESTAMP('2010-06-17 15:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53395 +; + +-- Jun 17, 2010 3:21:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53395 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='Beginning of every month', Value='BEG',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53396 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53396 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53272, Description=NULL, EntityType='D', IsActive='Y', Name='Yearly on or before contract date', Value='YER',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53397 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53397 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53595, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53272, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Due_On', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Due_On', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55808 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55808 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Due_On', Description=NULL, Help=NULL WHERE AD_Column_ID=55808 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Finance_Meth', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Finance_Meth', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Finance_Meth',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53593 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Financing Methods', EntityType='D', Help='List of financing methods for assets', IsActive='Y', Name='A_Finance_Method', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53271 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is on a capitalized lease', EntityType='D', IsActive='Y', Name='Capitalized Lease', Value='CL',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53390 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is on a non-capitalized lease', EntityType='D', IsActive='Y', Name='Non-Capitalized Lease', Value='NL',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53391 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset owned outright', EntityType='D', IsActive='Y', Name='Owned', Value='OW',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53392 +; + +-- Jun 17, 2010 3:21:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53271, Description='Asset is rented', EntityType='D', IsActive='Y', Name='Rented', Value='RE',Updated=TO_TIMESTAMP('2010-06-17 15:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53393 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53593, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53271, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Finance_Meth', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Finance_Meth', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55809 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55809 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Finance_Meth', Description=NULL, Help=NULL WHERE AD_Column_ID=55809 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option',Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53596 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53596 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53596, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55810 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Column_ID=55810 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option_Credit_Per', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option Credit %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option Credit %',Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53597 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53597 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53597, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option_Credit_Per', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option Credit %', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55811 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Column_ID=55811 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BPartner_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a Business Partner', EntityType='D', FieldLength=22, Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55812 +; + +-- Jun 17, 2010 3:21:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_fin','C_BPartner_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:21:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55813 +; + +-- Jun 17, 2010 3:21:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55814 +; + +-- Jun 17, 2010 3:21:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55815 +; + +-- Jun 17, 2010 3:21:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_fin','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='TextMsg', Description='Text Message', EntityType='D', Help=NULL, IsActive='Y', Name='Text Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Message',Updated=TO_TIMESTAMP('2010-06-17 15:21:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2438 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2438 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2438, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextMsg', ColumnSQL=NULL, DefaultValue=NULL, Description='Text Message', EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Text Message', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:21:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55816 +; + +-- Jun 17, 2010 3:21:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Text Message', Description='Text Message', Help=NULL WHERE AD_Column_ID=55816 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55817 +; + +-- Jun 17, 2010 3:22:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55818 +; + +-- Jun 17, 2010 3:22:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_fin','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Price', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Price',Updated=TO_TIMESTAMP('2010-06-17 15:22:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53598 +; + +-- Jun 17, 2010 3:22:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53598 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53598, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Price', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Price', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55819 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55819 +; + +-- Jun 17, 2010 3:22:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Price', Description=NULL, Help=NULL WHERE AD_Column_ID=55819 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Purchase_Option_Credit', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Purchase Option Credit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Option Credit',Updated=TO_TIMESTAMP('2010-06-17 15:22:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53599 +; + +-- Jun 17, 2010 3:22:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53599 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53599, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Purchase_Option_Credit', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Purchase Option Credit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55820 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Column_ID=55820 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Monthly_Payment', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Monthly_Payment', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Monthly_Payment',Updated=TO_TIMESTAMP('2010-06-17 15:22:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53600 +; + +-- Jun 17, 2010 3:22:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53600, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Monthly_Payment', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Monthly_Payment', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55821 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55821 +; + +-- Jun 17, 2010 3:22:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Monthly_Payment', Description=NULL, Help=NULL WHERE AD_Column_ID=55821 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Expired_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Expired_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Expired_Date',Updated=TO_TIMESTAMP('2010-06-17 15:22:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53601 +; + +-- Jun 17, 2010 3:22:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53601, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Expired_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Expired_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55822 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55822 +; + +-- Jun 17, 2010 3:22:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Expired_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55822 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Contract_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Contract_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Contract_Date',Updated=TO_TIMESTAMP('2010-06-17 15:22:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53602 +; + +-- Jun 17, 2010 3:22:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53602, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Contract_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Contract_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55823 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55823 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Contract_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55823 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53132, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55824 +; + +-- Jun 17, 2010 3:22:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_fin','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59319,1047,0,20,53132,'Processed','''N''',TO_TIMESTAMP('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_TIMESTAMP('2010-06-17 15:22:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59319 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) +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55824, AD_Table_ID=53132, AD_Window_ID=251, CommitWarning=NULL, Description='Finace Information for the Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Finance Information', OrderByClause=NULL, Processing='N', SeqNo=35, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55805, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Fin_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:22:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59319,59063,0,53156,TO_TIMESTAMP('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_TIMESTAMP('2010-06-17 15:22:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59063 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) +; + +-- Jun 17, 2010 3:22:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55806, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55847 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55807, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55848 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55824, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55849 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55817, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55846 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='Y', Name='Contract',Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50005 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55809, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:22:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55812, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55851 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55823, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Contract_Date', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55822, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Expired_Date', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55821, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Monthly_Payment', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55808, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Due_On', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_FieldGroup SET EntityType='D', FieldGroupType='C', IsActive='Y', IsCollapsedByDefault='N', Name='Options',Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50006 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55810, AD_FieldGroup_ID=50006, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55819, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Price', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:22:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55820, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55811, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit %', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55816, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds license related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Lic_ID', ReplicationType='L', TableName='A_Asset_Info_Lic',Updated=TO_TIMESTAMP('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53134 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53134 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Lic_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Lic_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Lic_ID',Updated=TO_TIMESTAMP('2010-06-17 15:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53613 +; + +-- Jun 17, 2010 3:22:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53613 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53613, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Lic_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Lic_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55896 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55896 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Lic_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55896 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53134, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55897 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53134, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55898 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_License_Fee', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_License_Fee', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_License_Fee',Updated=TO_TIMESTAMP('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53614 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53614, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_License_Fee', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_License_Fee', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55899 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55899 +; + +-- Jun 17, 2010 3:22:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_License_Fee', Description=NULL, Help=NULL WHERE AD_Column_ID=55899 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Renewal_Date', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Renewal_Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Renewal_Date',Updated=TO_TIMESTAMP('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53615 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53615, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Renewal_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Renewal_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55900 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55900 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Renewal_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55900 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55901 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_lic','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55902 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55903 +; + +-- Jun 17, 2010 3:22:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_lic','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55904 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='Text', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53475 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53475 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55905 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55905 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55905 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55906 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_State', Description='State of the Credit Card or Account holder', EntityType='D', Help='The State of the Credit Card or Account holder', IsActive='Y', Name='Account State', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='State',Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1355 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1355 +; + +-- Jun 17, 2010 3:22:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1355, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_State', ColumnSQL=NULL, DefaultValue=NULL, Description='State of the Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account State', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55907 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_License_No', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_License_No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_License_No',Updated=TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53616 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53616, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_License_No', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=120, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_License_No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55908 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55908 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_License_No', Description=NULL, Help=NULL WHERE AD_Column_ID=55908 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Issuing_Agency', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Issuing Agency', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Issuing Agency',Updated=TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53617 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53617 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53617, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Issuing_Agency', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Issuing Agency', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55909 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Column_ID=55909 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53134, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55910 +; + +-- Jun 17, 2010 3:22:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_lic','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59320,1047,0,20,53134,'Processed','''N''',TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_TIMESTAMP('2010-06-17 15:22:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59320 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) +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55910, AD_Table_ID=53134, AD_Window_ID=251, CommitWarning=NULL, Description='License Information for Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='License Information', OrderByClause=NULL, Processing='N', SeqNo=40, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55896, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Lic_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:22:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59320,59064,0,53159,TO_TIMESTAMP('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','Processed',0,0,TO_TIMESTAMP('2010-06-17 15:22:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59064 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) +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55897, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55962 +; + +-- Jun 17, 2010 3:22:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55898, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55963 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55964 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55902, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55961 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55907, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55965 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issuing Agency', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_No', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:22:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55899, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_Fee', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55900, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds insurance related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Ins_ID', ReplicationType='L', TableName='A_Asset_Info_Ins',Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53135 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53135 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Ins_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Ins_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Ins_ID',Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53618 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53618 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53618, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Ins_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Ins_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55911 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55911 +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Ins_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55911 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53135, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55912 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53135, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55913 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Ins_Value', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Ins_Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Ins_Value',Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53619 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53619, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ins_Value', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Ins_Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55914 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55914 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Ins_Value', Description=NULL, Help=NULL WHERE AD_Column_ID=55914 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Policy_No', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Policy_No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Policy_No',Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53620 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Policy_No', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=100, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Policy_No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55915 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55915 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Policy_No', Description=NULL, Help=NULL WHERE AD_Column_ID=55915 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Replace_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Replace_Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Replace_Cost',Updated=TO_TIMESTAMP('2010-06-17 15:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53621 +; + +-- Jun 17, 2010 3:22:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53621, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Replace_Cost', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Replace_Cost', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55916 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55916 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Replace_Cost', Description=NULL, Help=NULL WHERE AD_Column_ID=55916 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55917 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55918 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55918 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55918 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55919 +; + +-- Jun 17, 2010 3:22:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55920 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_ins','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55921 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55922 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_ins','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53615, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Renewal_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Renewal_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55923 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55923 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Renewal_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55923 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Insurance_Co', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Insurance_Co', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Insurance_Co',Updated=TO_TIMESTAMP('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53622 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53622, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Insurance_Co', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Insurance_Co', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55924 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55924 +; + +-- Jun 17, 2010 3:22:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Insurance_Co', Description=NULL, Help=NULL WHERE AD_Column_ID=55924 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Ins_Premium', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Ins_Premium', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Ins_Premium',Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53623 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53623, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ins_Premium', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Ins_Premium', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55925 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55925 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Ins_Premium', Description=NULL, Help=NULL WHERE AD_Column_ID=55925 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53135, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55926 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53135, AD_Window_ID=251, CommitWarning=NULL, Description='Insurance Information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Insurance Information', OrderByClause=NULL, Processing='N', SeqNo=45, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Ins_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:22:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55921, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55972 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55973 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55974 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55926, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55975 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55924, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Insurance_Co', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=100, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Policy_No', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55923, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:22:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55925, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Premium', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55916, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Replace_Cost', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55914, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Value', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds tax related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Tax_ID', ReplicationType='L', TableName='A_Asset_Info_Tax',Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53131 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53131 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Tax_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Tax_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Tax_ID',Updated=TO_TIMESTAMP('2010-06-17 15:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53589 +; + +-- Jun 17, 2010 3:22:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53589 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53589, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Tax_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Info_Tax_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55790 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55790 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Tax_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55790 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53131, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55791 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=276, AD_Table_ID=53131, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55792 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Investment_CR', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Investment_CR', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Investment_CR',Updated=TO_TIMESTAMP('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53590 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53590, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Investment_CR', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Investment_CR', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55793 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55793 +; + +-- Jun 17, 2010 3:22:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Investment_CR', Description=NULL, Help=NULL WHERE AD_Column_ID=55793 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1355, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_State', ColumnSQL=NULL, DefaultValue=NULL, Description='State of the Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account State', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55794 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55795 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_tax','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55796 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55797 +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_tax','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:22:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55798 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2438, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TextMsg', ColumnSQL=NULL, DefaultValue=NULL, Description='Text Message', EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Text Message', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55799 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Text Message', Description='Text Message', Help=NULL WHERE AD_Column_ID=55799 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55800 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Tax_Entity', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Tax_Entity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Tax_Entity',Updated=TO_TIMESTAMP('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53591 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53591, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Tax_Entity', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Tax_Entity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55801 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55801 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Tax_Entity', Description=NULL, Help=NULL WHERE AD_Column_ID=55801 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_New_Used', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_New_Used', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_New_Used',Updated=TO_TIMESTAMP('2010-06-17 15:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53592 +; + +-- Jun 17, 2010 3:22:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53592, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_New_Used', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_New_Used', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55802 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55802 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_New_Used', Description=NULL, Help=NULL WHERE AD_Column_ID=55802 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53593, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53271, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Finance_Meth', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Finance_Meth', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55803 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55803 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Finance_Meth', Description=NULL, Help=NULL WHERE AD_Column_ID=55803 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53131, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55804 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53131, AD_Window_ID=251, CommitWarning=NULL, Description='Tax information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Tax Information', OrderByClause=NULL, Processing='N', SeqNo=50, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55790, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Tax_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:22:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55796, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55835 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55791, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55836 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55792, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55837 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55804, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55838 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55801, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Tax_Entity', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55794, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55840 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55802, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_New_Used', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:22:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55803, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55793, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Investment_CR', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55799, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds other user defined related settings and information for each individual fixed asset', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Info_Oth_ID', ReplicationType='L', TableName='A_Asset_Info_Oth',Updated=TO_TIMESTAMP('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53136 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53136 +; + +-- Jun 17, 2010 3:22:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55927 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55928 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55929 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Info_Oth_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Info_Oth_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Info_Oth_ID',Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53624 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53624 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53624, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Info_Oth_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Info_Oth_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55930 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55930 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Info_Oth_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55930 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User1', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User1',Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53625 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53625 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53625, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User1', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User1', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55931 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55931 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User1', Description=NULL, Help=NULL WHERE AD_Column_ID=55931 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User10', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User10', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User10',Updated=TO_TIMESTAMP('2010-06-17 15:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53626 +; + +-- Jun 17, 2010 3:22:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53626 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53626, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User10', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User10', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55932 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55932 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User10', Description=NULL, Help=NULL WHERE AD_Column_ID=55932 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User11', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User11', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User11',Updated=TO_TIMESTAMP('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53627 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53627 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53627, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User11', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User11', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55933 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55933 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User11', Description=NULL, Help=NULL WHERE AD_Column_ID=55933 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User12', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User12', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User12',Updated=TO_TIMESTAMP('2010-06-17 15:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53628 +; + +-- Jun 17, 2010 3:22:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53628 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53628, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User12', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User12', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55934 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55934 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User12', Description=NULL, Help=NULL WHERE AD_Column_ID=55934 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User13', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User13', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User13',Updated=TO_TIMESTAMP('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53629 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53629 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53629, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User13', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User13', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55935 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55935 +; + +-- Jun 17, 2010 3:23:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User13', Description=NULL, Help=NULL WHERE AD_Column_ID=55935 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User14', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User14', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User14',Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53630 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53630 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53630, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User14', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User14', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55936 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55936 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User14', Description=NULL, Help=NULL WHERE AD_Column_ID=55936 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User15', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User15', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User15',Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53631 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53631 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53631, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User15', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User15', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55937 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55937 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User15', Description=NULL, Help=NULL WHERE AD_Column_ID=55937 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User2', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User2',Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53632 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53632 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53632, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User2', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User2', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55938 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55938 +; + +-- Jun 17, 2010 3:23:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User2', Description=NULL, Help=NULL WHERE AD_Column_ID=55938 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User3', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User3', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User3',Updated=TO_TIMESTAMP('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53633 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53633 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53633, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User3', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User3', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55939 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55939 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User3', Description=NULL, Help=NULL WHERE AD_Column_ID=55939 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User4', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User4', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User4',Updated=TO_TIMESTAMP('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53634 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53634 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53634, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User4', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User4', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55940 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55940 +; + +-- Jun 17, 2010 3:23:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User4', Description=NULL, Help=NULL WHERE AD_Column_ID=55940 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User5', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User5', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User5',Updated=TO_TIMESTAMP('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53635 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53635 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53635, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User5', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User5', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55941 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55941 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User5', Description=NULL, Help=NULL WHERE AD_Column_ID=55941 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User6', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User6', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User6',Updated=TO_TIMESTAMP('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53636 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53636 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53636, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User6', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User6', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55942 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55942 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User6', Description=NULL, Help=NULL WHERE AD_Column_ID=55942 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User7', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User7', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User7',Updated=TO_TIMESTAMP('2010-06-17 15:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53637 +; + +-- Jun 17, 2010 3:23:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53637 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53637, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User7', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User7', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55943 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55943 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User7', Description=NULL, Help=NULL WHERE AD_Column_ID=55943 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User8', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User8', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User8',Updated=TO_TIMESTAMP('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53638 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53638 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53638, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User8', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User8', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55944 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55944 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User8', Description=NULL, Help=NULL WHERE AD_Column_ID=55944 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_User9', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_User9', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_User9',Updated=TO_TIMESTAMP('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53639 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53639 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53639, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_User9', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_User9', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55945 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55945 +; + +-- Jun 17, 2010 3:23:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_User9', Description=NULL, Help=NULL WHERE AD_Column_ID=55945 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55946 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_oth','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55947 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55948 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Large Text Editor - Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Memo', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=34 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=34 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53475, AD_Process_ID=NULL, AD_Reference_ID=34, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Text', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=510, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55949 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55949 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description=NULL, Help=NULL WHERE AD_Column_ID=55949 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55950 +; + +-- Jun 17, 2010 3:23:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_info_oth','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53136, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55951 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53136, AD_Window_ID=251, CommitWarning=NULL, Description='Other information associated with asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Other Information', OrderByClause=NULL, Processing='N', SeqNo=55, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55930, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Oth_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55984 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55927, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55985 +; + +-- Jun 17, 2010 3:23:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55928, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55986 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55929, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55987 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55931, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User1', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55932, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User10', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User2', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55933, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User11', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:23:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User3', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User12', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User4', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User13', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User5', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55936, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User14', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:23:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User6', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User15', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55943, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User7', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55944, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User8', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55945, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User9', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=251, AccessLevel='7', Description=NULL, EntityType='D', Help='This table is the worktable for generating all fixed asset entries and forecasts', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Depreciation_Exp_ID', ReplicationType='L', TableName='A_Depreciation_Exp',Updated=TO_TIMESTAMP('2010-06-17 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53115 +; + +-- Jun 17, 2010 3:23:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53115 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Exp_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Exp_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Exp_ID',Updated=TO_TIMESTAMP('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53483 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53483 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53483, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Exp_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Exp_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55377 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55377 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Exp_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55377 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','A_Depreciation_Exp_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=129, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55378 +; + +-- Jun 17, 2010 3:23:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=276, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55379 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Entry_Type', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Entry Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Entry Type',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53484 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53484 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Entry Types for Fixed Assets', EntityType='D', Help=NULL, IsActive='Y', Name='A_Entry_Type', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53257 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53257 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Depreciation Entries', EntityType='D', IsActive='Y', Name='Depreciation', Value='DEP',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53360 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Disposal Entries for Fixed Asset', EntityType='D', IsActive='Y', Name='Disposals', Value='DIS',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53361 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53361 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Forecasts', EntityType='D', IsActive='Y', Name='Forecasts', Value='FOR',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53362 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='New Assets', EntityType='D', IsActive='Y', Name='New', Value='NEW',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53363 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Split Entries for Fixed Assets', EntityType='D', IsActive='Y', Name='Splits', Value='SPL',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53364 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=53257, Description='Transfer Entries for Fixed Assets', EntityType='D', IsActive='Y', Name='Transfers', Value='TRN',Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53365 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53484, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53257, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Entry_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Entry Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55380 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55380 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55381 +; + +-- Jun 17, 2010 3:23:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55382 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53485, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Expense', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Expense', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55383 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Expense', Description=NULL, Help=NULL WHERE AD_Column_ID=55383 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','Expense','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Exp SET Expense=0 WHERE Expense IS NULL +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55384 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55385 +; + +-- Jun 17, 2010 3:23:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55386 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55387 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55388 +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:23:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55389 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55390 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55391 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Period',Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53477 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Periods Sorted by Date', EntityType='D', Help=NULL, IsActive='Y', Name='C_Period (all)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 145, AD_Display = 482, AD_Key = 837, isValueDisplayed = 'N', OrderByClause = 'C_Period.StartDate', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 275 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53477, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=275, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55392 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55392 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55392 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Account_Number', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Account_Number', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Account_Number',Updated=TO_TIMESTAMP('2010-06-17 15:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53486 +; + +-- Jun 17, 2010 3:23:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53486 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53486, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Account_Number', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Account_Number', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55393 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55393 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Account_Number', Description=NULL, Help=NULL WHERE AD_Column_ID=55393 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','A_Account_Number','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','A_Account_Number',null,'NULL',null) +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53115, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55394 +; + +-- Jun 17, 2010 3:23:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_exp','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +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,54211,0,'DR_Account_ID',TO_TIMESTAMP('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D','The (natural) account used','Y','Account (debit)','Account (debit)',TO_TIMESTAMP('2010-06-17 15:23:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +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=54211 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) +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Valid Account combinations', EntityType='D', Help=NULL, IsActive='Y', Name='C_ValidCombination', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=175 +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=175 +; + +-- Jun 17, 2010 3:23:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 176, AD_Display = 1746, AD_Key = 1014, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 175 +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59321,54211,0,25,175,53115,'DR_Account_ID',TO_TIMESTAMP('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D',22,'The (natural) account used','Y','N','N','N','N','N','N','N','Y','N','Y','Account (debit)',TO_TIMESTAMP('2010-06-17 15:23:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59321 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) +; + +-- Jun 17, 2010 3:23:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN DR_Account_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:20 PM CDT +-- Generated Central ID for Fixed Asset +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,54212,0,'CR_Account_ID',TO_TIMESTAMP('2010-06-17 15:23:19','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D','The (natural) account used','Y','Account (credit)','Account (credit)',TO_TIMESTAMP('2010-06-17 15:23:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:20 PM CDT +-- Generated Central ID for Fixed Asset +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=54212 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) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59322,54212,0,25,175,53115,'CR_Account_ID',TO_TIMESTAMP('2010-06-17 15:23:20','YYYY-MM-DD HH24:MI:SS'),0,'Account used','D',22,'The (natural) account used','Y','N','N','N','N','N','N','N','Y','N','Y','Account (credit)',TO_TIMESTAMP('2010-06-17 15:23:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59322 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) +; + +-- Jun 17, 2010 3:23:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN CR_Account_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54213,0,'Expense_F',TO_TIMESTAMP('2010-06-17 15:23:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Expense (fiscal)','Expense (fiscal)',TO_TIMESTAMP('2010-06-17 15:23:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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=54213 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) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59323,54213,0,12,53115,'Expense_F',TO_TIMESTAMP('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Expense (fiscal)',TO_TIMESTAMP('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59323 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) +; + +-- Jun 17, 2010 3:23:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN Expense_F NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:23:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53211,'3','ro.FApac.adempiere.fa.process.A_Depreciation_Exp_Process',TO_TIMESTAMP('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation Expense','Y',0,0,TO_TIMESTAMP('2010-06-17 15:23:22','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Exp_Process',NULL) +; + +-- Jun 17, 2010 3:23:24 PM CDT +-- Generated Central ID for Fixed Asset +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=53211 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) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59324,524,0,53211,28,53115,'Processing',TO_TIMESTAMP('2010-06-17 15:23:24','YYYY-MM-DD HH24:MI:SS'),0,'D',1,'Y','Y','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-06-17 15:23:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59324 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) +; + +-- Jun 17, 2010 3:23:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN Processing CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59325,326,0,14,53115,'Help',TO_TIMESTAMP('2010-06-17 15:23:25','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint','D',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','Y','N','Y','Comment/Help',TO_TIMESTAMP('2010-06-17 15:23:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59325 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) +; + +-- Jun 17, 2010 3:23:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN Help VARCHAR(2000) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59326,53489,0,12,53115,'A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:23:29','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:23:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59326 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) +; + +-- Jun 17, 2010 3:23:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Cost NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59327,53488,0,12,53115,'A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:23:31','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:23:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59327 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) +; + +-- Jun 17, 2010 3:23:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Accumulated_Depr NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59328,54175,0,12,53115,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-17 15:23:35','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:23:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59328 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) +; + +-- Jun 17, 2010 3:23:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Accumulated_Depr_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59329,1946,0,11,53115,'UseLifeMonths',TO_TIMESTAMP('2010-06-17 15:23:36','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Usable Life - Months',TO_TIMESTAMP('2010-06-17 15:23:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59329 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) +; + +-- Jun 17, 2010 3:23:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN UseLifeMonths NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59330,54179,0,11,53115,'UseLifeMonths_F',TO_TIMESTAMP('2010-06-17 15:23:37','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-17 15:23:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59330 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) +; + +-- Jun 17, 2010 3:23:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN UseLifeMonths_F NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59331,54180,0,12,53115,'A_Asset_Remaining',TO_TIMESTAMP('2010-06-17 15:23:38','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Remaining Amt',TO_TIMESTAMP('2010-06-17 15:23:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59331 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) +; + +-- Jun 17, 2010 3:23:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Remaining NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59332,54181,0,12,53115,'A_Asset_Remaining_F',TO_TIMESTAMP('2010-06-17 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Remaining Amt (fiscal)',TO_TIMESTAMP('2010-06-17 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59332 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) +; + +-- Jun 17, 2010 3:23:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Remaining_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54214,0,'A_Asset_Cost_Delta',TO_TIMESTAMP('2010-06-17 15:23:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Delta Asset Cost','Delta Asset Cost',TO_TIMESTAMP('2010-06-17 15:23:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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=54214 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) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59333,54214,0,12,53115,'A_Asset_Cost_Delta',TO_TIMESTAMP('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Asset Cost',TO_TIMESTAMP('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59333 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) +; + +-- Jun 17, 2010 3:23:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Cost_Delta NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59334,54210,0,12,53115,'A_Accumulated_Depr_Delta',TO_TIMESTAMP('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (delta)',TO_TIMESTAMP('2010-06-17 15:23:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59334 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) +; + +-- Jun 17, 2010 3:23:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Accumulated_Depr_Delta NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:23:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54215,0,'A_Accumulated_Depr_F_Delta',TO_TIMESTAMP('2010-06-17 15:23:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation - fiscal (delta)','Accumulated Depreciation - fiscal (delta)',TO_TIMESTAMP('2010-06-17 15:23:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:46 PM CDT +-- Generated Central ID for Fixed Asset +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=54215 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) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59335,54215,0,12,53115,'A_Accumulated_Depr_F_Delta',TO_TIMESTAMP('2010-06-17 15:23:46','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation - fiscal (delta)',TO_TIMESTAMP('2010-06-17 15:23:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59335 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) +; + +-- Jun 17, 2010 3:23:49 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Accumulated_Depr_F_Delta NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59336,53612,0,19,53115,'A_Asset_Addition_ID',TO_TIMESTAMP('2010-06-17 15:23:49','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Addition',TO_TIMESTAMP('2010-06-17 15:23:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59336 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) +; + +-- Jun 17, 2010 3:23:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Addition_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59337,53550,0,19,53115,'A_Asset_Disposed_ID',TO_TIMESTAMP('2010-06-17 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Disposed_ID',TO_TIMESTAMP('2010-06-17 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59337 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) +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Asset_Disposed_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Entry_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Depreciation Entry', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Depreciation Entry',Updated=TO_TIMESTAMP('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53516 +; + +-- Jun 17, 2010 3:23:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53516 +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59338,53516,0,30,53115,'A_Depreciation_Entry_ID',TO_TIMESTAMP('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Depreciation Entry',TO_TIMESTAMP('2010-06-17 15:23:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59338 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) +; + +-- Jun 17, 2010 3:23:52 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Depreciation_Entry_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:23:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,OrderByClause,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55394,0,53322,53115,251,NULL,TO_TIMESTAMP('2010-06-17 15:23:52','YYYY-MM-DD HH24:MI:SS'),0,'@IsDepreciated@=Y','D','N','Y','N','N','N','Y','N','N','N','Expense','A_Depreciation_Exp.A_Depreciation_Exp_ID','N',65,1,TO_TIMESTAMP('2010-06-17 15:23:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53322 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55393,59065,0,53322,TO_TIMESTAMP('2010-06-17 15:23:53','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Account_Number',0,0,TO_TIMESTAMP('2010-06-17 15:23:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59065 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) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55377,59066,0,53322,TO_TIMESTAMP('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','Y','N','A_Depreciation_Exp_ID',0,0,TO_TIMESTAMP('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59066 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) +; + +-- Jun 17, 2010 3:23:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55389,59067,0,53322,TO_TIMESTAMP('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_TIMESTAMP('2010-06-17 15:23:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59067 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) +; + +-- Jun 17, 2010 3:23:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55378,59068,0,53322,TO_TIMESTAMP('2010-06-17 15:23:55','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Client',0,0,TO_TIMESTAMP('2010-06-17 15:23:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59068 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) +; + +-- Jun 17, 2010 3:23:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55384,59069,0,53322,TO_TIMESTAMP('2010-06-17 15:23:56','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'D','The asset is used internally and will be depreciated','Y','Y','N','N','N','N','Y','Depreciate',0,0,TO_TIMESTAMP('2010-06-17 15:23:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59069 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) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55379,59070,0,53322,TO_TIMESTAMP('2010-06-17 15:23:57','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','Y','Organization',0,0,TO_TIMESTAMP('2010-06-17 15:23:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59070 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) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55380,59071,0,53322,TO_TIMESTAMP('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Entry Type',10,0,TO_TIMESTAMP('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:23:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59071 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) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55390,59072,0,53322,TO_TIMESTAMP('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',20,0,TO_TIMESTAMP('2010-06-17 15:23:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59072 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) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55383,59073,0,53322,TO_TIMESTAMP('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',30,0,TO_TIMESTAMP('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59073 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) +; + +-- Jun 17, 2010 3:24:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59323,59074,0,53322,TO_TIMESTAMP('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Expense (fiscal)',40,0,TO_TIMESTAMP('2010-06-17 15:24:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59074 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) +; + +-- Jun 17, 2010 3:24:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59321,59075,0,53322,TO_TIMESTAMP('2010-06-17 15:24:06','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','N','Account (debit)',50,0,TO_TIMESTAMP('2010-06-17 15:24:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59075 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) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59322,59076,0,53322,TO_TIMESTAMP('2010-06-17 15:24:07','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','Y','Account (credit)',60,0,TO_TIMESTAMP('2010-06-17 15:24:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59076 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) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55392,59077,0,53322,TO_TIMESTAMP('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period',70,0,TO_TIMESTAMP('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59077 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) +; + +-- Jun 17, 2010 3:24:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55382,59078,0,53322,TO_TIMESTAMP('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',80,0,TO_TIMESTAMP('2010-06-17 15:24:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59078 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) +; + +-- Jun 17, 2010 3:24:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55388,59079,0,53322,TO_TIMESTAMP('2010-06-17 15:24:13','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',90,0,TO_TIMESTAMP('2010-06-17 15:24:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59079 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) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55394,59080,0,53322,TO_TIMESTAMP('2010-06-17 15:24:14','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','Y','Asset',100,0,TO_TIMESTAMP('2010-06-17 15:24:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59080 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) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55385,59081,0,53322,TO_TIMESTAMP('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',110,0,TO_TIMESTAMP('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59081 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) +; + +-- Jun 17, 2010 3:24:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59324,59082,0,53322,TO_TIMESTAMP('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0,1,'@Processed@=N','D','Y','Y','Y','N','N','N','Y','Process Now',120,0,TO_TIMESTAMP('2010-06-17 15:24:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59082 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) +; + +-- Jun 17, 2010 3:24:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59325,59083,0,53322,TO_TIMESTAMP('2010-06-17 15:24:17','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','Comment/Help',130,0,TO_TIMESTAMP('2010-06-17 15:24:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59083 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) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59326,101,59084,0,53322,TO_TIMESTAMP('2010-06-17 15:24:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','N','A_Asset_Cost',140,0,TO_TIMESTAMP('2010-06-17 15:24:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59084 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) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59333,59085,0,53322,TO_TIMESTAMP('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Delta Asset Cost',150,0,TO_TIMESTAMP('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59085 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) +; + +-- Jun 17, 2010 3:24:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59327,59086,0,53322,TO_TIMESTAMP('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','A_Accumulated_Depr',160,0,TO_TIMESTAMP('2010-06-17 15:24:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59086 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) +; + +-- Jun 17, 2010 3:24:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59334,59087,0,53322,TO_TIMESTAMP('2010-06-17 15:24:20','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (delta)',170,0,TO_TIMESTAMP('2010-06-17 15:24:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59087 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) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59328,59088,0,53322,TO_TIMESTAMP('2010-06-17 15:24:21','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Accumulated Depreciation (fiscal)',180,0,TO_TIMESTAMP('2010-06-17 15:24:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59088 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) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59335,59089,0,53322,TO_TIMESTAMP('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation - fiscal (delta)',190,0,TO_TIMESTAMP('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59089 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) +; + +-- Jun 17, 2010 3:24:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59331,59090,0,53322,TO_TIMESTAMP('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Remaining Amt',200,0,TO_TIMESTAMP('2010-06-17 15:24:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59090 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) +; + +-- Jun 17, 2010 3:24:27 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59332,59091,0,53322,TO_TIMESTAMP('2010-06-17 15:24:26','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','N','N','Remaining Amt (fiscal)',210,0,TO_TIMESTAMP('2010-06-17 15:24:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59091 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) +; + +-- Jun 17, 2010 3:24:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59329,59092,0,53322,TO_TIMESTAMP('2010-06-17 15:24:27','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Usable Life - Months',220,0,TO_TIMESTAMP('2010-06-17 15:24:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59092 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) +; + +-- Jun 17, 2010 3:24:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59330,59093,0,53322,TO_TIMESTAMP('2010-06-17 15:24:28','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Type@=MFX','D','Y','Y','Y','N','N','Y','N','Use Life - Months (fiscal)',230,0,TO_TIMESTAMP('2010-06-17 15:24:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59093 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) +; + +-- Jun 17, 2010 3:24:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59336,104,59094,0,53322,TO_TIMESTAMP('2010-06-17 15:24:33','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Addition_ID@!0','D','Y','Y','Y','N','N','Y','N','Asset Addition',240,0,TO_TIMESTAMP('2010-06-17 15:24:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59094 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) +; + +-- Jun 17, 2010 3:24:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59337,104,59095,0,53322,TO_TIMESTAMP('2010-06-17 15:24:36','YYYY-MM-DD HH24:MI:SS'),0,10,'@A_Asset_Disposed_ID@!0','D','Y','Y','Y','N','N','Y','N','A_Asset_Disposed_ID',250,0,TO_TIMESTAMP('2010-06-17 15:24:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:24:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59095 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) +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=539, AD_Window_ID=251, CommitWarning=NULL, Description='Asset used internally or by customers', EntityType='D', HasTree='N', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=450 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8070, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=0, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6145 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8061, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6162 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Quantity', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11523 +; + +-- Jun 17, 2010 3:24:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12879 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55595, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_QTY_Original', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55832 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55594, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55833 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59255, AD_FieldGroup_ID=114, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Action', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58987 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58987 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59260, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Type', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58988 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58988 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59262, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Manufacturer of the Product', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Manufacturer', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58989 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8064, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6164 +; + +-- Jun 17, 2010 3:24:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8052, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6153 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8054, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Search key for the record in the format required - must be unique', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Search Key', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6155 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59258, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Inventory No', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58990 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58990 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8056, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6157 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8057, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6158 +; + +-- Jun 17, 2010 3:24:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8062, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6163 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8043, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6140 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55593, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=14, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='A_Parent_Asset_ID', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55829 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59259, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Type', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58991 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58991 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8051, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Group', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6152 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59253, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=30, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset class', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58992 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58992 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8053, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic='@A_Asset_Type@=SUP', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Version No', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6154 +; + +-- Jun 17, 2010 3:24:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8047, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6149 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=10007, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8345 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8071, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6146 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59263, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Manufactured Year', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58993 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58993 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8038, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6135 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8068, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6143 +; + +-- Jun 17, 2010 3:24:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8066, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when guarantee expires', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Date when the normal guarantee or availability expires', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Guarantee Date', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6166 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55591, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55830 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55592, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Asset_RevalDate', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55831 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14091, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12106 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59261, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Activity', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Activity', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58994 +; + +-- Jun 17, 2010 3:24:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8042, AD_FieldGroup_ID=50016, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Possession', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6139 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8065, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=26, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6165 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8073, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Partner Location', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6147 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8039, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, DisplayLogic='@IsInPosession@=N', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6136 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8041, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=14, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6138 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Business Partner (Agent or Sales Rep)', DisplayLength=10, DisplayLogic='@IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='BPartner (Agent)', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:24:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12107 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8049, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=26, DisplayLogic='@IsInPosession@=N | @GZ_TipComponenta@=BR | @GZ_TipComponenta@=RD', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6151 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8058, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Additional comments or remarks concerning the location', DisplayLength=20, DisplayLogic='@IsInPosession@=N | @GZ_TipComponeta@=BR | @GZ_TipComponeta@=RD', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Location comment', SeqNo=350, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6159 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8055, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=360, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6156 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The Business Partner who rents or leases', DisplayLength=10, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lessor', SeqNo=370, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12876 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Lease Termination Date', DisplayLength=7, DisplayLogic='@IsOwned@=N & @IsInPosession@=Y', EntityType='D', Help='Last Date of Lease', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Lease Termination', SeqNo=380, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12875 +; + +-- Jun 17, 2010 3:24:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8059, AD_FieldGroup_ID=50017, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=390, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6160 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8126, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y & @IsDepreciated@=Y', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Fully depreciated', SeqNo=400, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6213 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8046, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6148 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8067, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=11, DisplayLogic='@IsOwned@=Y & @A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6142 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8060, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6161 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8069, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=11, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:24:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6144 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14845, AD_FieldGroup_ID=50018, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Maintenance', SeqNo=450, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12872 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Last Unit', SeqNo=460, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12874 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Last Maintenance Note', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Last Note', SeqNo=470, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12873 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Next Maintenence', SeqNo=480, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12877 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14848, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Next Maintenence Unit', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Next Unit', SeqNo=490, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:24:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12878 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59254, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset Status', SeqNo=500, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58995 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58995 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8044, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=14, DisplayLogic='@IsOwned@=Y & @IsDepeciated@=Y', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=510, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6141 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59256, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Processed', SeqNo=520, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58996 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8040, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposed', SeqNo=530, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6137 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59257, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@IsDisposed@=N', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Activation Date', SeqNo=540, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58997 +; + +-- Jun 17, 2010 3:24:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58997 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8048, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=450, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=14, DisplayLogic='@IsDisposed@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Disposal Date', SeqNo=550, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6150 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=59272, AD_Table_ID=53270, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Product', OrderByClause=NULL, Processing='N', SeqNo=11, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53320 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53320 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59264, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Product', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58998 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=58998 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59265, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=58999 +; + +-- Jun 17, 2010 3:24:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59266, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59000 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59272, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59001 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59267, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59002 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59273, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59003 +; + +-- Jun 17, 2010 3:24:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59274, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59004 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59277, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59005 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59005 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59275, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59006 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59276, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53320, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59007 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55400, AD_Table_ID=53116, AD_Window_ID=251, CommitWarning=NULL, Description='Asset Balance Report and Adjustments', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Asset Balances', OrderByClause=NULL, Processing='N', SeqNo=12, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53162 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55395, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Workfile_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:24:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56004 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55401, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Life_Current_Year', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56005 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56006 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55403, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Prior_Year_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56007 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55418, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Years', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:24:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56009 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55420, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Calc_Accumulated_Depr', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56010 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55421, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Curr_Dep_Exp', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56012 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55419, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Base_Amount', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56013 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55417, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life Periods', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:24:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56014 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56021 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55416, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Posted', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56022 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55410, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56023 +; + +-- Jun 17, 2010 3:24:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55406, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56025 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55402, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Forecast', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59008 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59008 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59279, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life Years (fiscal)', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59009 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59009 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59280, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life Period (fiscal)', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59010 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59010 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59296, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59011 +; + +-- Jun 17, 2010 3:24:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55396, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56015 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55397, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56016 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55400, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56017 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59294, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59012 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55399, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Cost', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:24:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56019 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59291, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Tipul finantarii', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Tip finantare', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59013 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59013 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55404, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56018 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59295, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Tip_Finantare@!P', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset Funding Mode', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59014 +; + +-- Jun 17, 2010 3:24:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59014 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59292, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Contribuţia proprie', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59015 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59015 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59293, AD_FieldGroup_ID=50019, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Contributie tert', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59016 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59016 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55398, AD_FieldGroup_ID=50020, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56020 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59278, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (fiscal)', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59017 +; + +-- Jun 17, 2010 3:24:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59017 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59285, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59018 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59018 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59286, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remaining Amt (fiscal)', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59019 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59019 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59287, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='SL Expense/Period', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59020 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59020 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59288, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='SL Expense/Period (fiscal)', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59021 +; + +-- Jun 17, 2010 3:24:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59021 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59290, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life periods (min)', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59022 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59022 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59289, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Life periods (max)', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59023 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59023 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59281, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59024 +; + +-- Jun 17, 2010 3:25:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59024 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59283, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use Life - Years (fiscal)', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59025 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59025 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59282, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Months', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59026 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59026 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59284, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Use Life - Months (fiscal)', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59027 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59027 +; + +-- Jun 17, 2010 3:25:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55405, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Depreciate', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56024 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55422, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Current Period', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56011 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55407, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='N', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59028 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55415, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53162, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Update depreciation', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:25:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56008 +; + +-- Jun 17, 2010 3:25:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55599, AD_Table_ID=53123, AD_Window_ID=251, CommitWarning=NULL, Description='Enter accounting setup information', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Accounting Setup', OrderByClause=NULL, Processing='N', SeqNo=14, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:25:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53157 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55861 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55618, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55862 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55610, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55868 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55611, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:25:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55869 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55623, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55878 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55622, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55879 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55597, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55863 +; + +-- Jun 17, 2010 3:25:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55598, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=2,Updated=TO_TIMESTAMP('2010-06-17 15:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55864 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55621, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55865 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55866 +; + +-- Jun 17, 2010 3:25:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59309, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='Valid from including this date (first day)', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Valid From date indicates the first day of a date range', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Valid from', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59029 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55617, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55867 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55601, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55870 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59306, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation (fiscal)', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59030 +; + +-- Jun 17, 2010 3:25:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59030 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55629, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55871 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55603, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic='@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55872 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_ID@=1000006|@A_Depreciation_ID@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55873 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55625, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:25:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55874 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59308, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Variable Percent (fiscal)', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59031 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59031 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55635, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Spread_ID', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55875 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55628, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Method', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:25:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55876 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59305, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation Method (fiscal)', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59032 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59032 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55632, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Convention Type', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55877 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59307, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciation Convention (fiscal)', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59033 +; + +-- Jun 17, 2010 3:25:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59033 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55637, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55880 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55636, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55881 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55600, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55882 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55612, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:25:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55883 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55613, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55884 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59302, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposal_Revenue', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59034 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59034 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59303, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Loss Acct', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59035 +; + +-- Jun 17, 2010 3:25:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59035 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55607, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55885 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55606, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55886 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55605, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55887 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59299, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Acct', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59036 +; + +-- Jun 17, 2010 3:25:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59036 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55609, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55888 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59298, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Prior Acct', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59037 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59037 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55608, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:25:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55889 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59301, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Cur', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59038 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59038 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55624, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55890 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59300, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Prior', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59039 +; + +-- Jun 17, 2010 3:25:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59039 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59304, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53157, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Depexp Offset Acct', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59040 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59040 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Cost Detail', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Cost Details', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53163 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:25:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56026 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56027 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56028 +; + +-- Jun 17, 2010 3:25:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56029 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56030 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56031 +; + +-- Jun 17, 2010 3:25:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56032 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56033 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56034 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56035 +; + +-- Jun 17, 2010 3:25:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56036 +; + +-- Jun 17, 2010 3:25:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56037 +; + +-- Jun 17, 2010 3:25:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56038 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56039 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56040 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53163, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:25:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56041 +; + +-- Jun 17, 2010 3:25:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Process_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,DisplayLogic,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,55954,0,NULL,53323,53137,251,NULL,TO_TIMESTAMP('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),0,'Activation/Addition','@IsDepreciated@=Y','D','N','Y','N','N','N','Y','Y','N','N','Activation/Addition','N',15,1,TO_TIMESTAMP('2010-06-17 15:25:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53323 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:25:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55965,59096,0,53323,TO_TIMESTAMP('2010-06-17 15:25:22','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_TIMESTAMP('2010-06-17 15:25:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59096 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) +; + +-- Jun 17, 2010 3:25:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55952,59097,0,53323,TO_TIMESTAMP('2010-06-17 15:25:23','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_TIMESTAMP('2010-06-17 15:25:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59097 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) +; + +-- Jun 17, 2010 3:25:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55960,59098,0,53323,TO_TIMESTAMP('2010-06-17 15:25:25','YYYY-MM-DD HH24:MI:SS'),0,'Unique line for this document',22,'@A_SourceType@=''INV''','D','Indicates the unique line for a document. It will also control the display order of the lines within a document.','Y','Y','N','N','N','N','N','Line No',0,0,TO_TIMESTAMP('2010-06-17 15:25:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59098 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) +; + +-- Jun 17, 2010 3:25:39 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55959,125,59099,0,53323,TO_TIMESTAMP('2010-06-17 15:25:29','YYYY-MM-DD HH24:MI:SS'),0,'General Ledger Journal Batch',22,'@A_SourceType@=''JRN''','D','The General Ledger Journal Batch identifies a group of journals to be processed as a group.','Y','Y','N','N','N','N','N','Journal Batch',0,0,TO_TIMESTAMP('2010-06-17 15:25:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59099 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) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55953,59100,0,53323,TO_TIMESTAMP('2010-06-17 15:25:39','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:25:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59100 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) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55971,59101,0,53323,TO_TIMESTAMP('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59101 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) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55966,59102,0,53323,TO_TIMESTAMP('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','Y','N','Document No',30,0,TO_TIMESTAMP('2010-06-17 15:25:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59102 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) +; + +-- Jun 17, 2010 3:25:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55954,59103,0,53323,TO_TIMESTAMP('2010-06-17 15:25:42','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','Y','N','Asset',50,0,TO_TIMESTAMP('2010-06-17 15:25:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59103 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) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55963,113,59104,0,53323,TO_TIMESTAMP('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',80,0,TO_TIMESTAMP('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59104 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) +; + +-- Jun 17, 2010 3:25:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55970,59105,0,53323,TO_TIMESTAMP('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',90,0,TO_TIMESTAMP('2010-06-17 15:25:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59105 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) +; + +-- Jun 17, 2010 3:25:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55969,59106,0,53323,TO_TIMESTAMP('2010-06-17 15:25:45','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','N','Source Type',100,0,TO_TIMESTAMP('2010-06-17 15:25:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59106 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) +; + +-- Jun 17, 2010 3:25:49 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55968,125,59107,0,53323,TO_TIMESTAMP('2010-06-17 15:25:48','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Identifier',22,'@A_SourceType@=''INV''','D','The Invoice Document.','Y','Y','Y','N','N','N','N','Invoice',110,0,TO_TIMESTAMP('2010-06-17 15:25:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59107 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) +; + +-- Jun 17, 2010 3:25:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55964,59108,0,53323,TO_TIMESTAMP('2010-06-17 15:25:49','YYYY-MM-DD HH24:MI:SS'),0,'Line on Shipment or Receipt document',22,'@A_SourceType@=''INV''','D','The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document','Y','Y','Y','N','N','Y','Y','Shipment/Receipt Line',140,0,TO_TIMESTAMP('2010-06-17 15:25:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59108 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) +; + +-- Jun 17, 2010 3:25:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55958,59109,0,53323,TO_TIMESTAMP('2010-06-17 15:25:50','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',510,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',210,0,TO_TIMESTAMP('2010-06-17 15:25:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59109 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) +; + +-- Jun 17, 2010 3:25:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55956,103,59110,0,53323,TO_TIMESTAMP('2010-06-17 15:25:51','YYYY-MM-DD HH24:MI:SS'),0,'Book Value of the asset',22,'D','Y','Y','Y','N','N','Y','Y','Asset value',230,0,TO_TIMESTAMP('2010-06-17 15:25:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59110 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) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55955,59111,0,53323,TO_TIMESTAMP('2010-06-17 15:25:52','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',260,0,TO_TIMESTAMP('2010-06-17 15:25:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59111 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) +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55640, AD_Table_ID=53127, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Disposal', OrderByClause=NULL, Processing='N', SeqNo=16, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53321 +; + +-- Jun 17, 2010 3:25:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53321 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55638, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Disposed_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59041 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59041 +; + +-- Jun 17, 2010 3:25:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55643, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59042 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55649, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59043 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59043 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55642, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Disposed_Reason', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59044 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59044 +; + +-- Jun 17, 2010 3:25:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55639, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59045 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55656, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59046 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55640, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59047 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55654, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposed_Method', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59048 +; + +-- Jun 17, 2010 3:25:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59048 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55641, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@IsDisposed@=''N''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposed_Date', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59049 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59049 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55645, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59050 +; + +-- Jun 17, 2010 3:25:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55651, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59051 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55653, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Disposed_Method@=C | @A_Disposed_Method@=T2', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Proceeds', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59052 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59052 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55655, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Trade_ID', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59053 +; + +-- Jun 17, 2010 3:25:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59053 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55650, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Active', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59054 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55646, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53321, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Processed', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59055 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=541, AD_Window_ID=251, CommitWarning=NULL, Description='Delivery or availability', EntityType='D', HasTree='N', Help='Record of delivery or availability', ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Delivery', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:25:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=451 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8099, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6177 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8102, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Delivery of Asset', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The availability of the asset to the business partner (customer).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Delivery', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6180 +; + +-- Jun 17, 2010 3:26:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8093, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6171 +; + +-- Jun 17, 2010 3:26:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8101, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6179 +; + +-- Jun 17, 2010 3:26:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8096, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6174 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13599, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product downloads', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Define download for a product. If the product is an asset, the user can download the data.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Product Download', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11515 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8103, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Date a product was moved in or out of inventory', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Movement Date', SeqNo=50, SortNo=-1,Updated=TO_TIMESTAMP('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6181 +; + +-- Jun 17, 2010 3:26:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8098, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='User/Contact', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6176 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=9596, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7834 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8094, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6172 +; + +-- Jun 17, 2010 3:26:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8087, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6167 +; + +-- Jun 17, 2010 3:26:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8090, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Serial No', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6169 +; + +-- Jun 17, 2010 3:26:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8130, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Shipment/Receipt Line', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6217 +; + +-- Jun 17, 2010 3:26:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8095, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Electronic Mail Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='EMail Address', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6173 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8128, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Message ID', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='SMTP Message ID for tracking purposes', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Message ID', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6215 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8127, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='EMail Delivery confirmation', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delivery Confirmation', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:26:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6214 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8129, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Full URL address - e.g. http://www.idempiere.org', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The URL defines an fully qualified web address like http://www.idempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='URL', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6216 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8092, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Referring web address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Referrer', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6170 +; + +-- Jun 17, 2010 3:26:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8100, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote Address', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help='The Remote Address indicates an alternative or external address.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remote Addr', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6178 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8097, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=451, AD_Val_Rule_ID=NULL, Description='Remote host Info', DisplayLength=20, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Remote Host', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6175 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53138, AD_Window_ID=251, CommitWarning=NULL, Description='Record Asset Usage', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Usage', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:26:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53164 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55972, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Use_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56042 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55976, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56043 +; + +-- Jun 17, 2010 3:26:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55973, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56044 +; + +-- Jun 17, 2010 3:26:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55974, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56045 +; + +-- Jun 17, 2010 3:26:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55983, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56046 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55979, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='UseDate', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56047 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55978, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56048 +; + +-- Jun 17, 2010 3:26:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55981, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53164, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56049 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53133, AD_Window_ID=251, CommitWarning=NULL, Description='Detail asset transaction history', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset History', OrderByClause=NULL, Processing='N', SeqNo=25, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53158 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55830, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Internally used asset is not longer used.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Retirement', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55891 +; + +-- Jun 17, 2010 3:26:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55856, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55892 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55875, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeDate', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55893 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55895, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:26:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55894 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55894, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Acct_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55895 +; + +-- Jun 17, 2010 3:26:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55877, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Valid Account Combination', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Combination identifies a valid combination of element which represent a GL account.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Combination', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55896 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55826, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55897 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55827, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55898 +; + +-- Jun 17, 2010 3:26:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55892, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55899 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55867, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Details', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55900 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55869, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55901 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55874, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeType', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:26:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55902 +; + +-- Jun 17, 2010 3:26:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55860, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date this record was created', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Created', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55903 +; + +-- Jun 17, 2010 3:26:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55865, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User who updated this records', DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Updated By', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55904 +; + +-- Jun 17, 2010 3:26:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55843, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55905 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55836, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_Start@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55906 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55837, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Period_End@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Period_End', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:26:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55907 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55857, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@DepreciationType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55908 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55889, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Manual_Amount@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55909 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55833, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic='@A_Depreciation_Manual_Period@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:26:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55910 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55841, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Variable_Perc@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55911 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55842, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_Table_Header_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:26:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55912 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55832, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Depreciation_Calc_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55913 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55831, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Spread_Type@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55914 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55873, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ConventionType@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:26:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55915 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55882, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Salvage_Value@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Salvage_Value', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55916 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55881, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Split_Percent@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:26:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55917 +; + +-- Jun 17, 2010 3:26:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55872, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55918 +; + +-- Jun 17, 2010 3:26:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55852, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is in the possession of the organization', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='In Possession', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55919 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55855, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciate', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55920 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55853, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is fully depreciated', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset costs are fully amortized.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Fully depreciated', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55921 +; + +-- Jun 17, 2010 3:26:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55854, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='The asset is disposed', DisplayLength=1, DisplayLogic='@ChangeType@="CRT"|@ChangeType@="UPD"|@ChangeType@="IMP"', EntityType='D', Help='The asset is no longer used and disposed', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposed', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55922 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55886, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic='@A_Reval_Cal_Method@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55923 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55876, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@ChangeAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ChangeAmt', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:26:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55924 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55844, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=10, DisplayLogic='@AssetValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset value', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55925 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55849, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetBookValueAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetBookValueAmt', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:26:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55926 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55850, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@AssetAccumDepreciationAmt@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='AssetAccumDepreciationAmt', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55927 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55846, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Market value of the asset', DisplayLength=10, DisplayLogic='@AssetMarketValueAmt@!""', EntityType='D', Help='For reporting, the market value of the asset', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Market value Amount', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55928 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55834, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Original@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_QTY_Original', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:26:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55929 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55835, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_QTY_Current@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55930 +; + +-- Jun 17, 2010 3:26:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55858, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic='@DateAcct@!""', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account Date', SeqNo=350, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55931 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55829, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_CreateDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_CreateDate', SeqNo=360, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55932 +; + +-- Jun 17, 2010 3:26:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55845, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when Asset was put into service', DisplayLength=7, DisplayLogic='@AssetServiceDate@!""', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='In Service Date', SeqNo=370, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55933 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55848, AD_FieldGroup_ID=50003, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date of last depreciation', DisplayLength=7, DisplayLogic='@AssetDepreciationDate@!""', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Depreciation Date', SeqNo=380, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55934 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55891, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic='@A_Asset_RevalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_RevalDate', SeqNo=390, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55935 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55847, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Date when the asset is/was disposed', DisplayLength=7, DisplayLogic='@AssetDisposalDate@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Disposal Date', SeqNo=400, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:26:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55936 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55863, AD_FieldGroup_ID=102, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeYears@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=410, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55937 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55864, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@UseLifeMonths@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Usable Life - Months', SeqNo=420, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:26:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55938 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55871, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Units of use until the asset is not usable anymore', DisplayLength=22, DisplayLogic='@LifeUseUnits@!""', EntityType='D', Help='Life use and the actual use may be used to calculate the depreciation', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life use', SeqNo=430, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55939 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55862, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Currently used units of the assets', DisplayLength=10, DisplayLogic='@UseUnits@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Use units', SeqNo=440, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:26:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55940 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55838, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Parent_Asset_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Parent_Asset_ID', SeqNo=450, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55941 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55851, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='User within the system - Internal or Business Partner Contact', DisplayLength=22, DisplayLogic='@Ad_User_ID@!0', EntityType='D', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='User/Contact', SeqNo=460, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55942 +; + +-- Jun 17, 2010 3:26:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55878, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Location or Address', DisplayLength=22, DisplayLogic='@C_Location_ID@!0', EntityType='D', Help='The Location / Address field defines the location of an entity.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Address', SeqNo=470, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55943 +; + +-- Jun 17, 2010 3:26:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55870, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Lot number (alphanumeric)', DisplayLength=22, DisplayLogic='@Lot@!""', EntityType='D', Help='The Lot Number indicates the specific lot that a product was part of.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Lot No', SeqNo=480, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55944 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55868, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Product Serial Number ', DisplayLength=22, DisplayLogic='@Serno@!""', EntityType='D', Help='The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Serial No', SeqNo=490, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55945 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55861, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Version Number', DisplayLength=22, DisplayLogic='@Versionno@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Version No', SeqNo=500, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:26:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55946 +; + +-- Jun 17, 2010 3:26:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55880, AD_FieldGroup_ID=107, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic='@C_Bpartner_ID@!0', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=510, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55947 +; + +-- Jun 17, 2010 3:26:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55879, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description='Identifies the (ship to) address for this Business Partner', DisplayLength=22, DisplayLogic='@C_BPartner_Location_ID@!0', EntityType='D', Help='The Partner address indicates the location of a Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Partner Location', SeqNo=520, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55948 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55893, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Asset_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=530, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55949 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55890, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Depreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=540, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:26:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55950 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55828, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Accumdepreciation_Acct@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation Account', SeqNo=550, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55951 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55839, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=560, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:26:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55952 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59312, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Disposal_Revenue@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Disposal_Revenue', SeqNo=560, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59056 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59056 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55840, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=570, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:26:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55953 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59313, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Disposal_Loss@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Disposal Loss Acct', SeqNo=570, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59057 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59057 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55885, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=580, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55954 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59316, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Cost_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Acct', SeqNo=580, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59058 +; + +-- Jun 17, 2010 3:26:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59058 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55884, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=590, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55955 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59315, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Cost_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Cost Offset Prior Acct', SeqNo=590, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59059 +; + +-- Jun 17, 2010 3:26:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59059 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55888, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=600, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55956 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59318, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Accumdep_Offset_Cur@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Cur', SeqNo=600, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59060 +; + +-- Jun 17, 2010 3:26:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59060 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55887, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=610, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55957 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59317, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Accumdep_Offset_Prior@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Accumdep_Offset_Prior', SeqNo=610, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59061 +; + +-- Jun 17, 2010 3:26:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59061 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55883, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=620, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55958 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59314, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=20, DisplayLogic='@A_Reval_Depexp_Offset@!""', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Reval Depexp Offset Acct', SeqNo=620, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59062 +; + +-- Jun 17, 2010 3:26:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59062 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55825, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53158, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Change_ID', SeqNo=630, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:26:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55959 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=14956, AD_Table_ID=842, AD_Window_ID=251, CommitWarning=NULL, Description='Automatic Issue Reporting', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Issue Project', OrderByClause=NULL, Processing='N', SeqNo=30, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:26:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:26:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=793 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14946, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Implementation Projects', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issue Project', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12969 +; + +-- Jun 17, 2010 3:26:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14947, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12967 +; + +-- Jun 17, 2010 3:26:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12971 +; + +-- Jun 17, 2010 3:26:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14956, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12966 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14957, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Project', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12973 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=120, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Name', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12970 +; + +-- Jun 17, 2010 3:26:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12968 +; + +-- Jun 17, 2010 3:26:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12965 +; + +-- Jun 17, 2010 3:26:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Status of the system - Support priority depends on system status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='System status helps to prioritize support resources', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='System Status', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12975 +; + +-- Jun 17, 2010 3:26:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics as well as general anonymous statistics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Statistics', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12974 +; + +-- Jun 17, 2010 3:26:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=14959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=793, AD_Val_Rule_ID=NULL, Description='Information to help profiling the system for solving support issues', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='Profile information do not contain sensitive information and are used to support issue detection and diagnostics', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Profile', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12972 +; + +-- Jun 17, 2010 3:26:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55824, AD_Table_ID=53132, AD_Window_ID=251, CommitWarning=NULL, Description='Finace Information for the Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Finance Information', OrderByClause=NULL, Processing='N', SeqNo=35, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:26:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53156 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55805, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Fin_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55845 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59319, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59063 +; + +-- Jun 17, 2010 3:26:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55806, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55847 +; + +-- Jun 17, 2010 3:26:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55807, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55848 +; + +-- Jun 17, 2010 3:26:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55824, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55849 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55817, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55846 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55809, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:26:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55850 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55812, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Identifies a Business Partner', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Business Partner ', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55851 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55823, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Contract_Date', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:26:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55852 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55822, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Expired_Date', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55853 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55821, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Monthly_Payment', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:26:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55854 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55808, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_Due_On', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55855 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55810, AD_FieldGroup_ID=50006, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:26:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55856 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55819, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Price', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55857 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55820, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:26:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:26:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55858 +; + +-- Jun 17, 2010 3:27:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55811, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Purchase_Option@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Purchase Option Credit %', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:27:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55859 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55816, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53156, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55860 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55910, AD_Table_ID=53134, AD_Window_ID=251, CommitWarning=NULL, Description='License Information for Asset', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='License Information', OrderByClause=NULL, Processing='N', SeqNo=40, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:27:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:27:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53159 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55896, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Lic_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55960 +; + +-- Jun 17, 2010 3:27:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59320, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59064 +; + +-- Jun 17, 2010 3:27:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55897, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55962 +; + +-- Jun 17, 2010 3:27:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55898, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55963 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55964 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:27:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55970 +; + +-- Jun 17, 2010 3:27:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55902, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55961 +; + +-- Jun 17, 2010 3:27:05 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55907, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55965 +; + +-- Jun 17, 2010 3:27:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Issuing Agency', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:27:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55966 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_No', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55967 +; + +-- Jun 17, 2010 3:27:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55899, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_License_Fee', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:27:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55968 +; + +-- Jun 17, 2010 3:27:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55900, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53159, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:27:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55969 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53135, AD_Window_ID=251, CommitWarning=NULL, Description='Insurance Information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Insurance Information', OrderByClause=NULL, Processing='N', SeqNo=45, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53160 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Ins_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:27:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55971 +; + +-- Jun 17, 2010 3:27:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55921, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55972 +; + +-- Jun 17, 2010 3:27:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55973 +; + +-- Jun 17, 2010 3:27:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55974 +; + +-- Jun 17, 2010 3:27:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55926, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55975 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55924, AD_FieldGroup_ID=50005, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Insurance_Co', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55976 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=100, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Policy_No', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:27:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55977 +; + +-- Jun 17, 2010 3:27:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55923, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Renewal_Date', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:27:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55978 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55925, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Premium', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55979 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55916, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Replace_Cost', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:27:14 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55980 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55914, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Ins_Value', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55981 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53160, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:27:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55982 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53131, AD_Window_ID=251, CommitWarning=NULL, Description='Tax information for asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Tax Information', OrderByClause=NULL, Processing='N', SeqNo=50, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53155 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55790, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Tax_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:27:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55834 +; + +-- Jun 17, 2010 3:27:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55796, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55835 +; + +-- Jun 17, 2010 3:27:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55791, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55836 +; + +-- Jun 17, 2010 3:27:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55792, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55837 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55804, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55838 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55801, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Tax_Entity', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:27:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55839 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55794, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='State of the Credit Card or Account holder', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The State of the Credit Card or Account holder', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account State', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55840 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55802, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_New_Used', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:27:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55841 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55803, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Finance_Meth', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55842 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55793, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Investment_CR', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:27:21 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55843 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55799, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53155, AD_Val_Rule_ID=NULL, Description='Text Message', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Text Message', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55844 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53136, AD_Window_ID=251, CommitWarning=NULL, Description='Other information associated with asset', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='N', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Other Information', OrderByClause=NULL, Processing='N', SeqNo=55, TabLevel=2, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:27:22 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53161 +; + +-- Jun 17, 2010 3:27:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55930, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Asset_Info_Oth_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:27:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55983 +; + +-- Jun 17, 2010 3:27:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55948, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55984 +; + +-- Jun 17, 2010 3:27:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55927, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55985 +; + +-- Jun 17, 2010 3:27:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55928, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55986 +; + +-- Jun 17, 2010 3:27:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55929, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55987 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55931, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User1', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55988 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55932, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User10', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:27:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55989 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User2', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55990 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55933, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User11', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:27:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55991 +; + +-- Jun 17, 2010 3:27:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User3', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:27:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55992 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User12', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55993 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User4', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:27:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55994 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User13', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55995 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User5', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:27:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55996 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55936, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User14', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55997 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User6', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:27:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55998 +; + +-- Jun 17, 2010 3:27:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='A_User15', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:27:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55999 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55943, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User7', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56000 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55944, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User8', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:27:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56001 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55945, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_User9', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56002 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55949, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53161, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:27:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56003 +; + +-- Jun 17, 2010 3:27:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55394, AD_Table_ID=53115, AD_Window_ID=251, CommitWarning=NULL, Description=NULL, DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Expense', OrderByClause='A_Depreciation_Exp.A_Depreciation_Exp_ID', Processing='N', SeqNo=65, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:27:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53322 +; + +-- Jun 17, 2010 3:27:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53322 +; + +-- Jun 17, 2010 3:27:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55393, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Account_Number', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59065 +; + +-- Jun 17, 2010 3:27:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59065 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55377, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Depreciation_Exp_ID', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59066 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59066 +; + +-- Jun 17, 2010 3:27:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55389, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59067 +; + +-- Jun 17, 2010 3:27:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55378, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59068 +; + +-- Jun 17, 2010 3:27:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55384, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciate', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59069 +; + +-- Jun 17, 2010 3:27:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55379, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59070 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55380, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entry Type', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59071 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59071 +; + +-- Jun 17, 2010 3:27:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55390, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=255, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59072 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55383, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Expense', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59073 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59073 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59323, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Expense (fiscal)', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59074 +; + +-- Jun 17, 2010 3:27:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59074 +; + +-- Jun 17, 2010 3:27:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59321, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Account used', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The (natural) account used', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Account (debit)', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59075 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59322, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Account used', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The (natural) account used', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account (credit)', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59076 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55392, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59077 +; + +-- Jun 17, 2010 3:27:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59077 +; + +-- Jun 17, 2010 3:27:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55382, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59078 +; + +-- Jun 17, 2010 3:27:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55388, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59079 +; + +-- Jun 17, 2010 3:27:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55394, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Asset', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59080 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55385, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Processed', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59081 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59324, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic='@Processed@=N', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Process Depreciation Expense', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59082 +; + +-- Jun 17, 2010 3:27:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59082 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59325, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=2000, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59083 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59326, AD_FieldGroup_ID=101, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Asset_Cost', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59084 +; + +-- Jun 17, 2010 3:27:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59084 +; + +-- Jun 17, 2010 3:27:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59333, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delta Asset Cost', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59085 +; + +-- Jun 17, 2010 3:27:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59085 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59327, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59086 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59086 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59334, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (delta)', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59087 +; + +-- Jun 17, 2010 3:27:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59087 +; + +-- Jun 17, 2010 3:27:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59328, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Accumulated Depreciation (fiscal)', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59088 +; + +-- Jun 17, 2010 3:27:50 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59088 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59335, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation - fiscal (delta)', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59089 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59089 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59331, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59090 +; + +-- Jun 17, 2010 3:27:51 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59090 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59332, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Remaining Amt (fiscal)', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59091 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59091 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59329, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Usable Life - Months', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59092 +; + +-- Jun 17, 2010 3:27:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59092 +; + +-- Jun 17, 2010 3:27:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59330, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Type@=MFX', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Use Life - Months (fiscal)', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59093 +; + +-- Jun 17, 2010 3:27:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59093 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59336, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Addition_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset Addition', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59094 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59094 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59337, AD_FieldGroup_ID=104, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53322, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic='@A_Asset_Disposed_ID@!0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='A_Asset_Disposed_ID', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59095 +; + +-- Jun 17, 2010 3:27:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59095 +; + +-- Jun 17, 2010 3:27:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53113,TO_TIMESTAMP('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Addition','N',TO_TIMESTAMP('2010-06-17 15:27:54','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:27:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53113 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:28:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53324,53137,53113,NULL,TO_TIMESTAMP('2010-06-17 15:27:59','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Addition','N',10,0,TO_TIMESTAMP('2010-06-17 15:27:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53324 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55965,59112,0,53324,TO_TIMESTAMP('2010-06-17 15:28:02','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_TIMESTAMP('2010-06-17 15:28:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59112 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) +; + +-- Jun 17, 2010 3:28:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55960,59113,0,53324,TO_TIMESTAMP('2010-06-17 15:28:03','YYYY-MM-DD HH24:MI:SS'),0,'Unique line for this document',22,'@A_SourceType@=''INV''','D','Indicates the unique line for a document. It will also control the display order of the lines within a document.','Y','Y','N','N','N','N','N','Line No',0,0,TO_TIMESTAMP('2010-06-17 15:28:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59113 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) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55952,59114,0,53324,TO_TIMESTAMP('2010-06-17 15:28:04','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_TIMESTAMP('2010-06-17 15:28:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59114 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) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55953,59115,0,53324,TO_TIMESTAMP('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59115 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) +; + +-- Jun 17, 2010 3:28:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55971,59116,0,53324,TO_TIMESTAMP('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:28:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59116 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) +; + +-- Jun 17, 2010 3:28:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55966,59117,0,53324,TO_TIMESTAMP('2010-06-17 15:28:06','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','Y','N','Document No',30,0,TO_TIMESTAMP('2010-06-17 15:28:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59117 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) +; + +-- Jun 17, 2010 3:28:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55954,59118,0,53324,TO_TIMESTAMP('2010-06-17 15:28:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_TIMESTAMP('2010-06-17 15:28:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59118 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) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55963,113,59119,0,53324,TO_TIMESTAMP('2010-06-17 15:28:08','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',80,0,TO_TIMESTAMP('2010-06-17 15:28:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59119 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) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55970,59120,0,53324,TO_TIMESTAMP('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',90,0,TO_TIMESTAMP('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59120 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) +; + +-- Jun 17, 2010 3:28:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55969,59121,0,53324,TO_TIMESTAMP('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','N','Source Type',100,0,TO_TIMESTAMP('2010-06-17 15:28:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59121 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) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55959,125,59122,0,53324,TO_TIMESTAMP('2010-06-17 15:28:13','YYYY-MM-DD HH24:MI:SS'),0,'General Ledger Journal Batch',22,'@A_SourceType@=''JRN''','D','The General Ledger Journal Batch identifies a group of journals to be processed as a group.','Y','Y','Y','N','N','N','N','Journal Batch',110,0,TO_TIMESTAMP('2010-06-17 15:28:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59122 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) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55968,59123,0,53324,TO_TIMESTAMP('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Identifier',22,'@A_SourceType@=''INV''','D','The Invoice Document.','Y','Y','Y','N','N','N','N','Invoice',120,0,TO_TIMESTAMP('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59123 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) +; + +-- Jun 17, 2010 3:28:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55964,59124,0,53324,TO_TIMESTAMP('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0,'Line on Shipment or Receipt document',22,'@A_SourceType@=''INV''','D','The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document','Y','Y','Y','N','N','Y','Y','Shipment/Receipt Line',150,0,TO_TIMESTAMP('2010-06-17 15:28:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59124 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) +; + +-- Jun 17, 2010 3:28:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55958,59125,0,53324,TO_TIMESTAMP('2010-06-17 15:28:15','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',510,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',220,0,TO_TIMESTAMP('2010-06-17 15:28:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59125 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) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55956,59126,0,53324,TO_TIMESTAMP('2010-06-17 15:28:16','YYYY-MM-DD HH24:MI:SS'),0,'Book Value of the asset',22,'D','Y','Y','Y','N','N','Y','N','Asset value',240,0,TO_TIMESTAMP('2010-06-17 15:28:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59126 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) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55955,59127,0,53324,TO_TIMESTAMP('2010-06-17 15:28:17','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Current Qty',260,0,TO_TIMESTAMP('2010-06-17 15:28:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59127 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) +; + +-- Jun 17, 2010 3:28:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53114,TO_TIMESTAMP('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'Activate/Dispose of Assets','D','Y','N','N','Y','Asset Activation/Disposal','N',TO_TIMESTAMP('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:28:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53114 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:28:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53325,53127,53114,NULL,TO_TIMESTAMP('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0,'Process the Disposal/Activation','D','N','Y','N','N','Y','N','Y','N','N','Asset Disposal/Activation','N',10,1,TO_TIMESTAMP('2010-06-17 15:28:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53325 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55638,59128,0,53325,TO_TIMESTAMP('2010-06-17 15:28:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_TIMESTAMP('2010-06-17 15:28:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59128 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) +; + +-- Jun 17, 2010 3:28:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55643,59129,0,53325,TO_TIMESTAMP('2010-06-17 15:28:20','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',22,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_TIMESTAMP('2010-06-17 15:28:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59129 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) +; + +-- Jun 17, 2010 3:28:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55653,59130,0,53325,TO_TIMESTAMP('2010-06-17 15:28:24','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=C | @A_Disposed_Method@=T2','D','Y','Y','N','N','N','N','N','A_Proceeds',0,0,TO_TIMESTAMP('2010-06-17 15:28:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59130 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) +; + +-- Jun 17, 2010 3:28:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55655,59131,0,53325,TO_TIMESTAMP('2010-06-17 15:28:25','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Disposed_Method@=T1 | @A_Disposed_Method@=T2','D','Y','Y','N','N','N','N','N','A_Asset_Trade_ID',0,0,TO_TIMESTAMP('2010-06-17 15:28:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59131 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) +; + +-- Jun 17, 2010 3:28:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55649,59132,0,53325,TO_TIMESTAMP('2010-06-17 15:28:26','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_TIMESTAMP('2010-06-17 15:28:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59132 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) +; + +-- Jun 17, 2010 3:28:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55650,59133,0,53325,TO_TIMESTAMP('2010-06-17 15:28:28','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','Y','N','Active',0,0,TO_TIMESTAMP('2010-06-17 15:28:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59133 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) +; + +-- Jun 17, 2010 3:28:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55639,59134,0,53325,TO_TIMESTAMP('2010-06-17 15:28:29','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','Y','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:28:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59134 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) +; + +-- Jun 17, 2010 3:28:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55656,59135,0,53325,TO_TIMESTAMP('2010-06-17 15:28:30','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','Y','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:28:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59135 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) +; + +-- Jun 17, 2010 3:28:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55645,59136,0,53325,TO_TIMESTAMP('2010-06-17 15:28:31','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',50,0,TO_TIMESTAMP('2010-06-17 15:28:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59136 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) +; + +-- Jun 17, 2010 3:28:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55641,59137,0,53325,TO_TIMESTAMP('2010-06-17 15:28:34','YYYY-MM-DD HH24:MI:SS'),0,7,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','Y','A_Disposed_Date',60,0,TO_TIMESTAMP('2010-06-17 15:28:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59137 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) +; + +-- Jun 17, 2010 3:28:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55651,59138,0,53325,TO_TIMESTAMP('2010-06-17 15:28:35','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_TIMESTAMP('2010-06-17 15:28:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59138 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) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55640,59139,0,53325,TO_TIMESTAMP('2010-06-17 15:28:36','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',80,0,TO_TIMESTAMP('2010-06-17 15:28:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59139 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) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55654,59140,0,53325,TO_TIMESTAMP('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','N','A_Disposed_Method',100,0,TO_TIMESTAMP('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59140 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) +; + +-- Jun 17, 2010 3:28:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55642,59141,0,53325,TO_TIMESTAMP('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDisposed@=''N''','D','Y','Y','Y','N','N','N','Y','A_Disposed_Reason',110,0,TO_TIMESTAMP('2010-06-17 15:28:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59141 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) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55646,101,59142,0,53325,TO_TIMESTAMP('2010-06-17 15:28:38','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',180,0,TO_TIMESTAMP('2010-06-17 15:28:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59142 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) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53326,539,53114,NULL,TO_TIMESTAMP('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0,'Select Asset for Disposal','D','N','N','N','N','N','Y','N','N','N','Step1 Select an Asset','N',999,0,TO_TIMESTAMP('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53326 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:28:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8064,59143,0,53326,TO_TIMESTAMP('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',14,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:28:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59143 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) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8052,59144,0,53326,TO_TIMESTAMP('2010-06-17 15:28:40','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',14,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:28:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59144 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) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8054,59145,0,53326,TO_TIMESTAMP('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',20,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',30,0,TO_TIMESTAMP('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59145 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) +; + +-- Jun 17, 2010 3:28:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8070,59146,0,53326,TO_TIMESTAMP('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',14,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',40,0,TO_TIMESTAMP('2010-06-17 15:28:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59146 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) +; + +-- Jun 17, 2010 3:28:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55593,59147,0,53326,TO_TIMESTAMP('2010-06-17 15:28:46','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','Y','N','N','N','Y','A_Parent_Asset_ID',50,0,TO_TIMESTAMP('2010-06-17 15:28:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59147 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) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8056,59148,0,53326,TO_TIMESTAMP('2010-06-17 15:28:47','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',60,1,TO_TIMESTAMP('2010-06-17 15:28:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59148 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) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8057,59149,0,53326,TO_TIMESTAMP('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',60,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',70,0,TO_TIMESTAMP('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59149 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) +; + +-- Jun 17, 2010 3:28:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8062,59150,0,53326,TO_TIMESTAMP('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',60,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','Comment/Help',80,0,TO_TIMESTAMP('2010-06-17 15:28:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59150 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) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8043,59151,0,53326,TO_TIMESTAMP('2010-06-17 15:28:49','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',90,0,TO_TIMESTAMP('2010-06-17 15:28:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59151 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) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8047,59152,0,53326,TO_TIMESTAMP('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',26,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',100,0,TO_TIMESTAMP('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59152 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) +; + +-- Jun 17, 2010 3:28:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,10007,59153,0,53326,TO_TIMESTAMP('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',22,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','Y','Y','Attribute Set Instance',110,0,TO_TIMESTAMP('2010-06-17 15:28:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59153 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) +; + +-- Jun 17, 2010 3:28:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8053,59154,0,53326,TO_TIMESTAMP('2010-06-17 15:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Version Number',20,'D','Y','Y','Y','N','N','N','N','Version No',120,0,TO_TIMESTAMP('2010-06-17 15:28:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59154 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) +; + +-- Jun 17, 2010 3:28:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8038,59155,0,53326,TO_TIMESTAMP('2010-06-17 15:28:52','YYYY-MM-DD HH24:MI:SS'),0,'Lot number (alphanumeric)',20,'D','The Lot Number indicates the specific lot that a product was part of.','Y','Y','Y','N','N','N','N','Lot No',130,0,TO_TIMESTAMP('2010-06-17 15:28:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59155 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) +; + +-- Jun 17, 2010 3:28:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8071,59156,0,53326,TO_TIMESTAMP('2010-06-17 15:28:53','YYYY-MM-DD HH24:MI:SS'),0,'Product Serial Number ',20,'D','The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.','Y','Y','Y','N','N','N','Y','Serial No',140,0,TO_TIMESTAMP('2010-06-17 15:28:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59156 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) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55595,59157,0,53326,TO_TIMESTAMP('2010-06-17 15:28:54','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_QTY_Original',150,0,TO_TIMESTAMP('2010-06-17 15:28:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59157 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) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55594,59158,0,53326,TO_TIMESTAMP('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Current Qty',160,0,TO_TIMESTAMP('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59158 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) +; + +-- Jun 17, 2010 3:28:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55591,59159,0,53326,TO_TIMESTAMP('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0,7,'D','Y','Y','Y','N','N','N','N','A_Asset_CreateDate',170,0,TO_TIMESTAMP('2010-06-17 15:28:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59159 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) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55592,59160,0,53326,TO_TIMESTAMP('2010-06-17 15:28:57','YYYY-MM-DD HH24:MI:SS'),0,7,'D','Y','Y','Y','N','N','N','Y','A_Asset_RevalDate',180,0,TO_TIMESTAMP('2010-06-17 15:28:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59160 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) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8068,59161,0,53326,TO_TIMESTAMP('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0,'Date when Asset was put into service',14,'D','The date when the asset was put into service - usually used as start date for depreciation.','Y','Y','Y','N','N','N','N','In Service Date',190,0,TO_TIMESTAMP('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59161 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) +; + +-- Jun 17, 2010 3:28:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8066,59162,0,53326,TO_TIMESTAMP('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0,'Date when guarantee expires',14,'D','Date when the normal guarantee or availability expires','Y','Y','Y','N','N','N','Y','Guarantee Date',200,0,TO_TIMESTAMP('2010-06-17 15:28:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:28:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59162 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) +; + +-- Jun 17, 2010 3:29:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8051,59163,0,53326,TO_TIMESTAMP('2010-06-17 15:28:59','YYYY-MM-DD HH24:MI:SS'),0,'Group of Assets',14,'D','The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','Y','N','N','N','N','Asset Group',210,0,TO_TIMESTAMP('2010-06-17 15:28:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59163 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) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8055,59164,0,53326,TO_TIMESTAMP('2010-06-17 15:29:03','YYYY-MM-DD HH24:MI:SS'),0,'The asset is owned by the organization',1,'D','The asset may not be in possession, but the asset is legally owned by the organization','Y','Y','Y','N','N','N','N','Owned',220,0,TO_TIMESTAMP('2010-06-17 15:29:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59164 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) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8042,59165,0,53326,TO_TIMESTAMP('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0,'The asset is in the possession of the organization',1,'D','Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','Y','Y','N','N','N','Y','In Possession',230,0,TO_TIMESTAMP('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59165 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) +; + +-- Jun 17, 2010 3:29:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8065,59166,0,53326,TO_TIMESTAMP('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',26,'@IsInPosession@=N','D','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','Business Partner ',240,0,TO_TIMESTAMP('2010-06-17 15:29:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59166 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) +; + +-- Jun 17, 2010 3:29:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8039,59167,0,53326,TO_TIMESTAMP('2010-06-17 15:29:05','YYYY-MM-DD HH24:MI:SS'),0,'User within the system - Internal or Business Partner Contact',14,'@IsInPosession@=N','D','The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','Y','Y','N','N','N','Y','User/Contact',250,0,TO_TIMESTAMP('2010-06-17 15:29:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59167 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) +; + +-- Jun 17, 2010 3:29:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8073,59168,0,53326,TO_TIMESTAMP('2010-06-17 15:29:06','YYYY-MM-DD HH24:MI:SS'),0,'Identifies the (ship to) address for this Business Partner',14,'@IsInPosession@=N','D','The Partner address indicates the location of a Business Partner','Y','Y','Y','N','N','N','N','Partner Location',260,0,TO_TIMESTAMP('2010-06-17 15:29:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59168 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) +; + +-- Jun 17, 2010 3:29:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8049,59169,0,53326,TO_TIMESTAMP('2010-06-17 15:29:07','YYYY-MM-DD HH24:MI:SS'),0,'Location or Address',26,'@IsInPosession@=N','D','The Location / Address field defines the location of an entity.','Y','Y','Y','N','N','N','Y','Address',270,0,TO_TIMESTAMP('2010-06-17 15:29:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59169 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) +; + +-- Jun 17, 2010 3:29:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8041,59170,0,53326,TO_TIMESTAMP('2010-06-17 15:29:08','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',14,'@IsInPosession@=Y','D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',280,0,TO_TIMESTAMP('2010-06-17 15:29:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59170 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) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8058,59171,0,53326,TO_TIMESTAMP('2010-06-17 15:29:09','YYYY-MM-DD HH24:MI:SS'),0,'Additional comments or remarks concerning the location',60,'D','Y','Y','Y','N','N','N','N','Location comment',290,0,TO_TIMESTAMP('2010-06-17 15:29:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59171 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) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8059,59172,0,53326,TO_TIMESTAMP('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'@IsOwned@=Y','D','The asset is used internally and will be depreciated','Y','Y','Y','N','N','N','N','Depreciate',300,0,TO_TIMESTAMP('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59172 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) +; + +-- Jun 17, 2010 3:29:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8126,59173,0,53326,TO_TIMESTAMP('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0,'The asset is fully depreciated',1,'@IsOwned@=Y & @IsDepreciated@=Y','D','The asset costs are fully amortized.','Y','Y','Y','N','N','Y','Y','Fully depreciated',310,0,TO_TIMESTAMP('2010-06-17 15:29:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59173 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) +; + +-- Jun 17, 2010 3:29:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8046,59174,0,53326,TO_TIMESTAMP('2010-06-17 15:29:12','YYYY-MM-DD HH24:MI:SS'),0,'Years of the usable life of the asset',11,'D','Y','Y','Y','N','N','N','N','Usable Life - Years',320,0,TO_TIMESTAMP('2010-06-17 15:29:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59174 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) +; + +-- Jun 17, 2010 3:29:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8067,59175,0,53326,TO_TIMESTAMP('2010-06-17 15:29:13','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',11,'D','Y','Y','Y','N','N','N','Y','Usable Life - Months',330,0,TO_TIMESTAMP('2010-06-17 15:29:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59175 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) +; + +-- Jun 17, 2010 3:29:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8060,59176,0,53326,TO_TIMESTAMP('2010-06-17 15:29:16','YYYY-MM-DD HH24:MI:SS'),0,'Units of use until the asset is not usable anymore',11,'D','Life use and the actual use may be used to calculate the depreciation','Y','Y','Y','N','N','N','N','Life use',340,0,TO_TIMESTAMP('2010-06-17 15:29:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59176 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) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8069,59177,0,53326,TO_TIMESTAMP('2010-06-17 15:29:17','YYYY-MM-DD HH24:MI:SS'),0,'Currently used units of the assets',11,'D','Y','Y','Y','N','N','N','Y','Use units',350,0,TO_TIMESTAMP('2010-06-17 15:29:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59177 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) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8044,59178,0,53326,TO_TIMESTAMP('2010-06-17 15:29:18','YYYY-MM-DD HH24:MI:SS'),0,'Date of last depreciation',14,'@IsOwned@=Y & @IsDepeciated@=Y','D','Date of the last deprecation, if the asset is used internally and depreciated.','Y','Y','Y','N','N','N','N','Asset Depreciation Date',360,0,TO_TIMESTAMP('2010-06-17 15:29:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59178 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) +; + +-- Jun 17, 2010 3:29:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8040,59179,0,53326,TO_TIMESTAMP('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed',1,'D','The asset is no longer used and disposed','Y','Y','Y','N','N','N','N','Disposed',370,0,TO_TIMESTAMP('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59179 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) +; + +-- Jun 17, 2010 3:29:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8048,59180,0,53326,TO_TIMESTAMP('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0,'Date when the asset is/was disposed',14,'@IsDisposed@=Y','D','Y','Y','Y','N','N','N','Y','Asset Disposal Date',380,0,TO_TIMESTAMP('2010-06-17 15:29:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59180 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) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8061,59181,0,53326,TO_TIMESTAMP('2010-06-17 15:29:23','YYYY-MM-DD HH24:MI:SS'),0,23,'D','Y','Y','Y','N','N','N','N','Process Now',390,0,TO_TIMESTAMP('2010-06-17 15:29:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59181 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) +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53115,TO_TIMESTAMP('2010-06-17 15:29:25','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Change Account','N',TO_TIMESTAMP('2010-06-17 15:29:25','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:29:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53115 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53115, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds all necessary information to process asset transfers and create the appropriate entry', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Transfer_ID', ReplicationType='L', TableName='A_Asset_Transfer',Updated=TO_TIMESTAMP('2010-06-17 15:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53128 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53128 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Transfer_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Transfer_ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Transfer_ID',Updated=TO_TIMESTAMP('2010-06-17 15:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53556 +; + +-- Jun 17, 2010 3:29:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53556 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53556, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Transfer_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Transfer_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55658 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55658 +; + +-- Jun 17, 2010 3:29:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Transfer_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55658 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53519, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_ID', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Asset_Acct_ID FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Acct_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55657 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55657 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55657 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55659 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','AD_Client_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','AD_Client_ID',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55660 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','AD_Org_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','AD_Org_ID',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55661 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55661 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55661 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Accumdepreciation_Acct','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Asset Cost Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Asset Cost Acct',Updated=TO_TIMESTAMP('2010-06-17 15:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53557 +; + +-- Jun 17, 2010 3:29:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53557 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53557, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Asset Cost Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55662 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55662 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_Acct_New','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_Acct_New',null,'NULL',null) +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55663 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55663 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55663 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Depreciation_Acct','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Depreciation_Acct_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Depreciation_Acct_Str',Updated=TO_TIMESTAMP('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53558 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53558 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53558, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Depreciation_Acct_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55664 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55664 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Acct_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55664 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Depreciation_Acct_Str','VARCHAR(40)',null,'NULL') +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Disposal Loss', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Disposal Loss',Updated=TO_TIMESTAMP('2010-06-17 15:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53559 +; + +-- Jun 17, 2010 3:29:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53559 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53559, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Disposal Loss', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55665 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID=55665 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Loss_New','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Loss_New',null,'NULL',null) +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Transfer_Balance_IS', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Transfer_Balance_IS', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Transfer_Balance_IS',Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53522 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53522, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Transfer_Balance_IS', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Transfer_Balance_IS', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55666 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55666 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Transfer_Balance_IS', Description=NULL, Help=NULL WHERE AD_Column_ID=55666 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Transfer_Balance', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Transfer_Balance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Transfer_Balance',Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53560 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53560 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53560, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Transfer_Balance', ColumnSQL=NULL, DefaultValue='Y', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Transfer_Balance', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55667 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55667 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Transfer_Balance', Description=NULL, Help=NULL WHERE AD_Column_ID=55667 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55668 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55668 +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55668 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Split_Percent','NUMERIC',null,'1') +; + +-- Jun 17, 2010 3:29:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53537, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_Start', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Period_Start', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55669 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55669 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_Start', Description=NULL, Help=NULL WHERE AD_Column_ID=55669 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Period_Start','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53538, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Period_End', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Period_End', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55670 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55670 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Period_End', Description=NULL, Help=NULL WHERE AD_Column_ID=55670 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Period_End','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Revenue_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Revenue_Str',Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53561 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53561, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Disposal_Revenue_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55671 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55671 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Revenue_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55671 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Revenue_Str','VARCHAR(40)',null,'NULL') +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Revenue_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Disposal Revenue', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Disposal Revenue',Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53562 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53562 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53562, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55672 +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55672 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:32 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Revenue_New','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Revenue_New',null,'NULL',null) +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Disposal_Revenue FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55673 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55673 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Disposal_Loss_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Disposal_Loss_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Disposal_Loss_Str',Updated=TO_TIMESTAMP('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53563 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53563, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Disposal_Loss_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55674 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55674 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Loss_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55674 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Disposal_Loss_Str','VARCHAR(40)',null,'NULL') +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55675 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','UpdatedBy','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55676 +; + +-- Jun 17, 2010 3:29:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue='N', Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55677 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55677 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','Processing','CHAR(1)',null,'N') +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET Processing='N' WHERE Processing IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue='N', Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55678 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','Processed','CHAR(1)',null,'N') +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET Processed='N' WHERE Processed IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='A', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55679 +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:29:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','PostingType',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55680 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','IsActive','CHAR(1)',null,'Y') +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Transfer SET IsActive='Y' WHERE IsActive IS NULL +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@#Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55681 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','DateAcct','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55682 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','CreatedBy','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55683 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=233, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=7, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55684 +; + +-- Jun 17, 2010 3:29:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','C_Period_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description='Accounting Schema selection', EntityType='D', Help=NULL, IsActive='Y', Name='C_AcctSchema', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 265, AD_Display = 2471, AD_Key = 2463, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 136 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=136, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55685 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','C_AcctSchema_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','C_AcctSchema_ID',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue='@SQL=SELECT A_Disposal_Loss FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55686 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55686 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Depreciation Exp Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Depreciation Exp Acct',Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53564 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53564 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53564, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Depreciation Exp Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55687 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55687 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Depreciation_Acct_New','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Depreciation_Acct_New',null,'NULL',null) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Transfer.asset', ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=80, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55688 +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:29:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_ID',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='A_Asset_Acct_Str', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='A_Asset_Acct_Str',Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53565 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53565 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53565, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Acct_Str', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55689 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55689 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Acct_Str', Description=NULL, Help=NULL WHERE AD_Column_ID=55689 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_Acct_Str','VARCHAR(40)',null,'NULL') +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct_New', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='New Accum Depreciation Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='New Accum Depreciation Acct',Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53566 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53566 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53566, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct_New', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='New Accum Depreciation Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55690 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55690 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Accumdepreciation_Acct_New','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Accumdepreciation_Acct_New',null,'NULL',null) +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumdepreciation_Acct_Str', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Old Asset Cost Acct', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Old Asset Cost Acct',Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53567 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53567 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53567, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct_Str', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=40, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Old Asset Cost Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55691 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55691 +; + +-- Jun 17, 2010 3:29:37 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55691 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Accumdepreciation_Acct_Str','VARCHAR(40)',null,'NULL') +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53128, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55692 +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55692 +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55692 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_transfer','A_Asset_Acct','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54216,0,'A_Accumdepreciation_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Accumulated Depreciation Account (new)','Accumulated Depreciation Account (new)',TO_TIMESTAMP('2010-06-17 15:29:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:38 PM CDT +-- Generated Central ID for Fixed Asset +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=54216 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) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59339,54216,0,25,53128,'A_Accumdepreciation_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation Account (new)',TO_TIMESTAMP('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59339 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) +; + +-- Jun 17, 2010 3:29:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Accumdepreciation_New_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:29:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54217,0,'A_Depreciation_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Depreciation Acct (new)','Depreciation Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:40 PM CDT +-- Generated Central ID for Fixed Asset +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=54217 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) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59340,54217,0,25,53128,'A_Depreciation_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:40','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:40','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59340 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) +; + +-- Jun 17, 2010 3:29:41 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Depreciation_New_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59341,54196,0,25,53128,'A_Disposal_Loss_Acct',TO_TIMESTAMP('2010-06-17 15:29:41','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','N','Disposal Loss Acct',TO_TIMESTAMP('2010-06-17 15:29:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59341 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) +; + +-- Jun 17, 2010 3:29:42 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Disposal_Loss_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54218,0,'A_Disposal_Revenue_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:42','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Revenue Acct (new)','Disposal Revenue Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:43 PM CDT +-- Generated Central ID for Fixed Asset +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=54218 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) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59342,54218,0,25,53128,'A_Disposal_Revenue_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:43','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Revenue Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59342 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) +; + +-- Jun 17, 2010 3:29:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Disposal_Revenue_New_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59343,54195,0,25,53128,'A_Disposal_Revenue_Acct',TO_TIMESTAMP('2010-06-17 15:29:44','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','N','A_Disposal_Revenue',TO_TIMESTAMP('2010-06-17 15:29:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59343 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) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Disposal_Revenue_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54219,0,'A_Disposal_Loss_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Disposal Loss Acct (new)','Disposal Loss Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:45 PM CDT +-- Generated Central ID for Fixed Asset +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=54219 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) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59344,54219,0,25,53128,'A_Disposal_Loss_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59344 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) +; + +-- Jun 17, 2010 3:29:46 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Disposal_Loss_New_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:29:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54220,0,'A_Asset_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:46','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Acct (new)','Asset Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:47 PM CDT +-- Generated Central ID for Fixed Asset +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=54220 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) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59345,54220,0,25,53128,'A_Asset_New_Acct',TO_TIMESTAMP('2010-06-17 15:29:47','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Acct (new)',TO_TIMESTAMP('2010-06-17 15:29:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59345 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) +; + +-- Jun 17, 2010 3:29:48 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Asset_New_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:29:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53128,50022,'1','teo_sarca',0,TO_TIMESTAMP('2010-06-17 15:29:48','YYYY-MM-DD HH24:MI:SS'),0,'10000002',0,'D','D','Y','N','N','N',0,'Process_Asset_Transfer',0,'R',TO_TIMESTAMP('2010-06-17 15:29:48','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Transfer',0,0,'P',0) +; + +-- Jun 17, 2010 3:29:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50022 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:29:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50108,50022,'D',0,TO_TIMESTAMP('2010-06-17 15:29:49','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2010-06-17 15:29:49','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50108 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50109,50022,'D',0,TO_TIMESTAMP('2010-06-17 15:29:50','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2010-06-17 15:29:50','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50109 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50110,50022,'D',0,TO_TIMESTAMP('2010-06-17 15:29:53','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2010-06-17 15:29:53','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50110 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50109,50082,50110,TO_TIMESTAMP('2010-06-17 15:29:54','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:29:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50111,50022,'Z',0,TO_TIMESTAMP('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:29:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50111 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:29:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50110,50083,50111,TO_TIMESTAMP('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_TIMESTAMP('2010-06-17 15:29:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50108,50084,50111,TO_TIMESTAMP('2010-06-17 15:29:56','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:29:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:29:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50111, IsValid='Y',Updated=TO_TIMESTAMP('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50022 +; + +-- Jun 17, 2010 3:30:00 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53212,50022,'1',TO_TIMESTAMP('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Transfer Process','Y',0,0,TO_TIMESTAMP('2010-06-17 15:29:57','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Transfer_Process',NULL) +; + +-- Jun 17, 2010 3:30:00 PM CDT +-- Generated Central ID for Fixed Asset +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=53212 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) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59346,287,0,53212,28,135,53128,'DocAction',TO_TIMESTAMP('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,'CO','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59346 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) +; + +-- Jun 17, 2010 3:30:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59347,289,0,17,131,53128,'DocStatus',TO_TIMESTAMP('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,'DR','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_TIMESTAMP('2010-06-17 15:30:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59347 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) +; + +-- Jun 17, 2010 3:30:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59348,1308,0,28,234,53128,'Posted',TO_TIMESTAMP('2010-06-17 15:30:03','YYYY-MM-DD HH24:MI:SS'),0,'Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','Y','N','Y','Posted',TO_TIMESTAMP('2010-06-17 15:30:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59348 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) +; + +-- Jun 17, 2010 3:30:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN Posted CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59349,53641,0,17,53277,53128,'A_CapvsExp',TO_TIMESTAMP('2010-06-17 15:30:04','YYYY-MM-DD HH24:MI:SS'),0,'''Cap''','D',3,'Y','N','N','N','N','Y','N','N','Y','N','Y','Capital/Expense',TO_TIMESTAMP('2010-06-17 15:30:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59349 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) +; + +-- Jun 17, 2010 3:30:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_CapvsExp VARCHAR(3) DEFAULT 'Cap' NOT NULL +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59350,54175,0,22,53128,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-17 15:30:10','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:30:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59350 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) +; + +-- Jun 17, 2010 3:30:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN A_Accumulated_Depr_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59351,290,0,10,53128,'DocumentNo',TO_TIMESTAMP('2010-06-17 15:30:12','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Document No',TO_TIMESTAMP('2010-06-17 15:30:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59351 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) +; + +-- Jun 17, 2010 3:30:17 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN DocumentNo VARCHAR(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59352,265,0,15,53128,'org.compiere.FA.CalloutA_Asset_Transfer.dateDoc','DateDoc',TO_TIMESTAMP('2010-06-17 15:30:17','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','N','N','N','N','N','Y','N','Y','Document Date',TO_TIMESTAMP('2010-06-17 15:30:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59352 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) +; + +-- Jun 17, 2010 3:30:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Transfer ADD COLUMN DateDoc TIMESTAMP DEFAULT NULL +; + +-- Jun 17, 2010 3:30:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53327,53128,53115,NULL,TO_TIMESTAMP('2010-06-17 15:30:18','YYYY-MM-DD HH24:MI:SS'),0,'D','N','This table holds all necessary information to process asset transfers and create the appropriate entry','Y','N','N','Y','N','Y','N','N','Asset Change account','N',10,0,TO_TIMESTAMP('2010-06-17 15:30:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53327 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:30:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55689,50001,59182,0,53327,TO_TIMESTAMP('2010-06-17 15:30:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Acct_Str',0,0,TO_TIMESTAMP('2010-06-17 15:30:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59182 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) +; + +-- Jun 17, 2010 3:30:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55664,50001,59183,0,53327,TO_TIMESTAMP('2010-06-17 15:30:33','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Depreciation_Acct_Str',0,0,TO_TIMESTAMP('2010-06-17 15:30:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59183 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) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55674,50001,59184,0,53327,TO_TIMESTAMP('2010-06-17 15:30:34','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Loss_Str',0,0,TO_TIMESTAMP('2010-06-17 15:30:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59184 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) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55671,50001,59185,0,53327,TO_TIMESTAMP('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Revenue_Str',0,0,TO_TIMESTAMP('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59185 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) +; + +-- Jun 17, 2010 3:30:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55670,59186,0,53327,TO_TIMESTAMP('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','Y','A_Period_End',0,0,TO_TIMESTAMP('2010-06-17 15:30:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59186 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) +; + +-- Jun 17, 2010 3:30:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55669,59187,0,53327,TO_TIMESTAMP('2010-06-17 15:30:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Period_Start',0,0,TO_TIMESTAMP('2010-06-17 15:30:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59187 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) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55667,59188,0,53327,TO_TIMESTAMP('2010-06-17 15:30:37','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','A_Transfer_Balance',0,0,TO_TIMESTAMP('2010-06-17 15:30:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59188 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) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55666,59189,0,53327,TO_TIMESTAMP('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','A_Transfer_Balance_IS',0,0,TO_TIMESTAMP('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59189 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) +; + +-- Jun 17, 2010 3:30:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55680,59190,0,53327,TO_TIMESTAMP('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','Active',0,0,TO_TIMESTAMP('2010-06-17 15:30:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59190 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) +; + +-- Jun 17, 2010 3:30:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55691,50001,59191,0,53327,TO_TIMESTAMP('2010-06-17 15:30:39','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Old Asset Cost Acct',0,0,TO_TIMESTAMP('2010-06-17 15:30:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59191 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) +; + +-- Jun 17, 2010 3:30:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55684,59192,0,53327,TO_TIMESTAMP('2010-06-17 15:30:40','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar',7,'D','The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','N','N','N','Period',0,0,TO_TIMESTAMP('2010-06-17 15:30:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59192 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) +; + +-- Jun 17, 2010 3:30:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55677,101,59193,0,53327,TO_TIMESTAMP('2010-06-17 15:30:41','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_TIMESTAMP('2010-06-17 15:30:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59193 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) +; + +-- Jun 17, 2010 3:30:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55668,59194,0,53327,TO_TIMESTAMP('2010-06-17 15:30:42','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Split Percent',0,0,TO_TIMESTAMP('2010-06-17 15:30:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59194 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) +; + +-- Jun 17, 2010 3:30:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55658,59195,0,53327,TO_TIMESTAMP('2010-06-17 15:30:43','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Transfer_ID',0,0,TO_TIMESTAMP('2010-06-17 15:30:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59195 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) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55657,59196,0,53327,TO_TIMESTAMP('2010-06-17 15:30:44','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Asset_Acct_ID',0,0,TO_TIMESTAMP('2010-06-17 15:30:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59196 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) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59350,59197,0,53327,TO_TIMESTAMP('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59197 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) +; + +-- Jun 17, 2010 3:30:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55673,59198,0,53327,TO_TIMESTAMP('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Disposal Revenue',0,0,TO_TIMESTAMP('2010-06-17 15:30:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59198 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) +; + +-- Jun 17, 2010 3:30:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55686,59199,0,53327,TO_TIMESTAMP('2010-06-17 15:30:49','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Loss on Disposal',0,0,TO_TIMESTAMP('2010-06-17 15:30:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59199 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) +; + +-- Jun 17, 2010 3:30:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55690,59200,0,53327,TO_TIMESTAMP('2010-06-17 15:30:51','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Accum Depreciation Acct',0,0,TO_TIMESTAMP('2010-06-17 15:30:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59200 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) +; + +-- Jun 17, 2010 3:30:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55662,50001,59201,0,53327,TO_TIMESTAMP('2010-06-17 15:30:52','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Asset Cost Acct',0,0,TO_TIMESTAMP('2010-06-17 15:30:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59201 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) +; + +-- Jun 17, 2010 3:30:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55687,59202,0,53327,TO_TIMESTAMP('2010-06-17 15:30:55','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Depreciation Exp Acct',0,0,TO_TIMESTAMP('2010-06-17 15:30:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59202 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) +; + +-- Jun 17, 2010 3:30:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55665,59203,0,53327,TO_TIMESTAMP('2010-06-17 15:30:56','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Disposal Loss',0,0,TO_TIMESTAMP('2010-06-17 15:30:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:30:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59203 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) +; + +-- Jun 17, 2010 3:31:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55672,59204,0,53327,TO_TIMESTAMP('2010-06-17 15:30:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','New Disposal Revenue',0,0,TO_TIMESTAMP('2010-06-17 15:30:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59204 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) +; + +-- Jun 17, 2010 3:31:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55659,59205,0,53327,TO_TIMESTAMP('2010-06-17 15:31:01','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:31:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59205 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) +; + +-- Jun 17, 2010 3:31:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55660,59206,0,53327,TO_TIMESTAMP('2010-06-17 15:31:02','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:31:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59206 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) +; + +-- Jun 17, 2010 3:31:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59351,59207,0,53327,TO_TIMESTAMP('2010-06-17 15:31:03','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_TIMESTAMP('2010-06-17 15:31:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59207 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) +; + +-- Jun 17, 2010 3:31:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59352,59208,0,53327,TO_TIMESTAMP('2010-06-17 15:31:04','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',40,0,TO_TIMESTAMP('2010-06-17 15:31:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59208 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) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55681,59209,0,53327,TO_TIMESTAMP('2010-06-17 15:31:05','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',50,0,TO_TIMESTAMP('2010-06-17 15:31:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59209 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) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55688,59210,0,53327,TO_TIMESTAMP('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',60,0,TO_TIMESTAMP('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59210 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) +; + +-- Jun 17, 2010 3:31:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55685,113,59211,0,53327,TO_TIMESTAMP('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0,'Rules for accounting',10,'D','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','Y','Y','N','N','N','N','Accounting Schema',70,0,TO_TIMESTAMP('2010-06-17 15:31:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59211 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) +; + +-- Jun 17, 2010 3:31:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59349,59212,0,53327,TO_TIMESTAMP('2010-06-17 15:31:08','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','N','Capital/Expense',80,0,TO_TIMESTAMP('2010-06-17 15:31:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59212 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) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55679,113,59213,0,53327,TO_TIMESTAMP('2010-06-17 15:31:09','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','Y','PostingType',90,0,TO_TIMESTAMP('2010-06-17 15:31:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59213 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) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59345,50001,59214,0,53327,TO_TIMESTAMP('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Asset Acct (new)',100,0,TO_TIMESTAMP('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59214 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) +; + +-- Jun 17, 2010 3:31:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55692,59215,0,53327,TO_TIMESTAMP('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Asset Acct',110,0,TO_TIMESTAMP('2010-06-17 15:31:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59215 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) +; + +-- Jun 17, 2010 3:31:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59339,59216,0,53327,TO_TIMESTAMP('2010-06-17 15:31:16','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Accumulated Depreciation Account (new)',120,0,TO_TIMESTAMP('2010-06-17 15:31:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59216 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) +; + +-- Jun 17, 2010 3:31:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55661,59217,0,53327,TO_TIMESTAMP('2010-06-17 15:31:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Accumulated Depreciation Account',130,0,TO_TIMESTAMP('2010-06-17 15:31:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59217 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) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59340,59218,0,53327,TO_TIMESTAMP('2010-06-17 15:31:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Depreciation Acct (new)',140,0,TO_TIMESTAMP('2010-06-17 15:31:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59218 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) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55663,59219,0,53327,TO_TIMESTAMP('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Depreciation Account',150,0,TO_TIMESTAMP('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59219 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) +; + +-- Jun 17, 2010 3:31:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59344,59220,0,53327,TO_TIMESTAMP('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct (new)',160,0,TO_TIMESTAMP('2010-06-17 15:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59220 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) +; + +-- Jun 17, 2010 3:31:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59341,59221,0,53327,TO_TIMESTAMP('2010-06-17 15:31:32','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','Disposal Loss Acct',170,0,TO_TIMESTAMP('2010-06-17 15:31:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59221 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) +; + +-- Jun 17, 2010 3:31:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59342,59222,0,53327,TO_TIMESTAMP('2010-06-17 15:31:37','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Disposal Revenue Acct (new)',180,0,TO_TIMESTAMP('2010-06-17 15:31:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59222 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) +; + +-- Jun 17, 2010 3:31:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59343,59223,0,53327,TO_TIMESTAMP('2010-06-17 15:31:38','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Disposal_Revenue',190,0,TO_TIMESTAMP('2010-06-17 15:31:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59223 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) +; + +-- Jun 17, 2010 3:31:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55678,101,59224,0,53327,TO_TIMESTAMP('2010-06-17 15:31:40','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',200,0,TO_TIMESTAMP('2010-06-17 15:31:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59224 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) +; + +-- Jun 17, 2010 3:31:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59347,59225,0,53327,TO_TIMESTAMP('2010-06-17 15:31:42','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',210,0,TO_TIMESTAMP('2010-06-17 15:31:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59225 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) +; + +-- Jun 17, 2010 3:31:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59346,59226,0,53327,TO_TIMESTAMP('2010-06-17 15:31:47','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',220,0,TO_TIMESTAMP('2010-06-17 15:31:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59226 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) +; + +-- Jun 17, 2010 3:31:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59348,59227,0,53327,TO_TIMESTAMP('2010-06-17 15:31:49','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',230,0,TO_TIMESTAMP('2010-06-17 15:31:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:31:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59227 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) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53116,TO_TIMESTAMP('2010-06-17 15:31:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Class','N',TO_TIMESTAMP('2010-06-17 15:31:50','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53116 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53116, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset class', ReplicationType='L', TableName='A_Asset_Class',Updated=TO_TIMESTAMP('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53269 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53269 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=54165, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53269, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Class_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset class', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59252 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59252 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset class', Description=NULL, Help=NULL WHERE AD_Column_ID=59252 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Class (A_Asset_Class_ID NUMERIC(10) NOT NULL, Description VARCHAR(10) DEFAULT NULL , CONSTRAINT A_Asset_Class_Key PRIMARY KEY (A_Asset_Class_ID)) +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=53269, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=2000, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:31:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59251 +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=59251 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:31:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_class','Description','VARCHAR(2000)',null,'NULL') +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59353,102,0,19,53269,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:31:55','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:31:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59353 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) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59354,113,0,19,53269,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59354 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) +; + +-- Jun 17, 2010 3:31:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN AD_Org_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59355,245,0,16,53269,'Created',TO_TIMESTAMP('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-17 15:31:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59355 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) +; + +-- Jun 17, 2010 3:32:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59356,246,0,18,110,53269,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:32:00','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-17 15:32:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59356 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) +; + +-- Jun 17, 2010 3:32:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59357,607,0,16,53269,'Updated',TO_TIMESTAMP('2010-06-17 15:32:05','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-17 15:32:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59357 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) +; + +-- Jun 17, 2010 3:32:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59358,608,0,18,110,53269,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:32:06','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-17 15:32:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59358 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) +; + +-- Jun 17, 2010 3:32:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59359,348,0,20,53269,'IsActive',TO_TIMESTAMP('2010-06-17 15:32:07','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:32:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59359 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) +; + +-- Jun 17, 2010 3:32:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN IsActive CHAR(1) DEFAULT NULL CHECK (IsActive IN ('Y','N')) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +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,59360,620,0,10,53269,'Value',TO_TIMESTAMP('2010-06-17 15:32:11','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','Y','N','Y','N','Y','Y','N','Y','Search Key',5,TO_TIMESTAMP('2010-06-17 15:32:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59360 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) +; + +-- Jun 17, 2010 3:32:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN Value VARCHAR(40) NOT NULL +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +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,59361,469,0,10,53269,'Name',TO_TIMESTAMP('2010-06-17 15:32:15','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',2000,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','Y','Y','N','Y','Name',10,TO_TIMESTAMP('2010-06-17 15:32:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59361 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) +; + +-- Jun 17, 2010 3:32:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN Name VARCHAR(2000) NOT NULL +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59362,54185,0,11,53269,'A_Life_Period_Min',TO_TIMESTAMP('2010-06-17 15:32:16','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','N','Y','N','N','Y','N','Y','Life periods (min)',20,TO_TIMESTAMP('2010-06-17 15:32:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59362 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) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN A_Life_Period_Min NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59363,54184,0,11,53269,'A_Life_Period_Max',TO_TIMESTAMP('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','N','Y','N','N','Y','N','Y','Life periods (max)',30,TO_TIMESTAMP('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59363 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) +; + +-- Jun 17, 2010 3:32:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN A_Life_Period_Max NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:32:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54221,0,'A_Value_2004',TO_TIMESTAMP('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Value 2004','Value 2004',TO_TIMESTAMP('2010-06-17 15:32:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:22 PM CDT +-- Generated Central ID for Fixed Asset +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=54221 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) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59364,54221,0,10,53269,'A_Value_2004',TO_TIMESTAMP('2010-06-17 15:32:22','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Value 2004',TO_TIMESTAMP('2010-06-17 15:32:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59364 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) +; + +-- Jun 17, 2010 3:32:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN A_Value_2004 VARCHAR(40) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54222,0,'A_Life_Period_2004',TO_TIMESTAMP('2010-06-17 15:32:25','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Life Periods 2004 (min)','Life Periods 2004 (min)',TO_TIMESTAMP('2010-06-17 15:32:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:26 PM CDT +-- Generated Central ID for Fixed Asset +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=54222 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) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59365,54222,0,11,53269,'A_Life_Period_2004',TO_TIMESTAMP('2010-06-17 15:32:26','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Life Periods 2004 (min)',TO_TIMESTAMP('2010-06-17 15:32:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59365 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) +; + +-- Jun 17, 2010 3:32:28 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN A_Life_Period_2004 NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54223,0,'MFX_Grupa',TO_TIMESTAMP('2010-06-17 15:32:28','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Group','Fixed Asset Group',TO_TIMESTAMP('2010-06-17 15:32:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:31 PM CDT +-- Generated Central ID for Fixed Asset +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=54223 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) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59366,54223,0,11,53269,'MFX_Grupa',TO_TIMESTAMP('2010-06-17 15:32:31','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Group',TO_TIMESTAMP('2010-06-17 15:32:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59366 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) +; + +-- Jun 17, 2010 3:32:32 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN MFX_Grupa NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54224,0,'MFX_SubGrupa',TO_TIMESTAMP('2010-06-17 15:32:32','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Subgroup','Fixed Asset SubGroup',TO_TIMESTAMP('2010-06-17 15:32:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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=54224 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) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59367,54224,0,11,53269,'MFX_SubGrupa',TO_TIMESTAMP('2010-06-17 15:32:33','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Subgroup',TO_TIMESTAMP('2010-06-17 15:32:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59367 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) +; + +-- Jun 17, 2010 3:32:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN MFX_SubGrupa NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:36 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54225,0,'MFX_Clasa',TO_TIMESTAMP('2010-06-17 15:32:34','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Class','Fixed Asset Class',TO_TIMESTAMP('2010-06-17 15:32:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:36 PM CDT +-- Generated Central ID for Fixed Asset +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=54225 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) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59368,54225,0,11,53269,'MFX_Clasa',TO_TIMESTAMP('2010-06-17 15:32:36','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Class',TO_TIMESTAMP('2010-06-17 15:32:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59368 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) +; + +-- Jun 17, 2010 3:32:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN MFX_Clasa NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54226,0,'MFX_SubClasa',TO_TIMESTAMP('2010-06-17 15:32:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Fixed Asset Subclass','Fixed Asset Subclass',TO_TIMESTAMP('2010-06-17 15:32:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:38 PM CDT +-- Generated Central ID for Fixed Asset +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=54226 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) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59369,54226,0,11,53269,'MFX_SubClasa',TO_TIMESTAMP('2010-06-17 15:32:38','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Fixed Asset Subclass',TO_TIMESTAMP('2010-06-17 15:32:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59369 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) +; + +-- Jun 17, 2010 3:32:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Class ADD COLUMN MFX_SubClasa NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:32:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53328,53269,53116,NULL,TO_TIMESTAMP('2010-06-17 15:32:39','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Class','N',10,0,TO_TIMESTAMP('2010-06-17 15:32:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53328 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:32:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59365,59228,0,53328,TO_TIMESTAMP('2010-06-17 15:32:40','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Life Periods 2004 (min)',0,0,TO_TIMESTAMP('2010-06-17 15:32:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59228 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) +; + +-- Jun 17, 2010 3:32:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59360,59229,0,53328,TO_TIMESTAMP('2010-06-17 15:32:44','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','N','N','N','N','N','Search Key',0,0,TO_TIMESTAMP('2010-06-17 15:32:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59229 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) +; + +-- Jun 17, 2010 3:32:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59364,59230,0,53328,TO_TIMESTAMP('2010-06-17 15:32:45','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','N','N','N','N','N','Value 2004',0,0,TO_TIMESTAMP('2010-06-17 15:32:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59230 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) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59353,59231,0,53328,TO_TIMESTAMP('2010-06-17 15:32:48','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:32:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59231 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) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59354,59232,0,53328,TO_TIMESTAMP('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59232 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) +; + +-- Jun 17, 2010 3:32:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59361,59233,0,53328,TO_TIMESTAMP('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',2000,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',30,0,TO_TIMESTAMP('2010-06-17 15:32:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59233 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) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59251,59234,0,53328,TO_TIMESTAMP('2010-06-17 15:32:52','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',2000,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2010-06-17 15:32:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59234 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) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59359,59235,0,53328,TO_TIMESTAMP('2010-06-17 15:32:56','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',50,0,TO_TIMESTAMP('2010-06-17 15:32:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59235 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) +; + +-- Jun 17, 2010 3:32:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59368,59236,0,53328,TO_TIMESTAMP('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Class',60,0,TO_TIMESTAMP('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59236 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) +; + +-- Jun 17, 2010 3:32:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59366,59237,0,53328,TO_TIMESTAMP('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Group',70,0,TO_TIMESTAMP('2010-06-17 15:32:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59237 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) +; + +-- Jun 17, 2010 3:32:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59369,59238,0,53328,TO_TIMESTAMP('2010-06-17 15:32:58','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Subclass',80,0,TO_TIMESTAMP('2010-06-17 15:32:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:32:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59238 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) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59367,59239,0,53328,TO_TIMESTAMP('2010-06-17 15:32:59','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Fixed Asset Subgroup',90,0,TO_TIMESTAMP('2010-06-17 15:32:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59239 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) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59363,59240,0,53328,TO_TIMESTAMP('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (max)',100,0,TO_TIMESTAMP('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59240 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) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59362,59241,0,53328,TO_TIMESTAMP('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',110,0,TO_TIMESTAMP('2010-06-17 15:33:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59241 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) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59252,59242,0,53328,TO_TIMESTAMP('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset class',0,0,TO_TIMESTAMP('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59242 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) +; + +-- Jun 17, 2010 3:33:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53117,TO_TIMESTAMP('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Funding Mode','N',TO_TIMESTAMP('2010-06-17 15:33:05','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:33:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53117 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:33:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53273,53117,'7',TO_TIMESTAMP('2010-06-17 15:33:06','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','Y','Y','N','N','N','Asset Funding Mode','L','A_FundingMode',TO_TIMESTAMP('2010-06-17 15:33:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53273 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:33:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53385,TO_TIMESTAMP('2010-06-17 15:33:10','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_FundingMode',1,'Y','N','Y','Y','A_FundingMode','N',1000000,TO_TIMESTAMP('2010-06-17 15:33:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59370,54189,0,13,53273,'A_FundingMode_ID',TO_TIMESTAMP('2010-06-17 15:33:11','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Funding Mode',TO_TIMESTAMP('2010-06-17 15:33:11','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59370 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) +; + +-- Jun 17, 2010 3:33:12 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_FundingMode (A_FundingMode_ID NUMERIC(10) NOT NULL, CONSTRAINT A_FundingMode_Key PRIMARY KEY (A_FundingMode_ID)) +; + +-- Jun 17, 2010 3:33:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59371,102,0,19,53273,129,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:33:12','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:33:12','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59371 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) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59372,113,0,19,53273,104,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59372 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) +; + +-- Jun 17, 2010 3:33:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59373,245,0,16,53273,'Created',TO_TIMESTAMP('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-17 15:33:16','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59373 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) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59374,246,0,18,110,53273,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59374 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) +; + +-- Jun 17, 2010 3:33:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59375,348,0,20,53273,'IsActive',TO_TIMESTAMP('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:33:18','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59375 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) +; + +-- Jun 17, 2010 3:33:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59376,607,0,16,53273,'Updated',TO_TIMESTAMP('2010-06-17 15:33:19','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-17 15:33:19','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59376 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) +; + +-- Jun 17, 2010 3:33:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59377,608,0,18,110,53273,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:33:20','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-17 15:33:20','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59377 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) +; + +-- Jun 17, 2010 3:33:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +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,59378,620,0,10,53273,'Value',TO_TIMESTAMP('2010-06-17 15:33:21','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',30,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','Y','N','Y','N','N','Y','N','Y','Search Key',1,TO_TIMESTAMP('2010-06-17 15:33:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59378 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) +; + +-- Jun 17, 2010 3:33:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN Value VARCHAR(30) NOT NULL +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +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,59379,469,0,10,53273,'Name',TO_TIMESTAMP('2010-06-17 15:33:23','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',20,TO_TIMESTAMP('2010-06-17 15:33:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59379 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) +; + +-- Jun 17, 2010 3:33:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN Name VARCHAR(60) NOT NULL +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59380,275,0,10,53273,'Description',TO_TIMESTAMP('2010-06-17 15:33:25','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:33:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59380 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) +; + +-- Jun 17, 2010 3:33:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:33:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53329,53273,53117,NULL,TO_TIMESTAMP('2010-06-17 15:33:27','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','N','N','N','Funding Mode','N',10,0,TO_TIMESTAMP('2010-06-17 15:33:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:28 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53329 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:33:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59371,59243,0,53329,TO_TIMESTAMP('2010-06-17 15:33:28','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:33:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59243 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) +; + +-- Jun 17, 2010 3:33:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59372,59244,0,53329,TO_TIMESTAMP('2010-06-17 15:33:31','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:33:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59244 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) +; + +-- Jun 17, 2010 3:33:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59379,59245,0,53329,TO_TIMESTAMP('2010-06-17 15:33:35','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',30,0,TO_TIMESTAMP('2010-06-17 15:33:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59245 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) +; + +-- Jun 17, 2010 3:33:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59380,59246,0,53329,TO_TIMESTAMP('2010-06-17 15:33:38','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2010-06-17 15:33:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59246 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) +; + +-- Jun 17, 2010 3:33:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59375,59247,0,53329,TO_TIMESTAMP('2010-06-17 15:33:39','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',50,0,TO_TIMESTAMP('2010-06-17 15:33:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59247 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) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59378,59248,0,53329,TO_TIMESTAMP('2010-06-17 15:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',30,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',60,0,TO_TIMESTAMP('2010-06-17 15:33:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59248 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) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59370,59249,0,53329,TO_TIMESTAMP('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','Asset Funding Mode',0,0,TO_TIMESTAMP('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59249 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) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53274,53117,'3',TO_TIMESTAMP('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','Y','Y','N','N','N','Asset Funding Mode Accounting','L','A_FundingMode_Acct',TO_TIMESTAMP('2010-06-17 15:33:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53274 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:33:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53386,TO_TIMESTAMP('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_FundingMode_Acct',1,'Y','N','Y','Y','A_FundingMode_Acct','N',1000000,TO_TIMESTAMP('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59381,102,0,19,53274,129,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:33:51','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59381 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) +; + +-- Jun 17, 2010 3:33:53 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_FundingMode_Acct (AD_Client_ID NUMERIC(10) NOT NULL) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59382,113,0,19,53274,104,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:33:53','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:33:53','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59382 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) +; + +-- Jun 17, 2010 3:33:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59383,245,0,16,53274,'Created',TO_TIMESTAMP('2010-06-17 15:33:54','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-17 15:33:54','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59383 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) +; + +-- Jun 17, 2010 3:33:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59384,246,0,18,110,53274,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:33:59','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-17 15:33:59','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59384 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) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59385,348,0,20,53274,'IsActive',TO_TIMESTAMP('2010-06-17 15:34:00','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:34:00','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59385 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) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59386,607,0,16,53274,'Updated',TO_TIMESTAMP('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59386 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) +; + +-- Jun 17, 2010 3:34:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59387,608,0,18,110,53274,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-17 15:34:01','YYYY-MM-DD HH24:MI:SS'),0,1) +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59387 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) +; + +-- Jun 17, 2010 3:34:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59388,54189,0,30,53274,'A_FundingMode_ID',TO_TIMESTAMP('2010-06-17 15:34:03','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Asset Funding Mode',TO_TIMESTAMP('2010-06-17 15:34:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59388 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) +; + +-- Jun 17, 2010 3:34:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN A_FundingMode_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59389,181,0,19,53274,'C_AcctSchema_ID',TO_TIMESTAMP('2010-06-17 15:34:04','YYYY-MM-DD HH24:MI:SS'),0,'Rules for accounting','D',10,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','N','N','N','N','Y','Y','N','Y','N','N','Accounting Schema',TO_TIMESTAMP('2010-06-17 15:34:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59389 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) +; + +-- Jun 17, 2010 3:34:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN C_AcctSchema_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54227,0,'A_FundingMode_Acct',TO_TIMESTAMP('2010-06-17 15:34:05','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Funding Mode Account','Funding Mode Acct',TO_TIMESTAMP('2010-06-17 15:34:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:08 PM CDT +-- Generated Central ID for Fixed Asset +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=54227 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) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59390,54227,0,25,53274,'A_FundingMode_Acct',TO_TIMESTAMP('2010-06-17 15:34:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Funding Mode Account',TO_TIMESTAMP('2010-06-17 15:34:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59390 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) +; + +-- Jun 17, 2010 3:34:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_FundingMode_Acct ADD COLUMN A_FundingMode_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53330,53274,53117,NULL,TO_TIMESTAMP('2010-06-17 15:34:10','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','Y','Y','N','N','N','N','Accounting','N',20,1,TO_TIMESTAMP('2010-06-17 15:34:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53330 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If a asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Asset Group', Processing='N', WindowType='M',Updated=TO_TIMESTAMP('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=252 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=252, AccessLevel='3', Description='Group of Assets', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Group', ReplicationType='L', TableName='A_Asset_Group',Updated=TO_TIMESTAMP('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=542 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8114 +; + +-- Jun 17, 2010 3:34:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8105 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8106 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8107 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1941, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOwned', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset is owned by the organization', EntityType='D', FieldLength=1, Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Owned', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8108 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8109 +; + +-- Jun 17, 2010 3:34:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8111 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8112 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8113 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1938, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDepreciated', ColumnSQL=NULL, DefaultValue=NULL, Description='The asset will be depreciated', EntityType='D', FieldLength=1, Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciate', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8115 +; + +-- Jun 17, 2010 3:34:17 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8116 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8117 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsOneAssetPerUOM', Description='Create one asset per UOM', EntityType='D', Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', IsActive='Y', Name='One Asset Per UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='One Asset Per UOM',Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2727 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2727 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2727, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOneAssetPerUOM', ColumnSQL=NULL, DefaultValue=NULL, Description='Create one asset per UOM', EntityType='D', FieldLength=1, Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='One Asset Per UOM', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13602 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsCreateAsActive', Description='Create Asset and activate it', EntityType='D', Help='You may want to consider not to automatically make the asset active if you need to get some additional information', IsActive='Y', Name='Create As Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Active',Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2754 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2754 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2754, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsCreateAsActive', ColumnSQL=NULL, DefaultValue='Y', Description='Create Asset and activate it', EntityType='D', FieldLength=1, Help='You may want to consider not to automatically make the asset active if you need to get some additional information', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Create As Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13707 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsTrackIssues', Description='Enable tracking issues for this asset', EntityType='D', Help='Issues created by automatic Error Reporting', IsActive='Y', Name='Track Issues', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Track Issues',Updated=TO_TIMESTAMP('2010-06-17 15:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2956 +; + +-- Jun 17, 2010 3:34:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2956 +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=2956, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=542, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsTrackIssues', ColumnSQL=NULL, DefaultValue='N', Description='Enable tracking issues for this asset', EntityType='D', FieldLength=1, Help='Issues created by automatic Error Reporting', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Track Issues', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14929 +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group','IsTrackIssues','CHAR(1)',null,'N') +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group SET IsTrackIssues='N' WHERE IsTrackIssues IS NULL +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group','IsTrackIssues',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59391,54165,0,30,53358,542,'A_Asset_Class_ID',TO_TIMESTAMP('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_TIMESTAMP('2010-06-17 15:34:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59391 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) +; + +-- Jun 17, 2010 3:34:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD COLUMN A_Asset_Class_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='IsDefault', Description='Default value', EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', IsActive='Y', Name='Default', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Default',Updated=TO_TIMESTAMP('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1103 +; + +-- Jun 17, 2010 3:34:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1103 +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59392,1103,0,20,542,'IsDefault',TO_TIMESTAMP('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),0,'''N''','Default value','D',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','N','N','N','N','Y','N','N','Y','N','Y','Default',TO_TIMESTAMP('2010-06-17 15:34:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59392 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) +; + +-- Jun 17, 2010 3:34:23 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD COLUMN IsDefault CHAR(1) DEFAULT 'N' CHECK (IsDefault IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:34:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59393,54170,0,19,542,'A_Asset_Type_ID',TO_TIMESTAMP('2010-06-17 15:34:23','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Type',TO_TIMESTAMP('2010-06-17 15:34:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59393 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) +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group ADD COLUMN A_Asset_Type_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=542, AD_Window_ID=252, CommitWarning=NULL, Description='Group of Assets', EntityType='D', HasTree='N', Help='The group of assets determines default accounts. If a asset group is selected in the product category, assets are created when delivering the asset.', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Asset Group', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=452 +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=452 +; + +-- Jun 17, 2010 3:34:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8114, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6189 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,14929,59250,0,452,TO_TIMESTAMP('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),0,'Enable tracking issues for this asset',1,'D','Issues created by automatic Error Reporting','Y','Y','N','N','N','N','N','Track Issues',0,0,TO_TIMESTAMP('2010-06-17 15:34:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59250 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) +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8113, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6188 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8110, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6186 +; + +-- Jun 17, 2010 3:34:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8105, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=30, SortNo=1,Updated=TO_TIMESTAMP('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6182 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59392,59251,0,452,TO_TIMESTAMP('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),0,'Default value',1,'D','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','Y','Default',40,0,TO_TIMESTAMP('2010-06-17 15:34:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59251 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) +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8106, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6183 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8107, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6184 +; + +-- Jun 17, 2010 3:34:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8111, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6187 +; + +-- Jun 17, 2010 3:34:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59393,59252,0,452,TO_TIMESTAMP('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Asset Type',80,0,TO_TIMESTAMP('2010-06-17 15:34:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59252 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) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59391,59253,0,452,TO_TIMESTAMP('2010-06-17 15:34:33','YYYY-MM-DD HH24:MI:SS'),0,30,'@A_Asset_Type_ID@=1','D','Y','Y','Y','N','N','N','N','Asset class',90,0,TO_TIMESTAMP('2010-06-17 15:34:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59253 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) +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8108, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The asset is owned by the organization', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The asset may not be in possession, but the asset is legally owned by the organization', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Owned', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6185 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=8115, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='The asset will be depreciated', DisplayLength=1, DisplayLogic='@IsOwned@=Y', EntityType='D', Help='The asset is used internally and will be depreciated', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Depreciate', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6190 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13602, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Create one asset per UOM', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='If selected, one asset per UOM is created, otherwise one asset with the quantity received/shipped. If you have multiple lines, one asset is created per line.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='One Asset Per UOM', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11524 +; + +-- Jun 17, 2010 3:34:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=13707, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=452, AD_Val_Rule_ID=NULL, Description='Create Asset and activate it', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='You may want to consider not to automatically make the asset active if you need to get some additional information', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Create As Active', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11620 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=252, AccessLevel='7', Description=NULL, EntityType='D', Help='This table holds the accounting setup for each fixed asset group. Settings include account numbers to be used in depreciation entries as well depreciation calculation methods', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Group Accounting', ReplicationType='L', TableName='A_Asset_Group_Acct',Updated=TO_TIMESTAMP('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53130 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53130 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_Acct_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Group Accounting', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group Accounting',Updated=TO_TIMESTAMP('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53587 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53587 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53587, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_Acct_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group Accounting', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55754 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55754 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Group Accounting', Description=NULL, Help=NULL WHERE AD_Column_ID=55754 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55755 +; + +-- Jun 17, 2010 3:34:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55756 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1929, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Group of Assets', EntityType='D', FieldLength=22, Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Group', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55757 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53530, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55758 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55758 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55758 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53473, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Depreciation', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55759 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55759 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55759 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_ID',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53531, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53256, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Period', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55760 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55760 +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Period', Description=NULL, Help=NULL WHERE AD_Column_ID=55760 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Manual_Period','VARCHAR(2)',null,'NULL') +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53543, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Variable_Perc', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Variable Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55761 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55761 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Variable Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55761 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53540, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Loss', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Loss on Disposal', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55762 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID=55762 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55763 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53541, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Split_Percent', ColumnSQL=NULL, DefaultValue='1', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Split Percent', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55764 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55764 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Split Percent', Description=NULL, Help=NULL WHERE AD_Column_ID=55764 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Split_Percent','NUMERIC',null,'1') +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group_Acct SET A_Split_Percent=1 WHERE A_Split_Percent IS NULL +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53542, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Depexp_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Expense Offs', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55765 +; + +-- Jun 17, 2010 3:34:42 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID=55765 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53533, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55766 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55766 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53534, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cost_Offset', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Cost Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55767 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55767 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53509, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53259, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Cal_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Reval_Cal_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55768 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55768 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Reval_Cal_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55768 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Reval_Cal_Method','VARCHAR(22)',null,'NULL') +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53535, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Prior', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Prior Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55769 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55769 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53536, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Reval_Accumdep_Offset_Cur', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Revaluation Accumulated Depreciation Offset for Current Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55770 +; + +-- Jun 17, 2010 3:34:43 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID=55770 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53539, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Revenue', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Disposal Revenue', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55771 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID=55771 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1947, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.useLife', ColumnName='UseLifeYears', ColumnSQL=NULL, DefaultValue=NULL, Description='Years of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Years', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55772 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Years', Description='Years of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55772 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1946, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.feature.UseLifeImpl$Callout.useLife', ColumnName='UseLifeMonths', ColumnSQL=NULL, DefaultValue='0', Description='Months of the usable life of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Usable Life - Months', ReadOnlyLogic=NULL, VFormat=NULL, ValueMin='0', Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55773 +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Usable Life - Months', Description='Months of the usable life of the asset', Help=NULL WHERE AD_Column_ID=55773 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','UseLifeMonths','NUMERIC(10)',null,'0') +; + +-- Jun 17, 2010 3:34:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55774 +; + +-- Jun 17, 2010 3:34:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55775 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55776 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55776 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55777 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Group_Acct SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55778 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53474, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53264, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DepreciationType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='DepreciationType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55779 +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='DepreciationType', Description=NULL, Help=NULL WHERE AD_Column_ID=55779 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','DepreciationType','VARCHAR(10)',null,'NULL') +; + +-- Jun 17, 2010 3:34:46 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','DepreciationType',null,'NULL',null) +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55780 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55781 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53585, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53267, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ConventionType', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='ConventionType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55782 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='ConventionType', Description=NULL, Help=NULL WHERE AD_Column_ID=55782 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','ConventionType','VARCHAR(10)',null,null) +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','ConventionType',null,'NULL',null) +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53532, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposal_Gain', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposal_Gain', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55783 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55783 +; + +-- Jun 17, 2010 3:34:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposal_Gain', Description=NULL, Help=NULL WHERE AD_Column_ID=55783 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53481, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53265, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutFA.Table_Period', ColumnName='A_Depreciation_Table_Header_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Table_Header_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55784 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55784 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Table_Header_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55784 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53545, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Manual_Amount', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Depreciation_Manual_Amount', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55785 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55785 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Depreciation_Manual_Amount', Description=NULL, Help=NULL WHERE AD_Column_ID=55785 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53588, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53362, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Calc_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Calculation Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55786 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55786 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55786 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Calc_Type','VARCHAR(10)',null,null) +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Calc_Type',null,'NULL',null) +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53569, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53268, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Spread_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Spread Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55787 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55787 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Spread Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55787 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53548, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Accumdepreciation_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accumulated Depreciation Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55788 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55788 +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Accumulated Depreciation Account', Description=NULL, Help=NULL WHERE AD_Column_ID=55788 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Accumdepreciation_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:34:48 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Accumdepreciation_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53549, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=53130, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset Acct', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55789 +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55789 +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55789 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Asset_Acct','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:34:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_group_acct','A_Asset_Acct',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59394,54196,0,25,53130,'A_Disposal_Loss_Acct',TO_TIMESTAMP('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Loss Acct',TO_TIMESTAMP('2010-06-17 15:34:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59394 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) +; + +-- Jun 17, 2010 3:34:50 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Disposal_Loss_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59395,54197,0,25,53130,'A_Reval_Depexp_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:34:50','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Depexp Offset Acct',TO_TIMESTAMP('2010-06-17 15:34:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59395 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) +; + +-- Jun 17, 2010 3:34:51 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Reval_Depexp_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59396,54191,0,25,53130,'A_Reval_Cost_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:34:51','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Prior Acct',TO_TIMESTAMP('2010-06-17 15:34:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59396 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) +; + +-- Jun 17, 2010 3:34:53 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Reval_Cost_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59397,54192,0,25,53130,'A_Reval_Cost_Offset_Acct',TO_TIMESTAMP('2010-06-17 15:34:53','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Reval Cost Offset Acct',TO_TIMESTAMP('2010-06-17 15:34:53','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59397 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) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Reval_Cost_Offset_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59398,54193,0,25,53130,'A_Reval_Adep_Offset_Prior_Acct',TO_TIMESTAMP('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Prior',TO_TIMESTAMP('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59398 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) +; + +-- Jun 17, 2010 3:34:54 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Reval_Adep_Offset_Prior_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59399,54194,0,25,53130,'A_Reval_Adep_Offset_Cur_Acct',TO_TIMESTAMP('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Reval_Accumdep_Offset_Cur',TO_TIMESTAMP('2010-06-17 15:34:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59399 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) +; + +-- Jun 17, 2010 3:34:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Reval_Adep_Offset_Cur_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59400,54195,0,25,53130,'A_Disposal_Revenue_Acct',TO_TIMESTAMP('2010-06-17 15:34:55','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Disposal_Revenue',TO_TIMESTAMP('2010-06-17 15:34:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59400 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) +; + +-- Jun 17, 2010 3:34:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Disposal_Revenue_Acct NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59401,54190,0,25,53130,'A_Disposal_Gain_Acct',TO_TIMESTAMP('2010-06-17 15:34:57','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Disposal Gain Acct',TO_TIMESTAMP('2010-06-17 15:34:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59401 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) +; + +-- Jun 17, 2010 3:34:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Disposal_Gain_Acct NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59402,53544,0,18,53362,53130,'A_Depreciation_Method_ID',TO_TIMESTAMP('2010-06-17 15:34:59','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method',TO_TIMESTAMP('2010-06-17 15:34:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59402 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) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_Method_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59403,54200,0,18,53267,53130,'A_Depreciation_Conv_F_ID',TO_TIMESTAMP('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Convention (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59403 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) +; + +-- Jun 17, 2010 3:35:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_Conv_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59404,53546,0,18,53267,53130,'A_Depreciation_Conv_ID',TO_TIMESTAMP('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Convention Type',TO_TIMESTAMP('2010-06-17 15:35:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59404 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) +; + +-- Jun 17, 2010 3:35:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_Conv_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59405,54198,0,18,53362,53130,'A_Depreciation_Method_F_ID',TO_TIMESTAMP('2010-06-17 15:35:03','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Method (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59405 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) +; + +-- Jun 17, 2010 3:35:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_Method_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59406,54201,0,22,53130,'A_Depreciation_Variable_Perc_F',TO_TIMESTAMP('2010-06-17 15:35:04','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Variable Percent (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59406 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) +; + +-- Jun 17, 2010 3:35:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_Variable_Perc_F NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59407,54199,0,18,53264,53130,'A_Depreciation_F_ID',TO_TIMESTAMP('2010-06-17 15:35:06','YYYY-MM-DD HH24:MI:SS'),0,NULL,'U',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59407 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) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN A_Depreciation_F_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59408,54178,0,11,53130,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeYears_F',TO_TIMESTAMP('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59408 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) +; + +-- Jun 17, 2010 3:35:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN UseLifeYears_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59409,54179,0,11,53130,'org.compiere.FA.feature.UseLifeImpl$Callout.useLife','UseLifeMonths_F',TO_TIMESTAMP('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-17 15:35:07','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59409 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) +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Group_Acct ADD COLUMN UseLifeMonths_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55757, AD_Table_ID=53130, AD_Window_ID=252, CommitWarning=NULL, Description='Setup for Group Accounts', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='Y', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Group Account', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53165 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55754, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group Accounting', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56050 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56050 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55786, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calculation Type', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56063 +; + +-- Jun 17, 2010 3:35:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56063 +; + +-- Jun 17, 2010 3:35:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59401,59254,0,53165,TO_TIMESTAMP('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),0,0,'D','Y','Y','N','N','N','N','N','Disposal Gain Acct',0,0,TO_TIMESTAMP('2010-06-17 15:35:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59254 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) +; + +-- Jun 17, 2010 3:35:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55783,59255,0,53165,TO_TIMESTAMP('2010-06-17 15:35:10','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Disposal_Gain',0,0,TO_TIMESTAMP('2010-06-17 15:35:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59255 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) +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55755, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56052 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55756, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56053 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55757, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Group of Assets', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Group', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56054 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55763, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56055 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55777, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56056 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55759, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y +', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56051 +; + +-- Jun 17, 2010 3:35:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56051 +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59407,59256,0,53165,TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','U','Y','Y','Y','N','N','N','Y','Depreciation (fiscal)',70,0,TO_TIMESTAMP('2010-06-17 15:35:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59256 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) +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55785, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@DepreciationType@=1000006', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Amount', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56058 +; + +-- Jun 17, 2010 3:35:15 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56058 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55784, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@DepreciationType@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Table_Header_ID', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56059 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56059 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55760, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@DepreciationType@=1000006|@DepreciationType@=1000007', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Depreciation_Manual_Period', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56060 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56060 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55761, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=1000010|@A_Depreciation_ID@=1000022', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Variable Percent', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56061 +; + +-- Jun 17, 2010 3:35:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56061 +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59406,59257,0,53165,TO_TIMESTAMP('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_Depreciation_F_ID@=1000005|@A_Depreciation_F_ID@=1000010|@A_Depreciation_F_ID@=1000022','D','Y','Y','Y','N','N','N','Y','Variable Percent (fiscal)',120,0,TO_TIMESTAMP('2010-06-17 15:35:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59257 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) +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55787, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@A_Depreciation_Manual_Period@=YR', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Spread Type', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56062 +; + +-- Jun 17, 2010 3:35:20 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56062 +; + +-- Jun 17, 2010 3:35:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59402,59258,0,53165,TO_TIMESTAMP('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),0,10,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Depreciation Method',140,0,TO_TIMESTAMP('2010-06-17 15:35:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59258 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) +; + +-- Jun 17, 2010 3:35:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59405,59259,0,53165,TO_TIMESTAMP('2010-06-17 15:35:21','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Method (fiscal)',150,0,TO_TIMESTAMP('2010-06-17 15:35:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59259 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) +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55782, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='ConventionType', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56064 +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56064 +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59404,59260,0,53165,TO_TIMESTAMP('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Convention Type',170,0,TO_TIMESTAMP('2010-06-17 15:35:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59260 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) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55779, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='DepreciationType', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56057 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56057 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59403,59261,0,53165,TO_TIMESTAMP('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Depreciation Convention (fiscal)',190,0,TO_TIMESTAMP('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59261 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) +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55764, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Split Percent', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56065 +; + +-- Jun 17, 2010 3:35:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56065 +; + +-- Jun 17, 2010 3:35:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55772, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Years of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Years', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56066 +; + +-- Jun 17, 2010 3:35:25 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56066 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59408,59262,0,53165,TO_TIMESTAMP('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Years (fiscal)',220,0,TO_TIMESTAMP('2010-06-17 15:35:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59262 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) +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55773, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='Months of the usable life of the asset', DisplayLength=22, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Usable Life - Months', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56067 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56067 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55771, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Disposal Revenue', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56073 +; + +-- Jun 17, 2010 3:35:26 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56073 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59409,59263,0,53165,TO_TIMESTAMP('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),0,22,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','Y','Use Life - Months (fiscal)',250,0,TO_TIMESTAMP('2010-06-17 15:35:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59263 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) +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55762, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Loss on Disposal', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56074 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56074 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55776, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56068 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56068 +; + +-- Jun 17, 2010 3:35:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55778, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56069 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55789, AD_FieldGroup_ID=50001, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Acct', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56070 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56070 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55767, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Current Year', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56076 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56076 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55788, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accumulated Depreciation Account', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56071 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56071 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55766, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Cost Offset for Prior Year', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56077 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56077 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55758, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Account', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56072 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56072 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55770, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Current Year', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56078 +; + +-- Jun 17, 2010 3:35:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56078 +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59400,59264,0,53165,TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','A_Disposal_Revenue',350,0,TO_TIMESTAMP('2010-06-17 15:35:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59264 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) +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55769, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Accumulated Depreciation Offset for Prior Year', SeqNo=360, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56079 +; + +-- Jun 17, 2010 3:35:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56079 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59394,59265,0,53165,TO_TIMESTAMP('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','Disposal Loss Acct',370,0,TO_TIMESTAMP('2010-06-17 15:35:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59265 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) +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55765, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Revaluation Expense Offs', SeqNo=380, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56080 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56080 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55768, AD_FieldGroup_ID=50004, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53165, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=40, DisplayLogic='@IsDepreciated@=Y', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Reval_Cal_Method', SeqNo=390, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56075 +; + +-- Jun 17, 2010 3:35:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56075 +; + +-- Jun 17, 2010 3:35:34 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59397,59266,0,53165,TO_TIMESTAMP('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Acct',400,0,TO_TIMESTAMP('2010-06-17 15:35:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59266 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) +; + +-- Jun 17, 2010 3:35:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59396,59267,0,53165,TO_TIMESTAMP('2010-06-17 15:35:34','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Cost Offset Prior Acct',410,0,TO_TIMESTAMP('2010-06-17 15:35:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59267 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) +; + +-- Jun 17, 2010 3:35:37 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59399,59268,0,53165,TO_TIMESTAMP('2010-06-17 15:35:35','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Cur',420,0,TO_TIMESTAMP('2010-06-17 15:35:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59268 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) +; + +-- Jun 17, 2010 3:35:38 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59398,59269,0,53165,TO_TIMESTAMP('2010-06-17 15:35:37','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','A_Reval_Accumdep_Offset_Prior',430,0,TO_TIMESTAMP('2010-06-17 15:35:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59269 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) +; + +-- Jun 17, 2010 3:35:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59395,59270,0,53165,TO_TIMESTAMP('2010-06-17 15:35:38','YYYY-MM-DD HH24:MI:SS'),0,40,'@IsDepreciated@=Y','D','Y','Y','Y','N','N','N','N','Reval Depexp Offset Acct',440,0,TO_TIMESTAMP('2010-06-17 15:35:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59270 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) +; + +-- Jun 17, 2010 3:35:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53118,TO_TIMESTAMP('2010-06-17 15:35:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Revaluation Asset','N',TO_TIMESTAMP('2010-06-17 15:35:44','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:35:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53118 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:35:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53275,53118,'7',TO_TIMESTAMP('2010-06-17 15:35:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','Y','N','N','N','A_Asset_Reval_ID','L','A_Asset_Reval',TO_TIMESTAMP('2010-06-17 15:35:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53275 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:35:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53387,TO_TIMESTAMP('2010-06-17 15:35:49','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Reval',1,'Y','N','Y','Y','A_Asset_Reval','N',1000000,TO_TIMESTAMP('2010-06-17 15:35:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54228,0,'A_Asset_Reval_ID',TO_TIMESTAMP('2010-06-17 15:35:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Reval_ID','A_Asset_Reval_ID',TO_TIMESTAMP('2010-06-17 15:35:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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=54228 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) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59410,54228,0,13,53275,'A_Asset_Reval_ID',TO_TIMESTAMP('2010-06-17 15:35:54','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','Y','Y','Y','N','N','Y','N','N','A_Asset_Reval_ID',1,TO_TIMESTAMP('2010-06-17 15:35:54','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59410 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) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Reval (A_Asset_Reval_ID NUMERIC(10) NOT NULL, CONSTRAINT A_Asset_Reval_Key PRIMARY KEY (A_Asset_Reval_ID)) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59411,102,0,19,53275,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59411 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) +; + +-- Jun 17, 2010 3:35:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59412,113,0,19,53275,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:35:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59412 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) +; + +-- Jun 17, 2010 3:35:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59413,1884,0,30,53275,'org.compiere.FA.CalloutA_Asset_Reval.asset','A_Asset_ID',TO_TIMESTAMP('2010-06-17 15:35:57','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers','D',80,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','N','N','Y','N','N','Y','N','N','Asset',TO_TIMESTAMP('2010-06-17 15:35:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59413 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) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN A_Asset_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59414,245,0,16,53275,'Created',TO_TIMESTAMP('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','Y','Created',TO_TIMESTAMP('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59414 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) +; + +-- Jun 17, 2010 3:35:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59415,246,0,18,110,53275,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','Y','Created By',TO_TIMESTAMP('2010-06-17 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59415 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) +; + +-- Jun 17, 2010 3:36:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59416,263,0,15,53275,'org.compiere.model.CalloutGLJournal.period','DateAcct',TO_TIMESTAMP('2010-06-17 15:36:02','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','Y','N','N','Y','N','Y','Account Date',TO_TIMESTAMP('2010-06-17 15:36:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59416 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) +; + +-- Jun 17, 2010 3:36:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN DateAcct TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59417,265,0,15,53275,'org.compiere.FA.CalloutA_Asset_Reval.dateDoc','DateDoc',TO_TIMESTAMP('2010-06-17 15:36:03','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','N','N','N','N','N','Y','N','Y','Document Date',TO_TIMESTAMP('2010-06-17 15:36:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59417 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) +; + +-- Jun 17, 2010 3:36:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN DateDoc TIMESTAMP DEFAULT NULL +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59418,289,0,17,131,53275,'DocStatus',TO_TIMESTAMP('2010-06-17 15:36:05','YYYY-MM-DD HH24:MI:SS'),0,'DR','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_TIMESTAMP('2010-06-17 15:36:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59418 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) +; + +-- Jun 17, 2010 3:36:08 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59419,290,0,10,53275,'DocumentNo',TO_TIMESTAMP('2010-06-17 15:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Document No',TO_TIMESTAMP('2010-06-17 15:36:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59419 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) +; + +-- Jun 17, 2010 3:36:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN DocumentNo VARCHAR(30) DEFAULT NULL +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59420,348,0,20,53275,'IsActive',TO_TIMESTAMP('2010-06-17 15:36:10','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:36:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59420 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) +; + +-- Jun 17, 2010 3:36:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59421,1308,0,28,234,53275,'Posted',TO_TIMESTAMP('2010-06-17 15:36:11','YYYY-MM-DD HH24:MI:SS'),0,'Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','Y','N','Y','Posted',TO_TIMESTAMP('2010-06-17 15:36:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59421 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) +; + +-- Jun 17, 2010 3:36:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN Posted CHAR(1) DEFAULT NULL +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59422,514,0,17,125,53275,'PostingType',TO_TIMESTAMP('2010-06-17 15:36:15','YYYY-MM-DD HH24:MI:SS'),0,'A','The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','Y','N','Y','PostingType',TO_TIMESTAMP('2010-06-17 15:36:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59422 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) +; + +-- Jun 17, 2010 3:36:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN PostingType CHAR(1) DEFAULT 'A' NOT NULL +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59423,1047,0,20,53275,'Processed',TO_TIMESTAMP('2010-06-17 15:36:16','YYYY-MM-DD HH24:MI:SS'),0,'N','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2010-06-17 15:36:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59423 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) +; + +-- Jun 17, 2010 3:36:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59424,524,0,20,53275,'Processing',TO_TIMESTAMP('2010-06-17 15:36:20','YYYY-MM-DD HH24:MI:SS'),0,'N','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-06-17 15:36:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59424 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) +; + +-- Jun 17, 2010 3:36:31 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN Processing CHAR(1) DEFAULT 'N' CHECK (Processing IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59425,607,0,16,53275,'Updated',TO_TIMESTAMP('2010-06-17 15:36:31','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','Y','Updated',TO_TIMESTAMP('2010-06-17 15:36:31','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59425 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) +; + +-- Jun 17, 2010 3:36:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59426,608,0,18,110,53275,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:36:34','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','Y','Updated By',TO_TIMESTAMP('2010-06-17 15:36:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59426 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) +; + +-- Jun 17, 2010 3:36:35 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59427,53489,0,12,53275,'A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:36:35','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:36:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59427 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) +; + +-- Jun 17, 2010 3:36:36 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN A_Asset_Cost NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59428,53488,0,12,53275,'A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:36','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +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=59428 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) +; + +-- Jun 17, 2010 3:36:37 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN A_Accumulated_Depr NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:36:42 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54229,0,'A_Asset_Cost_Change',TO_TIMESTAMP('2010-06-17 15:36:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Asset_Cost_Change','A_Asset_Cost_Change',TO_TIMESTAMP('2010-06-17 15:36:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:42 PM CDT +-- Generated Central ID for Fixed Asset +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=54229 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) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59429,54229,0,12,53275,'A_Asset_Cost_Change',TO_TIMESTAMP('2010-06-17 15:36:42','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Asset_Cost_Change',TO_TIMESTAMP('2010-06-17 15:36:42','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59429 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) +; + +-- Jun 17, 2010 3:36:44 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN A_Asset_Cost_Change NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:36:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54230,0,'A_Change_Acumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','A_Change_Acumulated_Depr','A_Change_Acumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:45 PM CDT +-- Generated Central ID for Fixed Asset +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=54230 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) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59430,54230,0,12,53275,'A_Change_Acumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:45','YYYY-MM-DD HH24:MI:SS'),0,'0','D',14,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Change_Acumulated_Depr',TO_TIMESTAMP('2010-06-17 15:36:45','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59430 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) +; + +-- Jun 17, 2010 3:36:47 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN A_Change_Acumulated_Depr NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:36:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53275,50023,'1','teo_sarca',0,TO_TIMESTAMP('2010-06-17 15:36:47','YYYY-MM-DD HH24:MI:SS'),0,'10000003',0,'D','D','Y','N','N','N',0,'Process_Asset_Reval',0,'R',TO_TIMESTAMP('2010-06-17 15:36:47','YYYY-MM-DD HH24:MI:SS'),0,'Process_Asset_Reval',0,0,'P',0) +; + +-- Jun 17, 2010 3:36:50 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50023 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:36:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50112,50023,'D',0,TO_TIMESTAMP('2010-06-17 15:36:50','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2010-06-17 15:36:50','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50112 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50113,50023,'D',0,TO_TIMESTAMP('2010-06-17 15:36:51','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2010-06-17 15:36:51','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50113 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50114,50023,'D',0,TO_TIMESTAMP('2010-06-17 15:36:52','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2010-06-17 15:36:52','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50114 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50113,50085,50114,TO_TIMESTAMP('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50115,50023,'Z',0,TO_TIMESTAMP('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2010-06-17 15:36:53','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:36:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50115 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50114,50086,50115,TO_TIMESTAMP('2010-06-17 15:36:58','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_TIMESTAMP('2010-06-17 15:36:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50112,50087,50115,TO_TIMESTAMP('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:36:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50115, IsValid='Y',Updated=TO_TIMESTAMP('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50023 +; + +-- Jun 17, 2010 3:37:02 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53213,50023,'1',TO_TIMESTAMP('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','Asset Reval Process','Y',0,0,TO_TIMESTAMP('2010-06-17 15:36:59','YYYY-MM-DD HH24:MI:SS'),0,'A_Asset_Reval_Process',NULL) +; + +-- Jun 17, 2010 3:37:02 PM CDT +-- Generated Central ID for Fixed Asset +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=53213 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) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59431,287,0,53213,28,135,53275,'DocAction',TO_TIMESTAMP('2010-06-17 15:37:02','YYYY-MM-DD HH24:MI:SS'),0,'CO','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-17 15:37:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59431 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) +; + +-- Jun 17, 2010 3:37:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Reval ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:37:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53331,53275,53118,NULL,TO_TIMESTAMP('2010-06-17 15:37:04','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','Y','N','Y','N','N','Revaluation Asset','N',10,0,TO_TIMESTAMP('2010-06-17 15:37:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53331 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:37:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59411,59271,0,53331,TO_TIMESTAMP('2010-06-17 15:37:05','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:37:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59271 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) +; + +-- Jun 17, 2010 3:37:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59412,59272,0,53331,TO_TIMESTAMP('2010-06-17 15:37:10','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','Y','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:37:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59272 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) +; + +-- Jun 17, 2010 3:37:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59419,59273,0,53331,TO_TIMESTAMP('2010-06-17 15:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_TIMESTAMP('2010-06-17 15:37:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59273 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) +; + +-- Jun 17, 2010 3:37:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59417,59274,0,53331,TO_TIMESTAMP('2010-06-17 15:37:17','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',40,0,TO_TIMESTAMP('2010-06-17 15:37:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59274 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) +; + +-- Jun 17, 2010 3:37:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59416,59275,0,53331,TO_TIMESTAMP('2010-06-17 15:37:21','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',50,0,TO_TIMESTAMP('2010-06-17 15:37:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59275 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) +; + +-- Jun 17, 2010 3:37:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59413,59276,0,53331,TO_TIMESTAMP('2010-06-17 15:37:27','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',80,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',60,0,TO_TIMESTAMP('2010-06-17 15:37:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59276 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) +; + +-- Jun 17, 2010 3:37:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59422,59277,0,53331,TO_TIMESTAMP('2010-06-17 15:37:32','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',70,0,TO_TIMESTAMP('2010-06-17 15:37:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59277 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) +; + +-- Jun 17, 2010 3:37:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59420,59278,0,53331,TO_TIMESTAMP('2010-06-17 15:37:33','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',80,0,TO_TIMESTAMP('2010-06-17 15:37:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59278 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) +; + +-- Jun 17, 2010 3:37:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59429,116,59279,0,53331,TO_TIMESTAMP('2010-06-17 15:37:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Asset_Cost_Change',90,0,TO_TIMESTAMP('2010-06-17 15:37:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59279 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) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59427,59280,0,53331,TO_TIMESTAMP('2010-06-17 15:37:39','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Asset_Cost',100,0,TO_TIMESTAMP('2010-06-17 15:37:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59280 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) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59430,59281,0,53331,TO_TIMESTAMP('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0,14,'D','Y','Y','Y','N','N','N','N','A_Change_Acumulated_Depr',110,0,TO_TIMESTAMP('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59281 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) +; + +-- Jun 17, 2010 3:37:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59428,59282,0,53331,TO_TIMESTAMP('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','Y','Y','A_Accumulated_Depr',120,0,TO_TIMESTAMP('2010-06-17 15:37:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59282 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) +; + +-- Jun 17, 2010 3:37:43 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59418,101,59283,0,53331,TO_TIMESTAMP('2010-06-17 15:37:42','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',130,0,TO_TIMESTAMP('2010-06-17 15:37:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:43 PM CDT +-- Generated Central ID for Fixed Asset +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=59283 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) +; + +-- Jun 17, 2010 3:37:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59424,59284,0,53331,TO_TIMESTAMP('2010-06-17 15:37:43','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Process Now',140,0,TO_TIMESTAMP('2010-06-17 15:37:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59284 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) +; + +-- Jun 17, 2010 3:37:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59423,59285,0,53331,TO_TIMESTAMP('2010-06-17 15:37:44','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',150,0,TO_TIMESTAMP('2010-06-17 15:37:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59285 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) +; + +-- Jun 17, 2010 3:37:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59431,59286,0,53331,TO_TIMESTAMP('2010-06-17 15:37:56','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',160,0,TO_TIMESTAMP('2010-06-17 15:37:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59286 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) +; + +-- Jun 17, 2010 3:37:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59421,59287,0,53331,TO_TIMESTAMP('2010-06-17 15:37:58','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',170,0,TO_TIMESTAMP('2010-06-17 15:37:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:37:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59287 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) +; + +-- Jun 17, 2010 3:38:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59410,59288,0,53331,TO_TIMESTAMP('2010-06-17 15:37:59','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Reval_ID',0,0,TO_TIMESTAMP('2010-06-17 15:37:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59288 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) +; + +-- Jun 17, 2010 3:38:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53119,TO_TIMESTAMP('2010-06-17 15:38:00','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','Asset Type','N',TO_TIMESTAMP('2010-06-17 15:38:00','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Jun 17, 2010 3:38:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53119 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 17, 2010 3:38:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53276,53119,'7',TO_TIMESTAMP('2010-06-17 15:38:04','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','Asset Type','L','A_Asset_Type',TO_TIMESTAMP('2010-06-17 15:38:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53276 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 17, 2010 3:38:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53388,TO_TIMESTAMP('2010-06-17 15:38:14','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table A_Asset_Type',1,'Y','N','Y','Y','A_Asset_Type','N',1000000,TO_TIMESTAMP('2010-06-17 15:38:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59432,54170,0,13,53276,'A_Asset_Type_ID',TO_TIMESTAMP('2010-06-17 15:38:21','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Asset Type',TO_TIMESTAMP('2010-06-17 15:38:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59432 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) +; + +-- Jun 17, 2010 3:38:23 PM CDT +-- Generated Central ID for Fixed Asset +CREATE TABLE A_Asset_Type (A_Asset_Type_ID NUMERIC(10) NOT NULL, CONSTRAINT A_Asset_Type_Key PRIMARY KEY (A_Asset_Type_ID)) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +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,59433,469,0,10,53276,'Name',TO_TIMESTAMP('2010-06-17 15:38:23','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','D',120,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',1,TO_TIMESTAMP('2010-06-17 15:38:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59433 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) +; + +-- Jun 17, 2010 3:38:24 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN Name VARCHAR(120) NOT NULL +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59434,620,0,10,53276,'Value',TO_TIMESTAMP('2010-06-17 15:38:24','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2010-06-17 15:38:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59434 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) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN Value VARCHAR(40) NOT NULL +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59435,102,0,19,53276,'AD_Client_ID',TO_TIMESTAMP('2010-06-17 15:38:25','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-17 15:38:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59435 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) +; + +-- Jun 17, 2010 3:38:26 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59436,113,0,19,53276,'AD_Org_ID',TO_TIMESTAMP('2010-06-17 15:38:26','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-17 15:38:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59436 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) +; + +-- Jun 17, 2010 3:38:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59437,348,0,20,53276,'IsActive',TO_TIMESTAMP('2010-06-17 15:38:27','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-17 15:38:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59437 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) +; + +-- Jun 17, 2010 3:38:29 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59438,245,0,16,53276,'Created',TO_TIMESTAMP('2010-06-17 15:38:29','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-17 15:38:29','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59438 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) +; + +-- Jun 17, 2010 3:38:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59439,246,0,18,110,53276,'CreatedBy',TO_TIMESTAMP('2010-06-17 15:38:30','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-17 15:38:30','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59439 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) +; + +-- Jun 17, 2010 3:38:33 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59440,607,0,16,53276,'Updated',TO_TIMESTAMP('2010-06-17 15:38:33','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-17 15:38:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59440 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) +; + +-- Jun 17, 2010 3:38:34 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59441,608,0,18,110,53276,'UpdatedBy',TO_TIMESTAMP('2010-06-17 15:38:34','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-17 15:38:34','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59441 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) +; + +-- Jun 17, 2010 3:38:38 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59442,275,0,10,53276,'Description',TO_TIMESTAMP('2010-06-17 15:38:38','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:38:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59442 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) +; + +-- Jun 17, 2010 3:38:39 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:38:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53365,TO_TIMESTAMP('2010-06-17 15:38:39','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Yes-No-Unknown',TO_TIMESTAMP('2010-06-17 15:38:39','YYYY-MM-DD HH24:MI:SS'),0,'L') +; + +-- Jun 17, 2010 3:38:40 PM CDT +-- Generated Central ID for Fixed Asset +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=53365 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:38:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53610,53365,TO_TIMESTAMP('2010-06-17 15:38:40','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','No',TO_TIMESTAMP('2010-06-17 15:38:40','YYYY-MM-DD HH24:MI:SS'),0,'NX') +; + +-- Jun 17, 2010 3:38:41 PM CDT +-- Generated Central ID for Fixed Asset +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=53610 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) +; + +-- Jun 17, 2010 3:38:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53611,53365,TO_TIMESTAMP('2010-06-17 15:38:41','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','- / Default No',TO_TIMESTAMP('2010-06-17 15:38:41','YYYY-MM-DD HH24:MI:SS'),0,'XN') +; + +-- Jun 17, 2010 3:38:44 PM CDT +-- Generated Central ID for Fixed Asset +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=53611 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) +; + +-- Jun 17, 2010 3:38:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53612,53365,TO_TIMESTAMP('2010-06-17 15:38:44','YYYY-MM-DD HH24:MI:SS'),0,'Don''t know / Doesn''t matter','D','Y','-',TO_TIMESTAMP('2010-06-17 15:38:44','YYYY-MM-DD HH24:MI:SS'),0,'XX') +; + +-- Jun 17, 2010 3:38:45 PM CDT +-- Generated Central ID for Fixed Asset +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=53612 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) +; + +-- Jun 17, 2010 3:38:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53613,53365,TO_TIMESTAMP('2010-06-17 15:38:45','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','- / Default Yes',TO_TIMESTAMP('2010-06-17 15:38:45','YYYY-MM-DD HH24:MI:SS'),0,'XY') +; + +-- Jun 17, 2010 3:38:49 PM CDT +-- Generated Central ID for Fixed Asset +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=53613 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) +; + +-- Jun 17, 2010 3:38:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53614,53365,TO_TIMESTAMP('2010-06-17 15:38:50','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Yes',TO_TIMESTAMP('2010-06-17 15:38:50','YYYY-MM-DD HH24:MI:SS'),0,'YX') +; + +-- Jun 17, 2010 3:38:51 PM CDT +-- Generated Central ID for Fixed Asset +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=53614 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) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59443,1941,0,17,53365,53276,'IsOwned',TO_TIMESTAMP('2010-06-17 15:38:51','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','The asset is owned by the organization','D',2,'The asset may not be in possession, but the asset is legally owned by the organization','Y','N','N','N','N','Y','N','N','Y','N','Y','Owned',TO_TIMESTAMP('2010-06-17 15:38:51','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59443 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) +; + +-- Jun 17, 2010 3:38:52 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN IsOwned VARCHAR(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59444,1940,0,17,53365,53276,'IsInPosession',TO_TIMESTAMP('2010-06-17 15:38:52','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','The asset is in the possession of the organization','D',2,'Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','N','N','N','N','Y','N','N','Y','N','Y','In Possession',TO_TIMESTAMP('2010-06-17 15:38:52','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59444 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) +; + +-- Jun 17, 2010 3:39:03 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN IsInPosession VARCHAR(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54231,0,'IsDepreciable',TO_TIMESTAMP('2010-06-17 15:39:03','YYYY-MM-DD HH24:MI:SS'),0,'This asset CAN be depreciated','D','Y','Is Depreciable','Is Depreciable',TO_TIMESTAMP('2010-06-17 15:39:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:06 PM CDT +-- Generated Central ID for Fixed Asset +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=54231 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) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59445,54231,0,17,53365,53276,'IsDepreciable',TO_TIMESTAMP('2010-06-17 15:39:06','YYYY-MM-DD HH24:MI:SS'),0,'''XX''','This asset CAN be depreciated','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Is Depreciable',TO_TIMESTAMP('2010-06-17 15:39:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59445 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) +; + +-- Jun 17, 2010 3:39:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Type ADD COLUMN IsDepreciable VARCHAR(2) DEFAULT 'XX' NOT NULL +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53332,53276,53119,NULL,TO_TIMESTAMP('2010-06-17 15:39:07','YYYY-MM-DD HH24:MI:SS'),0,'Asset Type','D','N','Y','N','N','Y','N','N','N','N','Type','N',10,0,TO_TIMESTAMP('2010-06-17 15:39:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53332 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59435,59289,0,53332,TO_TIMESTAMP('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','Client',10,0,TO_TIMESTAMP('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:09 PM CDT +-- Generated Central ID for Fixed Asset +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=59289 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) +; + +-- Jun 17, 2010 3:39:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59436,59290,0,53332,TO_TIMESTAMP('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','Organization',20,0,TO_TIMESTAMP('2010-06-17 15:39:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59290 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) +; + +-- Jun 17, 2010 3:39:11 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59434,59291,0,53332,TO_TIMESTAMP('2010-06-17 15:39:10','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',30,0,TO_TIMESTAMP('2010-06-17 15:39:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59291 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) +; + +-- Jun 17, 2010 3:39:12 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59433,59292,0,53332,TO_TIMESTAMP('2010-06-17 15:39:11','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','Name',40,0,TO_TIMESTAMP('2010-06-17 15:39:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59292 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) +; + +-- Jun 17, 2010 3:39:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59442,59293,0,53332,TO_TIMESTAMP('2010-06-17 15:39:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2010-06-17 15:39:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59293 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) +; + +-- Jun 17, 2010 3:39:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59437,59294,0,53332,TO_TIMESTAMP('2010-06-17 15:39:13','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',60,0,TO_TIMESTAMP('2010-06-17 15:39:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59294 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) +; + +-- Jun 17, 2010 3:39:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59444,59295,0,53332,TO_TIMESTAMP('2010-06-17 15:39:17','YYYY-MM-DD HH24:MI:SS'),0,'The asset is in the possession of the organization',2,'D','Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.','Y','Y','Y','N','N','N','N','In Possession',70,0,TO_TIMESTAMP('2010-06-17 15:39:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59295 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) +; + +-- Jun 17, 2010 3:39:25 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59445,59296,0,53332,TO_TIMESTAMP('2010-06-17 15:39:21','YYYY-MM-DD HH24:MI:SS'),0,'This asset CAN be depreciated',2,'D','Y','Y','Y','N','N','N','N','Is Depreciable',80,0,TO_TIMESTAMP('2010-06-17 15:39:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59296 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) +; + +-- Jun 17, 2010 3:39:26 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59443,59297,0,53332,TO_TIMESTAMP('2010-06-17 15:39:25','YYYY-MM-DD HH24:MI:SS'),0,'The asset is owned by the organization',2,'D','The asset may not be in possession, but the asset is legally owned by the organization','Y','Y','Y','N','N','N','N','Owned',90,0,TO_TIMESTAMP('2010-06-17 15:39:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:26 PM CDT +-- Generated Central ID for Fixed Asset +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=59297 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) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59432,59298,0,53332,TO_TIMESTAMP('2010-06-17 15:39:26','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Type',0,0,TO_TIMESTAMP('2010-06-17 15:39:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59298 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) +; + +-- Jun 17, 2010 3:39:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Build Depreciation Expense File', EntityType='D', Help='The Deprecaiton Build Workfile window allow you to build current depreciation expense for various posting types including actual budget and tax as defined by the user', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Build Depreciation Workfile', Processing='N', WindowType='T',Updated=TO_TIMESTAMP('2010-06-17 15:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53052 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53052, AccessLevel='7', Description=NULL, EntityType='D', Help='This table contains the necessary to create and process depreciation projections prior to posting to the GL', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Build Depreciation', ReplicationType='L', TableName='A_Depreciation_Build',Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53129 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53129 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Depreciation_Build_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Build Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Build Depreciation',Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53568 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53568 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53568, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Build_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Build Depreciation', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55693 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55693 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Build Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID=55693 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55694 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_End_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='To Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='To Asset',Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53505 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53505 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53505, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_End_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='To Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55695 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55695 +; + +-- Jun 17, 2010 3:39:28 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='To Asset', Description=NULL, Help=NULL WHERE AD_Column_ID=55695 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=275, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55696 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55697 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55698 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='PeriodNo', Description='Unique Period Number', EntityType='D', Help='The Period No identifies a specific period for this year. Each period is defined by a start and end date. Date ranges for a calendar and year cannot overlap.', IsActive='Y', Name='Period No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period No',Updated=TO_TIMESTAMP('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=500 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=500 +; + +-- Jun 17, 2010 3:39:29 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=500, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PeriodNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Unique Period Number', EntityType='D', FieldLength=22, Help='The Period No identifies a specific period for this year. Each period is defined by a start and end date. Date ranges for a calendar and year cannot overlap.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55699 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55700 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_build','Processed','CHAR(1)',null,'NULL') +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55701 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55702 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55703 +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55703 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:30 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_build','Processing','CHAR(1)',null,'NULL') +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55704 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_build','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55705 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55706 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55707 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='A_Start_Asset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='From Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='From Asset',Updated=TO_TIMESTAMP('2010-06-17 15:39:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53506 +; + +-- Jun 17, 2010 3:39:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53506 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53506, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53129, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Start_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='From Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55708 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55708 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='From Asset', Description=NULL, Help=NULL WHERE AD_Column_ID=55708 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53129, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55709 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53129, AD_Window_ID=53052, CommitWarning=NULL, Description=NULL, EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Build Workfile', OrderByClause=NULL, Processing='N', SeqNo=0, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53152 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53152 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55693, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Build Depreciation', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55790 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55790 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55703, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55792 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55792 +; + +-- Jun 17, 2010 3:39:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55705, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55793 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55694, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55794 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55709, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55795 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55708, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='From Asset', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55796 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55796 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55695, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='To Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55797 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55797 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55704, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55798 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55696, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55799 +; + +-- Jun 17, 2010 3:39:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55706, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55800 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55698, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55791 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55700, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53152, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55801 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Window SET Description='Create Depreciation Entry', EntityType='D', Help='The Depreciation Entry window allows you to create and post the depreciation expense entry to the GL', IsActive='Y', IsBetaFunctionality='N', IsDefault='N', IsSOTrx='Y', Name='Post Depreciation Entry', Processing='N', WindowType='T',Updated=TO_TIMESTAMP('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53053 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53053, AccessLevel='7', Description=NULL, EntityType='D', Help='This table hold the necessary information to process the depreciation entry', ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Depreciation Entry', ReplicationType='L', TableName='A_Depreciation_Entry',Updated=TO_TIMESTAMP('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53121 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53516, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Depreciation_Entry_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Depreciation Entry', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55545 +; + +-- Jun 17, 2010 3:39:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Depreciation Entry', Description=NULL, Help=NULL WHERE AD_Column_ID=55545 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='GL Category Type', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=207 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=207 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Document', Value='D',Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=376 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=376 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Import', Value='I',Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=375 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=375 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='Manual', Value='M',Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=374 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=374 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List SET AD_Reference_ID=207, Description=NULL, EntityType='D', IsActive='Y', Name='System generated', Value='S',Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=814 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=814 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=207, AD_Table_ID=53121, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55546 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','AD_Client_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53484, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53257, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Entry_Type', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Entry Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55547 +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55547 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','A_Entry_Type','VARCHAR(3)',null,'NULL') +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','A_Entry_Type',null,'NULL',null) +; + +-- Jun 17, 2010 3:39:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=193, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Currency_ID', ColumnSQL=NULL, DefaultValue='@$C_CURRENCY_ID@', Description='The Currency for this record', EntityType='D', FieldLength=22, Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Currency', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55548 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53366,TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','C_Period - all, acct, sysdate, desc',TO_TIMESTAMP('2010-06-17 15:39:35','YYYY-MM-DD HH24:MI:SS'),0,'T') +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +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=53366 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53366, 145, 482, 837, 'D', 'N', 'C_Period.StartDate DESC', 'C_Period.C_Year_ID IN (SELECT y.C_Year_ID FROM AD_ClientInfo ci, C_Year y WHERE ci.AD_Client_ID=@#AD_Client_ID@ AND ci.C_Calendar_ID=y.C_Calendar_ID) AND C_Period.StartDate <= SYSDATE') +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53366, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55549 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55550 +; + +-- Jun 17, 2010 3:39:39 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=290, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DocumentNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Document sequence number of the document', EntityType='D', FieldLength=60, Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55552 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55553 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55554 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','UpdatedBy','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55555 +; + +-- Jun 17, 2010 3:39:40 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:39:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53121,50024,'1','teo_sarca',0,TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),0,'10000004',0,'D','D','Y','N','N','N',0,'Process Asset Depreciation Entry',0,'R',TO_TIMESTAMP('2010-06-17 15:39:40','YYYY-MM-DD HH24:MI:SS'),0,'Process_A_Depreciation_Entry',0,0,'P',0) +; + +-- Jun 17, 2010 3:39:41 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50024 AND NOT EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Workflow_ID=t.AD_Workflow_ID) +; + +-- Jun 17, 2010 3:39:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50116,50024,'Z',0,TO_TIMESTAMP('2010-06-17 15:39:41','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2010-06-17 15:39:41','YYYY-MM-DD HH24:MI:SS'),0,'(Start)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:43 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50116 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50117,50024,'D',0,TO_TIMESTAMP('2010-06-17 15:39:43','YYYY-MM-DD HH24:MI:SS'),0,'--',0,0,'D','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2010-06-17 15:39:43','YYYY-MM-DD HH24:MI:SS'),0,'(DocAuto)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:44 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50117 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50118,50024,'D',0,TO_TIMESTAMP('2010-06-17 15:39:44','YYYY-MM-DD HH24:MI:SS'),0,'CO',0,0,'D','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2010-06-17 15:39:44','YYYY-MM-DD HH24:MI:SS'),0,'(DocComplete)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50118 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,"action",Cost,Created,CreatedBy,DocAction,Duration,DynPriorityChange,EntityType,IsActive,IsCentrallyMaintained,JoinElement,Name,Priority,SplitElement,Updated,UpdatedBy,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition) VALUES (0,0,50119,50024,'D',0,TO_TIMESTAMP('2010-06-17 15:39:45','YYYY-MM-DD HH24:MI:SS'),0,'PR',0,0,'D','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2010-06-17 15:39:45','YYYY-MM-DD HH24:MI:SS'),0,'(DocPrepare)',0,0,0,0,0) +; + +-- Jun 17, 2010 3:39:49 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50119 AND NOT EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_WF_Node_ID=t.AD_WF_Node_ID) +; + +-- Jun 17, 2010 3:39:52 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50118,50088,50119,TO_TIMESTAMP('2010-06-17 15:39:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:39:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:39:52 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Workflow SET AD_WF_Node_ID=50116, IsValid='Y',Updated=TO_TIMESTAMP('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50024 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Workflow_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53214,50024,'1',TO_TIMESTAMP('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation Entry','Y',0,0,TO_TIMESTAMP('2010-06-17 15:39:52','YYYY-MM-DD HH24:MI:SS'),0,'A_Depreciation_Entry_Process',NULL) +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +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=53214 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) +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=53214, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55556 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55556 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55557 +; + +-- Jun 17, 2010 3:39:53 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','Processed','CHAR(1)',null,null) +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='''A''', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55558 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Depreciation_Entry SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='GL_Category_ID', Description='General Ledger Category', EntityType='D', Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', IsActive='Y', Name='GL Category', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='GL Category',Updated=TO_TIMESTAMP('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=309 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=309 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code=NULL, Description='Manual Journal GL Category', EntityType='D', IsActive='Y', Name='GL_Category for Manual Journals', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=118 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=309, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=118, Callout=NULL, ColumnName='GL_Category_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='General Ledger Category', EntityType='D', FieldLength=22, Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='GL Category', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55559 +; + +-- Jun 17, 2010 3:39:54 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=510, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55560 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','Description','VARCHAR(510)',null,'NULL') +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','Description',null,'NULL',null) +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55561 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55562 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element SET ColumnName='C_DocType_ID', Description='Document type or rules', EntityType='D', Help='The Document Type determines document sequence and processing rules', IsActive='Y', Name='Document Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Type',Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=196 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=196 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Val_Rule SET Code='C_DocType.DocBaseType=''GLJ'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)', Description='Document Type Journal', EntityType='D', IsActive='Y', Name='C_DocType Journals', Type='S',Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=102 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=196, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=102, Callout=NULL, ColumnName='C_DocType_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Document type or rules', EntityType='D', FieldLength=22, Help='The Document Type determines document sequence and processing rules', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55563 +; + +-- Jun 17, 2010 3:39:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=106, Callout=NULL, ColumnName='C_AcctSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Rules for accounting', EntityType='D', FieldLength=22, Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55564 +; + +-- Jun 17, 2010 3:39:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53121, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55565 +; + +-- Jun 17, 2010 3:39:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_depreciation_entry','AD_Org_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59446,289,0,17,131,53121,'DocStatus',TO_TIMESTAMP('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_TIMESTAMP('2010-06-17 15:39:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59446 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) +; + +-- Jun 17, 2010 3:39:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59447,287,0,53214,28,135,53121,'DocAction',TO_TIMESTAMP('2010-06-17 15:39:57','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','U',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','Y','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-17 15:39:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59447 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) +; + +-- Jun 17, 2010 3:39:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 17, 2010 3:40:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59448,351,0,20,53121,'IsApproved',TO_TIMESTAMP('2010-06-17 15:39:58','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_TIMESTAMP('2010-06-17 15:39:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:40:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59448 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) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD COLUMN IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59449,1308,0,28,234,53121,'Posted',TO_TIMESTAMP('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),0,'''N''','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','N','N','N','Y','N','N','Y','N','Y','Posted',TO_TIMESTAMP('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59449 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) +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Depreciation_Entry ADD COLUMN Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Table_ID=53121, AD_Window_ID=53053, CommitWarning=NULL, Description=NULL, EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Create Depreciation Entry', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:40:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53153 +; + +-- Jun 17, 2010 3:40:01 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53153 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55545, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Depreciation Entry', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55802 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55802 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55553, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55804 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55557, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55805 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55548, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The Currency for this record', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Currency', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55817 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55556, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Process Depreciation Entry', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55818 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55818 +; + +-- Jun 17, 2010 3:40:02 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55546, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55806 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55565, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55807 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55552, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=40, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55803 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55560, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=256, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55808 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55547, AD_FieldGroup_ID=50002, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic='1=0', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entry Type', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55809 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=55809 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55558, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55810 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55559, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='General Ledger Category', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The General Ledger Category is an optional, user defined method of grouping journal lines.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='GL Category', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55811 +; + +-- Jun 17, 2010 3:40:03 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55564, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Rules for accounting', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Accounting Schema', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55812 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55563, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Document type or rules', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Document Type determines document sequence and processing rules', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Document Type', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55813 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55551, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55814 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55561, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55815 +; + +-- Jun 17, 2010 3:40:04 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55549, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53153, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55816 +; + +-- Jun 17, 2010 3:40:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59446,59299,0,53153,TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','Y','N','Document Status',130,0,TO_TIMESTAMP('2010-06-17 15:40:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59299 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) +; + +-- Jun 17, 2010 3:40:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59447,59300,0,53153,TO_TIMESTAMP('2010-06-17 15:40:05','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','Y','Document Action',140,0,TO_TIMESTAMP('2010-06-17 15:40:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59300 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) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59448,59301,0,53153,TO_TIMESTAMP('2010-06-17 15:40:06','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','Y','N','N','Y','N','Approved',150,0,TO_TIMESTAMP('2010-06-17 15:40:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59301 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) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59449,59302,0,53153,TO_TIMESTAMP('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'@Processed@=Y & @#ShowAcct@=Y','D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','N','Posted',160,0,TO_TIMESTAMP('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59302 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) +; + +-- Jun 17, 2010 3:40:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,59338,0,53333,53115,53053,NULL,TO_TIMESTAMP('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','Y','N','N','N','Records','N',20,1,TO_TIMESTAMP('2010-06-17 15:40:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53333 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Jun 17, 2010 3:40:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55378,59303,0,53333,TO_TIMESTAMP('2010-06-17 15:40:09','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Client',0,0,TO_TIMESTAMP('2010-06-17 15:40:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59303 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) +; + +-- Jun 17, 2010 3:40:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55379,59304,0,53333,TO_TIMESTAMP('2010-06-17 15:40:10','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','Y','Organization',0,0,TO_TIMESTAMP('2010-06-17 15:40:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59304 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) +; + +-- Jun 17, 2010 3:40:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55393,59305,0,53333,TO_TIMESTAMP('2010-06-17 15:40:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Account_Number',0,0,TO_TIMESTAMP('2010-06-17 15:40:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59305 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) +; + +-- Jun 17, 2010 3:40:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55377,59306,0,53333,TO_TIMESTAMP('2010-06-17 15:40:14','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','N','N','N','N','N','N','ID',0,0,TO_TIMESTAMP('2010-06-17 15:40:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59306 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) +; + +-- Jun 17, 2010 3:40:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59324,59307,0,53333,TO_TIMESTAMP('2010-06-17 15:40:15','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','Y','Process Now',0,0,TO_TIMESTAMP('2010-06-17 15:40:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59307 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) +; + +-- Jun 17, 2010 3:40:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59327,59308,0,53333,TO_TIMESTAMP('2010-06-17 15:40:17','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Accumulated_Depr',0,0,TO_TIMESTAMP('2010-06-17 15:40:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59308 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) +; + +-- Jun 17, 2010 3:40:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59326,59309,0,53333,TO_TIMESTAMP('2010-06-17 15:40:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Cost',0,0,TO_TIMESTAMP('2010-06-17 15:40:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59309 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) +; + +-- Jun 17, 2010 3:40:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59337,59310,0,53333,TO_TIMESTAMP('2010-06-17 15:40:23','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','A_Asset_Disposed_ID',0,0,TO_TIMESTAMP('2010-06-17 15:40:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59310 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) +; + +-- Jun 17, 2010 3:40:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59334,59311,0,53333,TO_TIMESTAMP('2010-06-17 15:40:24','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (delta)',0,0,TO_TIMESTAMP('2010-06-17 15:40:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59311 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) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59328,59312,0,53333,TO_TIMESTAMP('2010-06-17 15:40:28','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:40:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59312 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) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59335,59313,0,53333,TO_TIMESTAMP('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Accumulated Depreciation - fiscal (delta)',0,0,TO_TIMESTAMP('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59313 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) +; + +-- Jun 17, 2010 3:40:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59336,59314,0,53333,TO_TIMESTAMP('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Asset Addition',0,0,TO_TIMESTAMP('2010-06-17 15:40:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59314 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) +; + +-- Jun 17, 2010 3:40:35 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59325,59315,0,53333,TO_TIMESTAMP('2010-06-17 15:40:34','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','N','N','N','N','N','Comment/Help',0,0,TO_TIMESTAMP('2010-06-17 15:40:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59315 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) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59333,59316,0,53333,TO_TIMESTAMP('2010-06-17 15:40:35','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Delta Asset Cost',0,0,TO_TIMESTAMP('2010-06-17 15:40:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59316 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) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59331,59317,0,53333,TO_TIMESTAMP('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Remaining Amt',0,0,TO_TIMESTAMP('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59317 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) +; + +-- Jun 17, 2010 3:40:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59332,59318,0,53333,TO_TIMESTAMP('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Remaining Amt (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:40:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59318 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) +; + +-- Jun 17, 2010 3:40:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59329,59319,0,53333,TO_TIMESTAMP('2010-06-17 15:40:41','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'D','Y','Y','N','N','N','N','N','Usable Life - Months',0,0,TO_TIMESTAMP('2010-06-17 15:40:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59319 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) +; + +-- Jun 17, 2010 3:40:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59330,59320,0,53333,TO_TIMESTAMP('2010-06-17 15:40:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','Use Life - Months (fiscal)',0,0,TO_TIMESTAMP('2010-06-17 15:40:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59320 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) +; + +-- Jun 17, 2010 3:40:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59338,59321,0,53333,TO_TIMESTAMP('2010-06-17 15:40:46','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Depreciation Entry',10,0,TO_TIMESTAMP('2010-06-17 15:40:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59321 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) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55394,59322,0,53333,TO_TIMESTAMP('2010-06-17 15:40:47','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',22,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','Asset',20,1,TO_TIMESTAMP('2010-06-17 15:40:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59322 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) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55380,59323,0,53333,TO_TIMESTAMP('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0,3,'D','Y','Y','Y','N','N','N','Y','Entry Type',30,0,TO_TIMESTAMP('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59323 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) +; + +-- Jun 17, 2010 3:40:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55390,59324,0,53333,TO_TIMESTAMP('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2010-06-17 15:40:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59324 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) +; + +-- Jun 17, 2010 3:40:51 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55383,59325,0,53333,TO_TIMESTAMP('2010-06-17 15:40:50','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',50,0,TO_TIMESTAMP('2010-06-17 15:40:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59325 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) +; + +-- Jun 17, 2010 3:40:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59323,59326,0,53333,TO_TIMESTAMP('2010-06-17 15:40:51','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Expense (fiscal)',60,0,TO_TIMESTAMP('2010-06-17 15:40:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59326 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) +; + +-- Jun 17, 2010 3:40:56 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59321,59327,0,53333,TO_TIMESTAMP('2010-06-17 15:40:54','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','N','Account (debit)',70,0,TO_TIMESTAMP('2010-06-17 15:40:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59327 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) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59322,59328,0,53333,TO_TIMESTAMP('2010-06-17 15:40:56','YYYY-MM-DD HH24:MI:SS'),0,'Account used',10,'D','The (natural) account used','Y','Y','Y','N','N','N','Y','Account (credit)',80,0,TO_TIMESTAMP('2010-06-17 15:40:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59328 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) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55392,59329,0,53333,TO_TIMESTAMP('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period',90,2,TO_TIMESTAMP('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59329 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) +; + +-- Jun 17, 2010 3:40:59 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55382,59330,0,53333,TO_TIMESTAMP('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',100,0,TO_TIMESTAMP('2010-06-17 15:40:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:40:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59330 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) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55389,59331,0,53333,TO_TIMESTAMP('2010-06-17 15:40:59','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','Active',110,0,TO_TIMESTAMP('2010-06-17 15:40:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59331 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) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55384,59332,0,53333,TO_TIMESTAMP('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0,'The asset will be depreciated',1,'D','The asset is used internally and will be depreciated','Y','Y','Y','N','N','N','Y','Depreciate',120,0,TO_TIMESTAMP('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59332 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) +; + +-- Jun 17, 2010 3:41:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55388,59333,0,53333,TO_TIMESTAMP('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',130,0,TO_TIMESTAMP('2010-06-17 15:41:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59333 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) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55385,59334,0,53333,TO_TIMESTAMP('2010-06-17 15:41:05','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',140,0,TO_TIMESTAMP('2010-06-17 15:41:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59334 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) +; + +-- Jun 17, 2010 3:41:06 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53113, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Asset Addition', ReplicationType='L', TableName='A_Asset_Addition',Updated=TO_TIMESTAMP('2010-06-17 15:41:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53612, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Addition_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset Addition', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55952 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset Addition', Description=NULL, Help=NULL WHERE AD_Column_ID=55952 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=129, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55953 +; + +-- Jun 17, 2010 3:41:07 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','AD_Client_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='Y', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55954 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53494, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_QTY_Current', ColumnSQL=NULL, DefaultValue='0', Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Current Qty', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55955 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55955 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID=55955 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_QTY_Current','NUMERIC',null,'0') +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_QTY_Current=0 WHERE A_QTY_Current IS NULL +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_QTY_Current',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1935, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AssetValueAmt', ColumnSQL=NULL, DefaultValue=NULL, Description='Book Value of the asset', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55956 +; + +-- Jun 17, 2010 3:41:08 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Asset value', Description='Book Value of the asset', Help=NULL WHERE AD_Column_ID=55956 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55957 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=510, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='Y', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55958 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=313, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='GL_JournalBatch_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='General Ledger Journal Batch', EntityType='D', FieldLength=22, Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Journal Batch', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55959 +; + +-- Jun 17, 2010 3:41:09 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=439, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Line', ColumnSQL=NULL, DefaultValue=NULL, Description='Unique line for this document', EntityType='D', FieldLength=22, Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Line No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55960 +; + +-- Jun 17, 2010 3:41:10 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55961 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55962 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=514, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=125, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PostingType', ColumnSQL=NULL, DefaultValue='A', Description='The type of posted amount for the transaction', EntityType='D', FieldLength=1, Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PostingType', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55963 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','PostingType','CHAR(1)',null,'A') +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET PostingType='A' WHERE PostingType IS NULL +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','PostingType',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1026, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_InOutLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Line on Shipment or Receipt document', EntityType='D', FieldLength=22, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Shipment/Receipt Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55964 +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','M_InOutLine_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:41:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55965 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=290, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=53274, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DocumentNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Document sequence number of the document', EntityType='D', FieldLength=30, Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document No', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55966 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55967 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1008, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Invoice_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Invoice Identifier', EntityType='D', FieldLength=22, Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Invoice', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55968 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','C_Invoice_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53640, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53276, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_SourceType', ColumnSQL=NULL, DefaultValue='''INV''', Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Source Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55969 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55969 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Source Type', Description=NULL, Help=NULL WHERE AD_Column_ID=55969 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_SourceType','VARCHAR(3)',null,'INV') +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_SourceType='INV' WHERE A_SourceType IS NULL +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_SourceType',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53641, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53277, AD_Table_ID=53137, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_CapvsExp', ColumnSQL=NULL, DefaultValue='''Cap''', Description=NULL, EntityType='D', FieldLength=3, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Capital/Expense', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55970 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55970 +; + +-- Jun 17, 2010 3:41:12 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Capital/Expense', Description=NULL, Help=NULL WHERE AD_Column_ID=55970 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_CapvsExp','VARCHAR(3)',null,'Cap') +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE A_Asset_Addition SET A_CapvsExp='Cap' WHERE A_CapvsExp IS NULL +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','A_CapvsExp',null,'NOT NULL',null) +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=53137, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55971 +; + +-- Jun 17, 2010 3:41:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','AD_Org_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59450,1047,0,20,53137,'Processed',TO_TIMESTAMP('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),0,'''N''','The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2010-06-17 15:41:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59450 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) +; + +-- Jun 17, 2010 3:41:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59451,289,0,17,131,53137,'DocStatus',TO_TIMESTAMP('2010-06-17 15:41:16','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Status',TO_TIMESTAMP('2010-06-17 15:41:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59451 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) +; + +-- Jun 17, 2010 3:41:18 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' NOT NULL +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59452,287,0,53208,28,135,53137,'DocAction',TO_TIMESTAMP('2010-06-17 15:41:18','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','N','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-17 15:41:18','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59452 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) +; + +-- Jun 17, 2010 3:41:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59453,53646,0,20,53137,'A_CreateAsset',TO_TIMESTAMP('2010-06-17 15:41:19','YYYY-MM-DD HH24:MI:SS'),0,'''N''','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Create Asset',TO_TIMESTAMP('2010-06-17 15:41:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59453 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) +; + +-- Jun 17, 2010 3:41:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN A_CreateAsset CHAR(1) DEFAULT 'N' CHECK (A_CreateAsset IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59454,351,0,20,53137,'IsApproved',TO_TIMESTAMP('2010-06-17 15:41:20','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_TIMESTAMP('2010-06-17 15:41:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59454 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) +; + +-- Jun 17, 2010 3:41:21 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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,AD_Val_Rule_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59455,1689,0,30,53363,53137,52086,'org.compiere.FA.CalloutA_Asset_Addition.matchInv','M_MatchInv_ID',TO_TIMESTAMP('2010-06-17 15:41:21','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Match Invoice',TO_TIMESTAMP('2010-06-17 15:41:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59455 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) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN M_MatchInv_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59456,1076,0,19,53137,'C_InvoiceLine_ID',TO_TIMESTAMP('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line','D',22,'The Invoice Line uniquely identifies a single line of an Invoice.','Y','N','N','N','N','N','N','N','Y','N','N','Invoice Line',TO_TIMESTAMP('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59456 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) +; + +-- Jun 17, 2010 3:41:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_addition','C_InvoiceLine_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,Updated,UpdatedBy,Version) VALUES (0,59457,454,0,30,162,53137,'M_Product_ID',TO_TIMESTAMP('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product','@A_SourceType@=''INV''',TO_TIMESTAMP('2010-06-17 15:41:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59457 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) +; + +-- Jun 17, 2010 3:41:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN M_Product_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59458,2019,0,35,53137,'M_AttributeSetInstance_ID',TO_TIMESTAMP('2010-06-17 15:41:27','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance','D',10,'The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','N','N','N','N','N','N','N','Y','N','Y','Attribute Set Instance',TO_TIMESTAMP('2010-06-17 15:41:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59458 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) +; + +-- Jun 17, 2010 3:41:55 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN M_AttributeSetInstance_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,Updated,UpdatedBy,Version) VALUES (0,59459,448,0,31,53137,52087,'M_Locator_ID',TO_TIMESTAMP('2010-06-17 15:41:55','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','N','N','N','N','N','Y','N','Y','Locator','@A_SourceType@=''INV''',TO_TIMESTAMP('2010-06-17 15:41:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +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=59459 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) +; + +-- Jun 17, 2010 3:41:56 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN M_Locator_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59460,193,0,19,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','C_Currency_ID',TO_TIMESTAMP('2010-06-17 15:41:56','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record','D',22,'Indicates the Currency to be used when processing or reporting on this record','Y','N','N','N','N','Y','N','N','Y','N','Y','Currency',TO_TIMESTAMP('2010-06-17 15:41:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +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=59460 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) +; + +-- Jun 17, 2010 3:41:57 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN C_Currency_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59461,2278,0,19,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','C_ConversionType_ID',TO_TIMESTAMP('2010-06-17 15:41:57','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type','D',22,'The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','N','N','N','N','Y','N','N','Y','N','Y','Currency Type',TO_TIMESTAMP('2010-06-17 15:41:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59461 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) +; + +-- Jun 17, 2010 3:41:58 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN C_ConversionType_ID NUMERIC(10) NOT NULL +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59462,54202,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','AssetSourceAmt',TO_TIMESTAMP('2010-06-17 15:41:58','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Source Amount',TO_TIMESTAMP('2010-06-17 15:41:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59462 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) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN AssetSourceAmt NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59463,54203,0,11,53137,'org.compiere.FA.CalloutA_Asset_Addition.uselife;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DeltaUseLifeYears',TO_TIMESTAMP('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Use Life Years',TO_TIMESTAMP('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +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=59463 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) +; + +-- Jun 17, 2010 3:41:59 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DeltaUseLifeYears NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59464,54204,0,11,53137,'DeltaUseLifeYears_F',TO_TIMESTAMP('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,'0','Delta Use Life Years (fiscal)','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Delta Use Life Years (fiscal)',TO_TIMESTAMP('2010-06-17 15:41:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +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=59464 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) +; + +-- Jun 17, 2010 3:42:00 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DeltaUseLifeYears_F NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59465,265,0,15,53137,'org.compiere.FA.CalloutA_Asset_Addition.dateDoc;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DateDoc',TO_TIMESTAMP('2010-06-17 15:42:00','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the Document','D',7,'The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Document Date',2,TO_TIMESTAMP('2010-06-17 15:42:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59465 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) +; + +-- Jun 17, 2010 3:42:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DateDoc TIMESTAMP NOT NULL +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59466,54205,0,30,53137,'I_FixedAsset_ID',TO_TIMESTAMP('2010-06-17 15:42:01','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Imported Fixed Asset',TO_TIMESTAMP('2010-06-17 15:42:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59466 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) +; + +-- Jun 17, 2010 3:42:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN I_FixedAsset_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59467,263,0,15,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt;org.compiere.FA.CalloutA_Asset_Addition.periodOffset','DateAcct',TO_TIMESTAMP('2010-06-17 15:42:02','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','N','N','N','Y','N','Y','Account Date',TO_TIMESTAMP('2010-06-17 15:42:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59467 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) +; + +-- Jun 17, 2010 3:42:04 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN DateAcct TIMESTAMP DEFAULT NULL +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59468,253,0,22,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','CurrencyRate',TO_TIMESTAMP('2010-06-17 15:42:04','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate','D',22,'The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','N','N','N','N','N','N','N','Y','N','Y','Rate',TO_TIMESTAMP('2010-06-17 15:42:04','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59468 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) +; + +-- Jun 17, 2010 3:42:05 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN CurrencyRate NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59469,53488,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:42:05','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:42:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59469 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) +; + +-- Jun 17, 2010 3:42:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN A_Accumulated_Depr NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59470,54175,0,12,53137,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-17 15:42:06','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-17 15:42:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59470 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) +; + +-- Jun 17, 2010 3:42:07 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN A_Accumulated_Depr_F NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59471,54185,0,11,53137,'A_Life_Period_Min','(select min(A_Life_Period_MIN) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Asset_Addition.A_Asset_ID)',TO_TIMESTAMP('2010-06-17 15:42:07','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (min)',TO_TIMESTAMP('2010-06-17 15:42:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59471 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) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59472,54184,0,11,53137,'A_Life_Period_Max','(select min(A_Life_Period_Max) from A_Asset a left join A_Asset_Class ac on (ac.A_Asset_Class_ID=a.A_Asset_Class_ID) where a.A_Asset_ID=A_Asset_Addition.A_Asset_ID)',TO_TIMESTAMP('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','N','N','N','N','N','N','N','Y','N','N','Life periods (max)',TO_TIMESTAMP('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:08 PM CDT +-- Generated Central ID for Fixed Asset +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=59472 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,Callout,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59473,208,0,30,53137,176,'org.compiere.FA.CalloutA_Asset_Addition.project','C_Project_ID',TO_TIMESTAMP('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','D',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','Y','N','Y','Project',TO_TIMESTAMP('2010-06-17 15:42:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59473 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN C_Project_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59474,524,0,20,53137,'Processing',TO_TIMESTAMP('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,'D',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +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=59474 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) +; + +-- Jun 17, 2010 3:42:10 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN Processing CHAR(1) DEFAULT NULL CHECK (Processing IN ('Y','N')) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59475,54206,0,20,53137,'org.compiere.FA.CalloutA_Asset_Addition.periodOffset','A_Accumulated_Depr_Adjust',TO_TIMESTAMP('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,'N','D',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Adjust Accumulated Depreciation',TO_TIMESTAMP('2010-06-17 15:42:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59475 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) +; + +-- Jun 17, 2010 3:42:11 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN A_Accumulated_Depr_Adjust CHAR(1) DEFAULT 'N' CHECK (A_Accumulated_Depr_Adjust IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59476,54207,0,12,53137,'org.compiere.FA.CalloutA_Asset_Addition.amt','AssetAmtEntered',TO_TIMESTAMP('2010-06-17 15:42:11','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Entered Amount',TO_TIMESTAMP('2010-06-17 15:42:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59476 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) +; + +-- Jun 17, 2010 3:42:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN AssetAmtEntered NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59477,1308,0,28,234,53137,'Posted',TO_TIMESTAMP('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,'N','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','Y','N','N','Y','N','Y','Posted',TO_TIMESTAMP('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59477 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) +; + +-- Jun 17, 2010 3:42:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59478,53537,0,11,53137,'A_Period_Start',TO_TIMESTAMP('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Period_Start',TO_TIMESTAMP('2010-06-17 15:42:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59478 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) +; + +-- Jun 17, 2010 3:42:15 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN A_Period_Start NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59479,968,0,30,53137,'C_Charge_ID',TO_TIMESTAMP('2010-06-17 15:42:15','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges','D',10,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','N','N','N','N','N','N','N','Y','N','Y','Charge',TO_TIMESTAMP('2010-06-17 15:42:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +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=59479 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) +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Addition ADD COLUMN C_Charge_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab SET AD_Column_ID=55954, AD_Process_ID=NULL, AD_Table_ID=53137, AD_Window_ID=251, CommitWarning=NULL, Description='Activation/Addition', DisplayLogic='@IsDepreciated@=Y', EntityType='D', HasTree='N', Help=NULL, ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='N', IsReadOnly='Y', IsSingleRow='Y', IsSortTab='N', IsTranslationTab='N', Name='Activation/Addition', OrderByClause=NULL, Processing='N', SeqNo=15, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53323 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53323 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55965, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59096 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55952, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Asset Addition', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59097 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59097 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55960, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Unique line for this document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='Indicates the unique line for a document. It will also control the display order of the lines within a document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Line No', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59098 +; + +-- Jun 17, 2010 3:42:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55959, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='General Ledger Journal Batch', DisplayLength=22, DisplayLogic='@A_SourceType@=''JRN''', EntityType='D', Help='The General Ledger Journal Batch identifies a group of journals to be processed as a group.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Journal Batch', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59099 +; + +-- Jun 17, 2010 3:42:17 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59478,59335,0,53323,TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','N','N','N','N','N','A_Period_Start',0,0,TO_TIMESTAMP('2010-06-17 15:42:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:17 PM CDT +-- Generated Central ID for Fixed Asset +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=59335 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) +; + +-- Jun 17, 2010 3:42:18 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59475,59336,0,53323,TO_TIMESTAMP('2010-06-17 15:42:17','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Adjust Accumulated Depreciation',0,0,TO_TIMESTAMP('2010-06-17 15:42:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:18 PM CDT +-- Generated Central ID for Fixed Asset +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=59336 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) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59454,59337,0,53323,TO_TIMESTAMP('2010-06-17 15:42:18','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','N','N','N','N','N','Approved',0,0,TO_TIMESTAMP('2010-06-17 15:42:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59337 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) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59461,59338,0,53323,TO_TIMESTAMP('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type',22,'D','The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','N','N','N','N','N','Currency Type',0,0,TO_TIMESTAMP('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59338 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) +; + +-- Jun 17, 2010 3:42:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59477,59339,0,53323,TO_TIMESTAMP('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','N','N','N','N','N','Posted',0,0,TO_TIMESTAMP('2010-06-17 15:42:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59339 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) +; + +-- Jun 17, 2010 3:42:21 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59474,59340,0,53323,TO_TIMESTAMP('2010-06-17 15:42:20','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','N','N','N','N','N','Process Now',0,0,TO_TIMESTAMP('2010-06-17 15:42:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59340 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) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59468,59341,0,53323,TO_TIMESTAMP('2010-06-17 15:42:21','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate',22,'D','The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','Y','N','N','N','N','N','Rate',0,0,TO_TIMESTAMP('2010-06-17 15:42:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +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=59341 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) +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55953, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59100 +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55971, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59101 +; + +-- Jun 17, 2010 3:42:23 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55966, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Document sequence number of the document', DisplayLength=30, DisplayLogic=NULL, EntityType='D', Help='The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Document No', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59102 +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59453,59342,0,53323,TO_TIMESTAMP('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','Y','Create Asset',40,0,TO_TIMESTAMP('2010-06-17 15:42:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59342 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) +; + +-- Jun 17, 2010 3:42:24 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55954, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Asset used internally or by customers', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Asset', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59103 +; + +-- Jun 17, 2010 3:42:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59465,59343,0,53323,TO_TIMESTAMP('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',60,0,TO_TIMESTAMP('2010-06-17 15:42:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59343 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) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59467,59344,0,53323,TO_TIMESTAMP('2010-06-17 15:42:25','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_TIMESTAMP('2010-06-17 15:42:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59344 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) +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55963, AD_FieldGroup_ID=113, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The type of posted amount for the transaction', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='PostingType', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59104 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55970, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=3, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Capital/Expense', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59105 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59105 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55969, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=0, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Type', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59106 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59106 +; + +-- Jun 17, 2010 3:42:27 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55968, AD_FieldGroup_ID=125, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Invoice Identifier', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Invoice', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59107 +; + +-- Jun 17, 2010 3:42:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59456,59345,0,53323,TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line',22,'@A_SourceType@=''INV''','D','The Invoice Line uniquely identifies a single line of an Invoice.','Y','Y','Y','N','N','N','Y','Invoice Line',120,0,TO_TIMESTAMP('2010-06-17 15:42:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59345 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) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59455,59346,0,53323,TO_TIMESTAMP('2010-06-17 15:42:30','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice',10,'@A_SourceType@=''INV''','D','Y','Y','Y','N','N','N','N','Match Invoice',130,0,TO_TIMESTAMP('2010-06-17 15:42:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59346 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) +; + +-- Jun 17, 2010 3:42:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55964, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Line on Shipment or Receipt document', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Shipment/Receipt Line', SeqNo=140, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59108 +; + +-- Jun 17, 2010 3:42:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59473,59347,0,53323,TO_TIMESTAMP('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'@A_SourceType@=''PRJ'' + +','D','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','Project',150,0,TO_TIMESTAMP('2010-06-17 15:42:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59347 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) +; + +-- Jun 17, 2010 3:42:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59479,59348,0,53323,TO_TIMESTAMP('2010-06-17 15:42:33','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges',10,'@A_SourceType@=''MAN''''','D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','Charge',160,0,TO_TIMESTAMP('2010-06-17 15:42:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59348 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) +; + +-- Jun 17, 2010 3:42:35 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59466,59349,0,53323,TO_TIMESTAMP('2010-06-17 15:42:34','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_SourceType@=''IMP''','D','Y','Y','Y','N','N','N','N','Imported Fixed Asset',170,0,TO_TIMESTAMP('2010-06-17 15:42:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:35 PM CDT +-- Generated Central ID for Fixed Asset +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=59349 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) +; + +-- Jun 17, 2010 3:42:39 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59457,59350,0,53323,TO_TIMESTAMP('2010-06-17 15:42:35','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',180,0,TO_TIMESTAMP('2010-06-17 15:42:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:39 PM CDT +-- Generated Central ID for Fixed Asset +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=59350 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) +; + +-- Jun 17, 2010 3:42:40 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59458,59351,0,53323,TO_TIMESTAMP('2010-06-17 15:42:39','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',190,0,TO_TIMESTAMP('2010-06-17 15:42:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:40 PM CDT +-- Generated Central ID for Fixed Asset +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=59351 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) +; + +-- Jun 17, 2010 3:42:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59459,59352,0,53323,TO_TIMESTAMP('2010-06-17 15:42:40','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',200,0,TO_TIMESTAMP('2010-06-17 15:42:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59352 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) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55958, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=510, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=210, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59109 +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59462,103,59353,0,53323,TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Source Amount',220,0,TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59353 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) +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55956, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Book Value of the asset', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Asset value', SeqNo=230, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59110 +; + +-- Jun 17, 2010 3:42:45 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59110 +; + +-- Jun 17, 2010 3:42:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59476,59354,0,53323,TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Entered Amount',240,0,TO_TIMESTAMP('2010-06-17 15:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59354 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) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59460,59355,0,53323,TO_TIMESTAMP('2010-06-17 15:42:46','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',22,'D','Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','N','N','Y','Currency',250,0,TO_TIMESTAMP('2010-06-17 15:42:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +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=59355 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) +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=55955, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Current Qty', SeqNo=260, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59111 +; + +-- Jun 17, 2010 3:42:47 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59111 +; + +-- Jun 17, 2010 3:42:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59469,59356,0,53323,TO_TIMESTAMP('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',270,0,TO_TIMESTAMP('2010-06-17 15:42:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59356 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) +; + +-- Jun 17, 2010 3:42:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59470,59357,0,53323,TO_TIMESTAMP('2010-06-17 15:42:48','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (fiscal)',280,0,TO_TIMESTAMP('2010-06-17 15:42:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59357 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) +; + +-- Jun 17, 2010 3:42:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59463,59358,0,53323,TO_TIMESTAMP('2010-06-17 15:42:49','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Delta Use Life Years',290,0,TO_TIMESTAMP('2010-06-17 15:42:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59358 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) +; + +-- Jun 17, 2010 3:42:51 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59464,59359,0,53323,TO_TIMESTAMP('2010-06-17 15:42:50','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)',22,'D','Y','Y','Y','N','N','N','Y','Delta Use Life Years (fiscal)',300,0,TO_TIMESTAMP('2010-06-17 15:42:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:51 PM CDT +-- Generated Central ID for Fixed Asset +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=59359 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) +; + +-- Jun 17, 2010 3:42:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59471,59360,0,53323,TO_TIMESTAMP('2010-06-17 15:42:51','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',310,0,TO_TIMESTAMP('2010-06-17 15:42:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59360 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) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59472,59361,0,53323,TO_TIMESTAMP('2010-06-17 15:42:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','Y','Life periods (max)',320,0,TO_TIMESTAMP('2010-06-17 15:42:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59361 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) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59450,59362,0,53323,TO_TIMESTAMP('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',330,0,TO_TIMESTAMP('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59362 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) +; + +-- Jun 17, 2010 3:42:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59451,59363,0,53323,TO_TIMESTAMP('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',340,0,TO_TIMESTAMP('2010-06-17 15:42:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59363 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) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59452,59364,0,53323,TO_TIMESTAMP('2010-06-17 15:42:54','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','Y','Document Action',350,0,TO_TIMESTAMP('2010-06-17 15:42:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59364 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) +; + +-- Jun 17, 2010 3:42:55 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Table SET AD_Window_ID=53114, AccessLevel='7', Description=NULL, EntityType='D', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='A_Asset_Disposed_ID', ReplicationType='L', TableName='A_Asset_Disposed',Updated=TO_TIMESTAMP('2010-06-17 15:42:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53127 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53550, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Disposed_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='A_Asset_Disposed_ID', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55638 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55638 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Disposed_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55638 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=129, AD_Table_ID=53127, AD_Val_Rule_ID=129, Callout='org.compiere.model.CalloutGLJournal.period', ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55639 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1884, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=52088, Callout='org.compiere.FA.CalloutA_Asset_Disposed.asset', ColumnName='A_Asset_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Asset used internally or by customers', EntityType='D', FieldLength=22, Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='Y', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Asset', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55640 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','A_Asset_ID','NUMERIC(10)',null,null) +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53551, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='A_Disposed_Date', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=7, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55641 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55641 +; + +-- Jun 17, 2010 3:42:56 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Date', Description=NULL, Help=NULL WHERE AD_Column_ID=55641 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53552, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53269, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposed_Reason', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=10, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Reason', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55642 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55642 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Reason', Description=NULL, Help=NULL WHERE AD_Column_ID=55642 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','A_Disposed_Reason','VARCHAR(10)',null,'NULL') +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','A_Disposed_Reason',null,'NULL',null) +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=233, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Period', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55643 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','C_Period_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','C_Period_ID',null,'NULL',null) +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55644 +; + +-- Jun 17, 2010 3:42:57 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=265, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='DateDoc', ColumnSQL=NULL, DefaultValue='@Date@', Description='Date of the Document', EntityType='D', FieldLength=7, Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55645 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=1047, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processed', ColumnSQL=NULL, DefaultValue=NULL, Description='The document has been processed', EntityType='D', FieldLength=1, Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Processed', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55646 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55647 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55648 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','Updated','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55649 +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=55649 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:58 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue=NULL, Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55650 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=263, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout='org.compiere.FA.CalloutA_Asset_Disposed.date', ColumnName='DateAcct', ColumnSQL=NULL, DefaultValue='@Date@', Description='Accounting Date', EntityType='D', FieldLength=7, Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55651 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55652 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','Created','TIMESTAMP',null,null) +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53553, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Proceeds', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Proceeds', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55653 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55653 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Proceeds', Description=NULL, Help=NULL WHERE AD_Column_ID=55653 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53554, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=53270, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Disposed_Method', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=2, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Disposed_Method', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:42:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55654 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55654 +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Disposed_Method', Description=NULL, Help=NULL WHERE AD_Column_ID=55654 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:42:59 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO t_alter_column values('a_asset_disposed','A_Disposed_Method','VARCHAR(2)',null,null) +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=53555, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=53258, AD_Table_ID=53127, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Asset_Trade_ID', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='A_Asset_Trade_ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55655 +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55655 +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET Name='A_Asset_Trade_ID', Description=NULL, Help=NULL WHERE AD_Column_ID=55655 AND IsCentrallyMaintained='Y' +; + +-- Jun 17, 2010 3:43:00 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=130, AD_Table_ID=53127, AD_Val_Rule_ID=130, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55656 +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59480,287,0,53210,28,135,53127,'DocAction',TO_TIMESTAMP('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),0,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','N','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-17 15:43:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +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=59480 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) +; + +-- Jun 17, 2010 3:43:01 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59481,289,0,17,131,53127,'DocStatus',TO_TIMESTAMP('2010-06-17 15:43:01','YYYY-MM-DD HH24:MI:SS'),0,'''DR''','The current status of the document','D',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','Y','N','Y','Document Status',TO_TIMESTAMP('2010-06-17 15:43:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59481 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) +; + +-- Jun 17, 2010 3:43:02 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59482,351,0,20,53127,'IsApproved',TO_TIMESTAMP('2010-06-17 15:43:02','YYYY-MM-DD HH24:MI:SS'),0,'@#IsCanApproveOwnDoc@','Indicates if this document requires approval','D',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Approved',TO_TIMESTAMP('2010-06-17 15:43:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59482 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) +; + +-- Jun 17, 2010 3:43:06 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL +; + +-- Jun 17, 2010 3:43:11 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59483,290,0,10,53127,'DocumentNo',TO_TIMESTAMP('2010-06-17 15:43:06','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','N','Document No',TO_TIMESTAMP('2010-06-17 15:43:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59483 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) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN DocumentNo VARCHAR(30) NOT NULL +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59484,54208,0,17,53364,53127,'A_Activation_Method',TO_TIMESTAMP('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,'''AA''','D',2,'Y','N','N','N','N','Y','N','N','Y','N','Y','Activation Method',TO_TIMESTAMP('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +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=59484 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) +; + +-- Jun 17, 2010 3:43:12 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Activation_Method VARCHAR(2) DEFAULT 'AA' NOT NULL +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59485,275,0,10,53127,'Description',TO_TIMESTAMP('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-17 15:43:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59485 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) +; + +-- Jun 17, 2010 3:43:13 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59486,1939,0,20,53127,'IsDisposed',TO_TIMESTAMP('2010-06-17 15:43:13','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed','D',1,'The asset is no longer used and disposed','Y','N','N','N','N','N','N','N','Y','N','Y','Disposed',TO_TIMESTAMP('2010-06-17 15:43:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59486 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) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN IsDisposed CHAR(1) DEFAULT NULL CHECK (IsDisposed IN ('Y','N')) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59487,54166,0,17,53359,53127,'A_Asset_Status',TO_TIMESTAMP('2010-06-17 15:43:14','YYYY-MM-DD HH24:MI:SS'),0,'D',2,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Status',TO_TIMESTAMP('2010-06-17 15:43:14','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59487 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) +; + +-- Jun 17, 2010 3:43:14 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Asset_Status VARCHAR(2) DEFAULT NULL +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59488,54209,0,12,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','A_Disposal_Amt',TO_TIMESTAMP('2010-06-17 15:43:15','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Disposal Amount',TO_TIMESTAMP('2010-06-17 15:43:15','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59488 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) +; + +-- Jun 17, 2010 3:43:19 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Disposal_Amt NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59489,53485,0,22,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','Expense',TO_TIMESTAMP('2010-06-17 15:43:19','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Expense',TO_TIMESTAMP('2010-06-17 15:43:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59489 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) +; + +-- Jun 17, 2010 3:43:20 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN Expense NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Callout,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59490,53488,0,12,53127,'org.compiere.FA.CalloutA_Asset_Disposed.amt','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:43:20','YYYY-MM-DD HH24:MI:SS'),0,'0','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','A_Accumulated_Depr',TO_TIMESTAMP('2010-06-17 15:43:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +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=59490 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) +; + +-- Jun 17, 2010 3:43:24 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Accumulated_Depr NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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,Callout,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59491,514,0,17,125,53127,'org.compiere.FA.CalloutA_Asset_Disposed.asset','PostingType',TO_TIMESTAMP('2010-06-17 15:43:24','YYYY-MM-DD HH24:MI:SS'),0,'A','The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','Y','N','Y','PostingType',TO_TIMESTAMP('2010-06-17 15:43:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59491 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) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN PostingType CHAR(1) DEFAULT 'A' NOT NULL +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59492,1308,0,28,234,53127,'Posted',TO_TIMESTAMP('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'N','Posting status','D',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','Y','N','N','Y','N','Y','Posted',TO_TIMESTAMP('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +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=59492 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) +; + +-- Jun 17, 2010 3:43:25 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN Posted CHAR(1) DEFAULT 'N' NOT NULL +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,ValueMin,Version) VALUES (0,59493,54210,0,12,53127,'A_Accumulated_Depr_Delta',TO_TIMESTAMP('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Accumulated Depreciation (delta)',TO_TIMESTAMP('2010-06-17 15:43:25','YYYY-MM-DD HH24:MI:SS'),0,'0',0) +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +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=59493 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) +; + +-- Jun 17, 2010 3:43:27 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Accumulated_Depr_Delta NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59494,53489,0,12,53127,'A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:43:27','YYYY-MM-DD HH24:MI:SS'),0,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','A_Asset_Cost',TO_TIMESTAMP('2010-06-17 15:43:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +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=59494 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) +; + +-- Jun 17, 2010 3:43:30 PM CDT +-- Generated Central ID for Fixed Asset +ALTER TABLE A_Asset_Disposed ADD COLUMN A_Asset_Cost NUMERIC DEFAULT NULL +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59478, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Period_Start', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59335 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59335 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59475, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Adjust Accumulated Depreciation', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59336 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59336 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59454, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Indicates if this document requires approval', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Approved', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59337 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59461, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Currency Conversion Rate Type', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Currency Type', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59338 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59477, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Posting status', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Posted', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59339 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59474, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59340 +; + +-- Jun 17, 2010 3:43:31 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59340 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59468, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Currency Conversion Rate', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Rate', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59341 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59453, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Create Asset', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59342 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59342 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59465, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Date of the Document', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Date', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59343 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59467, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Accounting Date', DisplayLength=7, DisplayLogic=NULL, EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Account Date', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59344 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59456, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Invoice Detail Line', DisplayLength=22, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help='The Invoice Line uniquely identifies a single line of an Invoice.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Invoice Line', SeqNo=120, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59345 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59455, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Match Shipment/Receipt to Invoice', DisplayLength=10, DisplayLogic='@A_SourceType@=''INV''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Match Invoice', SeqNo=130, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59346 +; + +-- Jun 17, 2010 3:43:32 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59346 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59473, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Financial Project', DisplayLength=10, DisplayLogic='@A_SourceType@=''PRJ'' + +', EntityType='D', Help='A Project allows you to track and control internal or external activities.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Project', SeqNo=150, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59347 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59479, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Additional document charges', DisplayLength=10, DisplayLogic='@A_SourceType@=''MAN''''', EntityType='D', Help='The Charge indicates a type of Charge (Handling, Shipping, Restocking)', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Charge', SeqNo=160, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59348 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59466, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic='@A_SourceType@=''IMP''', EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Imported Fixed Asset', SeqNo=170, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59349 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59349 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59457, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=180, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59350 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59458, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Product Attribute Set Instance', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Attribute Set Instance', SeqNo=190, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59351 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59459, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Warehouse Locator', DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Locator', SeqNo=200, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59352 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59462, AD_FieldGroup_ID=103, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Source Amount', SeqNo=220, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59353 +; + +-- Jun 17, 2010 3:43:33 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59353 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59476, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Entered Amount', SeqNo=240, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59354 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59354 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59460, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The Currency for this record', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help='Indicates the Currency to be used when processing or reporting on this record', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Currency', SeqNo=250, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59355 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59469, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='A_Accumulated_Depr', SeqNo=270, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59356 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59356 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59470, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Accumulated Depreciation (fiscal)', SeqNo=280, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59357 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59357 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59463, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Delta Use Life Years', SeqNo=290, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59358 +; + +-- Jun 17, 2010 3:43:34 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59358 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59464, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='Delta Use Life Years (fiscal)', DisplayLength=22, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Delta Use Life Years (fiscal)', SeqNo=300, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59359 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59359 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59471, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Life periods (min)', SeqNo=310, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59360 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59360 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59472, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=10, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Life periods (max)', SeqNo=320, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59361 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59361 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59450, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The document has been processed', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Processed', SeqNo=330, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59362 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59451, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The current status of the document', DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help='The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Document Status', SeqNo=340, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59363 +; + +-- Jun 17, 2010 3:43:35 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Field SET AD_Column_ID=59452, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=53323, AD_Val_Rule_ID=NULL, Description='The targeted status of the document', DisplayLength=2, DisplayLogic=NULL, EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Document Action', SeqNo=350, SortNo=0,Updated=TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59364 +; + +-- Jun 17, 2010 3:43:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59454,59365,0,53324,TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','N','N','N','N','N','Approved',0,0,TO_TIMESTAMP('2010-06-17 15:43:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59365 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) +; + +-- Jun 17, 2010 3:43:41 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59468,59366,0,53324,TO_TIMESTAMP('2010-06-17 15:43:36','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate',22,'D','The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency','Y','Y','N','N','N','N','N','Rate',0,0,TO_TIMESTAMP('2010-06-17 15:43:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:41 PM CDT +-- Generated Central ID for Fixed Asset +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=59366 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) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59453,59367,0,53324,TO_TIMESTAMP('2010-06-17 15:43:41','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','Y','Create Asset',50,0,TO_TIMESTAMP('2010-06-17 15:43:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59367 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) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59465,59368,0,53324,TO_TIMESTAMP('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0,'Date of the Document',7,'D','The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.','Y','Y','Y','N','N','N','N','Document Date',60,0,TO_TIMESTAMP('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59368 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) +; + +-- Jun 17, 2010 3:43:44 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59467,59369,0,53324,TO_TIMESTAMP('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','Y','Account Date',70,0,TO_TIMESTAMP('2010-06-17 15:43:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:44 PM CDT +-- Generated Central ID for Fixed Asset +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=59369 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) +; + +-- Jun 17, 2010 3:43:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59455,59370,0,53324,TO_TIMESTAMP('2010-06-17 15:43:44','YYYY-MM-DD HH24:MI:SS'),0,'Match Shipment/Receipt to Invoice',10,'@A_SourceType@=''INV''','D','Y','Y','Y','N','N','N','N','Match Invoice',130,0,TO_TIMESTAMP('2010-06-17 15:43:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59370 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) +; + +-- Jun 17, 2010 3:43:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59456,59371,0,53324,TO_TIMESTAMP('2010-06-17 15:43:45','YYYY-MM-DD HH24:MI:SS'),0,'Invoice Detail Line',22,'@A_SourceType@=''INV''','D','The Invoice Line uniquely identifies a single line of an Invoice.','Y','Y','Y','N','N','N','N','Invoice Line',140,0,TO_TIMESTAMP('2010-06-17 15:43:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:43:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59371 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) +; + +-- Jun 17, 2010 3:44:02 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59473,59372,0,53324,TO_TIMESTAMP('2010-06-17 15:43:49','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'@A_SourceType@=''PRJ''','D','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','Project',160,0,TO_TIMESTAMP('2010-06-17 15:43:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:02 PM CDT +-- Generated Central ID for Fixed Asset +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=59372 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) +; + +-- Jun 17, 2010 3:44:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59479,59373,0,53324,TO_TIMESTAMP('2010-06-17 15:44:02','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges',10,'@A_SourceType@=''MAN''','D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','Charge',170,0,TO_TIMESTAMP('2010-06-17 15:44:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59373 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) +; + +-- Jun 17, 2010 3:44:04 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59466,59374,0,53324,TO_TIMESTAMP('2010-06-17 15:44:03','YYYY-MM-DD HH24:MI:SS'),0,22,'@A_SourceType@=''IMP''','D','Y','Y','Y','N','N','N','N','Imported Fixed Asset',180,0,TO_TIMESTAMP('2010-06-17 15:44:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:04 PM CDT +-- Generated Central ID for Fixed Asset +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=59374 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) +; + +-- Jun 17, 2010 3:44:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59457,59375,0,53324,TO_TIMESTAMP('2010-06-17 15:44:04','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','Product',190,0,TO_TIMESTAMP('2010-06-17 15:44:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59375 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) +; + +-- Jun 17, 2010 3:44:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59458,59376,0,53324,TO_TIMESTAMP('2010-06-17 15:44:05','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',10,'D','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','Y','Attribute Set Instance',200,0,TO_TIMESTAMP('2010-06-17 15:44:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59376 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) +; + +-- Jun 17, 2010 3:44:07 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59459,59377,0,53324,TO_TIMESTAMP('2010-06-17 15:44:06','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','Locator',210,0,TO_TIMESTAMP('2010-06-17 15:44:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:07 PM CDT +-- Generated Central ID for Fixed Asset +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=59377 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) +; + +-- Jun 17, 2010 3:44:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59476,103,59378,0,53324,TO_TIMESTAMP('2010-06-17 15:44:07','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Entered Amount',230,0,TO_TIMESTAMP('2010-06-17 15:44:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:11 PM CDT +-- Generated Central ID for Fixed Asset +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=59378 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) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59462,59379,0,53324,TO_TIMESTAMP('2010-06-17 15:44:11','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','Y','Source Amount',250,0,TO_TIMESTAMP('2010-06-17 15:44:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59379 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) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59461,59380,0,53324,TO_TIMESTAMP('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type',22,'D','The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','Y','N','N','N','N','Currency Type',270,0,TO_TIMESTAMP('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:13 PM CDT +-- Generated Central ID for Fixed Asset +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=59380 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) +; + +-- Jun 17, 2010 3:44:14 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59460,59381,0,53324,TO_TIMESTAMP('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',22,'D','Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','N','N','Y','Currency',280,0,TO_TIMESTAMP('2010-06-17 15:44:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:14 PM CDT +-- Generated Central ID for Fixed Asset +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=59381 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) +; + +-- Jun 17, 2010 3:44:15 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59471,59382,0,53324,TO_TIMESTAMP('2010-06-17 15:44:14','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Life periods (min)',290,0,TO_TIMESTAMP('2010-06-17 15:44:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:15 PM CDT +-- Generated Central ID for Fixed Asset +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=59382 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) +; + +-- Jun 17, 2010 3:44:19 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59472,59383,0,53324,TO_TIMESTAMP('2010-06-17 15:44:15','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Life periods (max)',300,0,TO_TIMESTAMP('2010-06-17 15:44:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:19 PM CDT +-- Generated Central ID for Fixed Asset +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=59383 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) +; + +-- Jun 17, 2010 3:44:20 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59463,59384,0,53324,TO_TIMESTAMP('2010-06-17 15:44:19','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Delta Use Life Years',310,0,TO_TIMESTAMP('2010-06-17 15:44:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:20 PM CDT +-- Generated Central ID for Fixed Asset +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=59384 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) +; + +-- Jun 17, 2010 3:44:21 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59464,59385,0,53324,TO_TIMESTAMP('2010-06-17 15:44:20','YYYY-MM-DD HH24:MI:SS'),0,'Delta Use Life Years (fiscal)',22,'D','Y','Y','Y','N','N','N','Y','Delta Use Life Years (fiscal)',320,0,TO_TIMESTAMP('2010-06-17 15:44:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:21 PM CDT +-- Generated Central ID for Fixed Asset +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=59385 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) +; + +-- Jun 17, 2010 3:44:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59475,50020,59386,0,53324,TO_TIMESTAMP('2010-06-17 15:44:21','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Adjust Accumulated Depreciation',330,0,TO_TIMESTAMP('2010-06-17 15:44:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:22 PM CDT +-- Generated Central ID for Fixed Asset +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=59386 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) +; + +-- Jun 17, 2010 3:44:28 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59469,59387,0,53324,TO_TIMESTAMP('2010-06-17 15:44:22','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',340,0,TO_TIMESTAMP('2010-06-17 15:44:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:28 PM CDT +-- Generated Central ID for Fixed Asset +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=59387 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) +; + +-- Jun 17, 2010 3:44:29 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59470,59388,0,53324,TO_TIMESTAMP('2010-06-17 15:44:28','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','Y','N','Accumulated Depreciation (fiscal)',350,0,TO_TIMESTAMP('2010-06-17 15:44:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:29 PM CDT +-- Generated Central ID for Fixed Asset +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=59388 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) +; + +-- Jun 17, 2010 3:44:31 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59478,59389,0,53324,TO_TIMESTAMP('2010-06-17 15:44:29','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Period_Start',360,0,TO_TIMESTAMP('2010-06-17 15:44:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:31 PM CDT +-- Generated Central ID for Fixed Asset +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=59389 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) +; + +-- Jun 17, 2010 3:44:32 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59451,114,59390,0,53324,TO_TIMESTAMP('2010-06-17 15:44:31','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',370,0,TO_TIMESTAMP('2010-06-17 15:44:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:32 PM CDT +-- Generated Central ID for Fixed Asset +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=59390 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) +; + +-- Jun 17, 2010 3:44:33 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59474,59391,0,53324,TO_TIMESTAMP('2010-06-17 15:44:32','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','Process Now',380,0,TO_TIMESTAMP('2010-06-17 15:44:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:33 PM CDT +-- Generated Central ID for Fixed Asset +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=59391 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) +; + +-- Jun 17, 2010 3:44:34 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59450,59392,0,53324,TO_TIMESTAMP('2010-06-17 15:44:33','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',390,0,TO_TIMESTAMP('2010-06-17 15:44:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:34 PM CDT +-- Generated Central ID for Fixed Asset +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=59392 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) +; + +-- Jun 17, 2010 3:44:36 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59452,59393,0,53324,TO_TIMESTAMP('2010-06-17 15:44:34','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',400,0,TO_TIMESTAMP('2010-06-17 15:44:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:36 PM CDT +-- Generated Central ID for Fixed Asset +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=59393 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) +; + +-- Jun 17, 2010 3:44:38 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59477,59394,0,53324,TO_TIMESTAMP('2010-06-17 15:44:36','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',410,0,TO_TIMESTAMP('2010-06-17 15:44:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:38 PM CDT +-- Generated Central ID for Fixed Asset +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=59394 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) +; + +-- Jun 17, 2010 3:44:42 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59483,59395,0,53325,TO_TIMESTAMP('2010-06-17 15:44:38','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',30,'D','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Document No',30,0,TO_TIMESTAMP('2010-06-17 15:44:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:42 PM CDT +-- Generated Central ID for Fixed Asset +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=59395 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) +; + +-- Jun 17, 2010 3:44:45 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59485,59396,0,53325,TO_TIMESTAMP('2010-06-17 15:44:42','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2010-06-17 15:44:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:45 PM CDT +-- Generated Central ID for Fixed Asset +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=59396 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) +; + +-- Jun 17, 2010 3:44:46 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59484,59397,0,53325,TO_TIMESTAMP('2010-06-17 15:44:45','YYYY-MM-DD HH24:MI:SS'),0,2,'D','Y','Y','Y','N','N','N','N','Activation Method',90,0,TO_TIMESTAMP('2010-06-17 15:44:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:46 PM CDT +-- Generated Central ID for Fixed Asset +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=59397 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) +; + +-- Jun 17, 2010 3:44:48 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59494,59398,0,53325,TO_TIMESTAMP('2010-06-17 15:44:46','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Asset_Cost',120,0,TO_TIMESTAMP('2010-06-17 15:44:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:48 PM CDT +-- Generated Central ID for Fixed Asset +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=59398 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) +; + +-- Jun 17, 2010 3:44:49 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59490,59399,0,53325,TO_TIMESTAMP('2010-06-17 15:44:48','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','A_Accumulated_Depr',130,0,TO_TIMESTAMP('2010-06-17 15:44:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:49 PM CDT +-- Generated Central ID for Fixed Asset +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=59399 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) +; + +-- Jun 17, 2010 3:44:50 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59493,59400,0,53325,TO_TIMESTAMP('2010-06-17 15:44:49','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','Y','Accumulated Depreciation (delta)',140,0,TO_TIMESTAMP('2010-06-17 15:44:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:50 PM CDT +-- Generated Central ID for Fixed Asset +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=59400 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) +; + +-- Jun 17, 2010 3:44:52 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59489,59401,0,53325,TO_TIMESTAMP('2010-06-17 15:44:50','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','Expense',150,0,TO_TIMESTAMP('2010-06-17 15:44:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:52 PM CDT +-- Generated Central ID for Fixed Asset +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=59401 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) +; + +-- Jun 17, 2010 3:44:53 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59488,59402,0,53325,TO_TIMESTAMP('2010-06-17 15:44:52','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','Disposal Amount',160,0,TO_TIMESTAMP('2010-06-17 15:44:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:53 PM CDT +-- Generated Central ID for Fixed Asset +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=59402 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) +; + +-- Jun 17, 2010 3:44:54 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59491,59403,0,53325,TO_TIMESTAMP('2010-06-17 15:44:53','YYYY-MM-DD HH24:MI:SS'),0,'The type of posted amount for the transaction',1,'D','The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','Y','Y','N','N','N','N','PostingType',170,0,TO_TIMESTAMP('2010-06-17 15:44:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:54 PM CDT +-- Generated Central ID for Fixed Asset +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=59403 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) +; + +-- Jun 17, 2010 3:44:55 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59487,59404,0,53325,TO_TIMESTAMP('2010-06-17 15:44:54','YYYY-MM-DD HH24:MI:SS'),0,2,'D','Y','Y','Y','N','N','N','N','Asset Status',190,0,TO_TIMESTAMP('2010-06-17 15:44:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:55 PM CDT +-- Generated Central ID for Fixed Asset +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=59404 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) +; + +-- Jun 17, 2010 3:44:58 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59486,59405,0,53325,TO_TIMESTAMP('2010-06-17 15:44:55','YYYY-MM-DD HH24:MI:SS'),0,'The asset is disposed',1,'D','The asset is no longer used and disposed','Y','Y','Y','N','N','N','N','Disposed',200,0,TO_TIMESTAMP('2010-06-17 15:44:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:44:58 PM CDT +-- Generated Central ID for Fixed Asset +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=59405 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) +; + +-- Jun 17, 2010 3:45:03 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59481,59406,0,53325,TO_TIMESTAMP('2010-06-17 15:44:58','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','Document Status',210,0,TO_TIMESTAMP('2010-06-17 15:44:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:03 PM CDT +-- Generated Central ID for Fixed Asset +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=59406 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) +; + +-- Jun 17, 2010 3:45:05 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59482,59407,0,53325,TO_TIMESTAMP('2010-06-17 15:45:03','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval',1,'D','The Approved checkbox indicates if this document requires approval before it can be processed.','Y','Y','Y','N','N','N','N','Approved',220,0,TO_TIMESTAMP('2010-06-17 15:45:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:05 PM CDT +-- Generated Central ID for Fixed Asset +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=59407 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) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59480,59408,0,53325,TO_TIMESTAMP('2010-06-17 15:45:05','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','Document Action',230,0,TO_TIMESTAMP('2010-06-17 15:45:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59408 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) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59492,59409,0,53325,TO_TIMESTAMP('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',240,0,TO_TIMESTAMP('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:06 PM CDT +-- Generated Central ID for Fixed Asset +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=59409 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) +; + +-- Jun 17, 2010 3:45:09 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50117,50089,50116,TO_TIMESTAMP('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',100,TO_TIMESTAMP('2010-06-17 15:45:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_WF_NodeNext (AD_Client_ID,AD_Org_ID,AD_WF_Next_ID,AD_WF_NodeNext_ID,AD_WF_Node_ID,Created,CreatedBy,EntityType,IsActive,IsStdUserWorkflow,SeqNo,Updated,UpdatedBy) VALUES (0,0,50119,50090,50116,TO_TIMESTAMP('2010-06-17 15:45:09','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y',10,TO_TIMESTAMP('2010-06-17 15:45:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=251, "action"='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset',Updated=TO_TIMESTAMP('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 3 WHERE AD_Tree_ID = 10 AND Node_ID = 342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='Y', Name='Fixed Assets',Updated=TO_TIMESTAMP('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 0 , SeqNo = 13 WHERE AD_Tree_ID = 10 AND Node_ID = 53134 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=251, "action"='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset',Updated=TO_TIMESTAMP('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=342 +; + +-- Jun 17, 2010 3:45:11 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 3 WHERE AD_Tree_ID = 10 AND Node_ID = 342 +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53273,0,53113,'W',TO_TIMESTAMP('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Addition',TO_TIMESTAMP('2010-06-17 15:45:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53273 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:13 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,4, 10, 53273) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53274,0,53114,'W',TO_TIMESTAMP('2010-06-17 15:45:13','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Activation/Disposal',TO_TIMESTAMP('2010-06-17 15:45:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53274 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:14 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,6, 10, 53274) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53275,0,53115,'W',TO_TIMESTAMP('2010-06-17 15:45:14','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Change Account',TO_TIMESTAMP('2010-06-17 15:45:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53275 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,9, 10, 53275) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53276,0,53116,'W',TO_TIMESTAMP('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Class',TO_TIMESTAMP('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53276 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:15 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,1, 10, 53276) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53277,0,53117,'W',TO_TIMESTAMP('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Funding Mode',TO_TIMESTAMP('2010-06-17 15:45:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53277 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,11, 10, 53277) +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=252, "action"='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Asset Group',Updated=TO_TIMESTAMP('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=343 +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=343 +; + +-- Jun 17, 2010 3:45:16 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 0 WHERE AD_Tree_ID = 10 AND Node_ID = 343 +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53278,0,53118,'W',TO_TIMESTAMP('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Revaluation Asset',TO_TIMESTAMP('2010-06-17 15:45:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53278 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:17 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,5, 10, 53278) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53279,0,53119,'W',TO_TIMESTAMP('2010-06-17 15:45:17','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Asset Type',TO_TIMESTAMP('2010-06-17 15:45:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53279 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,2, 10, 53279) +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu SET AD_Window_ID=53052, "action"='W', Description=NULL, EntityType='D', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Build Depreciation Workfile',Updated=TO_TIMESTAMP('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53151 +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53151 +; + +-- Jun 17, 2010 3:45:18 PM CDT +-- Generated Central ID for Fixed Asset +UPDATE AD_TREENODEMM SET Parent_ID = 53134 , SeqNo = 10 WHERE AD_Tree_ID = 10 AND Node_ID = 53151 +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53280,0,53053,'W',TO_TIMESTAMP('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','N','Process Depreciation',TO_TIMESTAMP('2010-06-17 15:45:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53280 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 17, 2010 3:45:22 PM CDT +-- Generated Central ID for Fixed Asset +INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53134,7, 10, 53280) +; + +-- Jun 19, 2010 2:02:07 PM CDT +-- Model Validator Fixed Asset +INSERT INTO AD_ModelValidator (AD_Client_ID,AD_ModelValidator_ID,AD_Org_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,ModelValidationClass,Name,SeqNo,Updated,UpdatedBy) VALUES (0,50004,0,TO_TIMESTAMP('2010-06-19 14:02:00','YYYY-MM-DD HH24:MI:SS'),0,'Fixed Assets','D','Fixed Assets','Y','ro.arhipac.adempiere.fa.ModelValidator','Model Validator to Fixed Assets',70,TO_TIMESTAMP('2010-06-19 14:02:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 20, 2010 2:10:56 PM CDT +-- Fixed Asset +UPDATE AD_Table SET IsHighVolume='Y', Name='Addition Asset',Updated=TO_TIMESTAMP('2010-06-20 14:10:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:10:56 PM CDT +-- Fixed Asset +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:11:38 PM CDT +-- Fixed Asset +UPDATE AD_Table SET AccessLevel='7',Updated=TO_TIMESTAMP('2010-06-20 14:11:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 2:11:42 PM CDT +-- Fixed Asset +UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 14:11:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 1:25:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET IsBetaFunctionality='Y', IsSOTrx='N',Updated=TO_TIMESTAMP('2010-06-20 13:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53119 +; + +-- Jun 20, 2010 1:26:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53276 +; + +-- Jun 20, 2010 1:27:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 13:27:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53137 +; + +-- Jun 20, 2010 1:27:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET IsBetaFunctionality='Y', IsSOTrx='N',Updated=TO_TIMESTAMP('2010-06-20 13:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53118 +; + +-- Jun 20, 2010 1:28:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table SET AccessLevel='3', Name='Revaluation Asset',Updated=TO_TIMESTAMP('2010-06-20 13:28:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53275 +; + +-- Jun 20, 2010 1:28:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53275 +; + +-- Jun 20, 2010 1:39:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 13:39:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59290 +; + +-- Jun 20, 2010 1:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 13:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59296 +; + +-- Jun 20, 2010 1:46:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2010-06-20 13:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59466 +; + +-- Jun 20, 2010 2:01:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59121 +; + +-- Jun 20, 2010 2:01:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59120 +; + +-- Jun 20, 2010 2:01:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 14:01:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59120 +; + +-- *** migration/FA/postgresql/002_FA_Stabilization_postgresql.sql *** + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59391 +; + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59393 +; + +-- Jun 20, 2010 4:17:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:17:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 16:17:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59392 +; + +-- Jun 20, 2010 4:18:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 16:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59393 +; + +-- Jun 20, 2010 4:18:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 16:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53324 +; + +-- Jun 20, 2010 4:18:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 16:18:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:19:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 16:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59390 +; + +-- Jun 20, 2010 4:20:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59392 +; + +-- Jun 20, 2010 4:20:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Create Date', PrintName='Create Date',Updated=TO_TIMESTAMP('2010-06-20 16:25:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53526 +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL, AD_Element_ID=53526 WHERE UPPER(ColumnName)='A_ASSET_CREATEDATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_CreateDate', Name='Create Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53526 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Create Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53526) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:25:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Create Date', Name='Create Date' 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=53526) +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Parent Asset', PrintName='Parent Asset',Updated=TO_TIMESTAMP('2010-06-20 16:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL, AD_Element_ID=53528 WHERE UPPER(ColumnName)='A_PARENT_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Parent Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53528) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Parent Asset', Name='Parent Asset' 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=53528) +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Revaluation Date', PrintName='Revaluation Date',Updated=TO_TIMESTAMP('2010-06-20 16:26:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53527 +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL, AD_Element_ID=53527 WHERE UPPER(ColumnName)='A_ASSET_REVALDATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_RevalDate', Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53527 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Revaluation Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53527) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:26:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Date', Name='Revaluation Date' 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=53527) +; + +-- Jun 20, 2010 4:27:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 16:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=450 +; + +-- Jun 20, 2010 4:31:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('a_asset_group','A_Asset_Type_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 20, 2010 4:35:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2010-06-20 16:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58996 +; + +-- Jun 20, 2010 4:36:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 16:36:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:36:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 16:36:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:36:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 16:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:36:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 16:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58996 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=6154 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6149 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=8345 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6146 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=58993 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6135 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=6143 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=6166 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=55830 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=55831 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=12106 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=58994 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=6139 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=6165 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=6147 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=6136 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=6138 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=12107 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=6151 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=6159 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=6156 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=12876 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=12875 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6160 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6213 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=6148 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=6142 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:37:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Jun 20, 2010 4:37:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Jun 20, 2010 4:38:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 16:38:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58997 +; + +-- Jun 20, 2010 4:40:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET PrintName='Costo del Activo',Updated=TO_TIMESTAMP('2010-06-20 16:40:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 AND AD_Language='es_MX' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Gain', PrintName='Disposal Gain',Updated=TO_TIMESTAMP('2010-06-20 16:43:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Element_ID=53532 +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL, AD_Element_ID=53532 WHERE UPPER(ColumnName)='A_DISPOSAL_GAIN' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Gain', Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Element_ID=53532 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Gain', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53532) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:43:47 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposal Gain', Name='Disposal Gain' 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=53532) +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Revenue', PrintName='Disposal Revenue',Updated=TO_TIMESTAMP('2010-06-20 16:44:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=54195 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54195) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposal Revenue', Name='Disposal Revenue' 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=54195) +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Revenue Str',Updated=TO_TIMESTAMP('2010-06-20 16:44:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str' 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=53561) +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description=NULL, PrintName='Disposal Revenue Str',Updated=TO_TIMESTAMP('2010-06-20 16:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Revenue Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposal Revenue Str', Name='Disposal Revenue Str' 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=53561) +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Date', PrintName='Disposed Date',Updated=TO_TIMESTAMP('2010-06-20 16:44:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL, AD_Element_ID=53551 WHERE UPPER(ColumnName)='A_DISPOSED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53551) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposed Date', Name='Disposed Date' 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=53551) +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Method', PrintName='Disposed Method',Updated=TO_TIMESTAMP('2010-06-20 16:44:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL, AD_Element_ID=53554 WHERE UPPER(ColumnName)='A_DISPOSED_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53554) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:44:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposed Method', Name='Disposed Method' 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=53554) +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposed Reason',Updated=TO_TIMESTAMP('2010-06-20 16:45:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL, AD_Element_ID=53552 WHERE UPPER(ColumnName)='A_DISPOSED_REASON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposed Reason', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53552) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='A_Disposed_Reason', Name='Disposed Reason' 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=53552) +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Disposed Reason',Updated=TO_TIMESTAMP('2010-06-20 16:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Jun 20, 2010 4:45:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposed Reason', Name='Disposed Reason' 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=53552) +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Disposal Loss Str', PrintName='Disposal Loss Str',Updated=TO_TIMESTAMP('2010-06-20 16:45:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL, AD_Element_ID=53563 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Disposal Loss Str', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53563) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 4:45:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Disposal Loss Str', Name='Disposal Loss Str' 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=53563) +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Contract Date', PrintName='Contract Date',Updated=TO_TIMESTAMP('2010-06-20 17:25:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL, AD_Element_ID=53602 WHERE UPPER(ColumnName)='A_CONTRACT_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53602) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Contract Date', Name='Contract Date' 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=53602) +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Due On', PrintName='Asset Due On',Updated=TO_TIMESTAMP('2010-06-20 17:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL, AD_Element_ID=53595 WHERE UPPER(ColumnName)='A_DUE_ON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Due On', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53595) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Due On', Name='Asset Due On' 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=53595) +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Expired Date', PrintName='Asset Expired Date',Updated=TO_TIMESTAMP('2010-06-20 17:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL, AD_Element_ID=53601 WHERE UPPER(ColumnName)='A_EXPIRED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Expired Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53601) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:26:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Expired Date', Name='Asset Expired Date' 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=53601) +; + +-- Jun 20, 2010 5:27:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Finance Method', PrintName='Asset Finance Method',Updated=TO_TIMESTAMP('2010-06-20 17:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Finance Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Finance Method', Name='Asset Finance Method' 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=53593) +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Monthly Payment', PrintName='Asset Monthly Payment',Updated=TO_TIMESTAMP('2010-06-20 17:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL, AD_Element_ID=53600 WHERE UPPER(ColumnName)='A_MONTHLY_PAYMENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Monthly Payment', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53600) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:27:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Monthly Payment', Name='Asset Monthly Payment' 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=53600) +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Info Financial ID', PrintName='Asset Info Financial ID',Updated=TO_TIMESTAMP('2010-06-20 17:28:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53594 +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL, AD_Element_ID=53594 WHERE UPPER(ColumnName)='A_ASSET_INFO_FIN_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Fin_ID', Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53594 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Info Financial ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53594) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:28:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Info Financial ID', Name='Asset Info Financial ID' 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=53594) +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Asset Cost',Updated=TO_TIMESTAMP('2010-06-20 17:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL, AD_Element_ID=53489 WHERE UPPER(ColumnName)='A_ASSET_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost', Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Element_ID=53489 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:29:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Cost', Description='Asset Cost', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53489) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Proceeds', PrintName='Asset Proceeds',Updated=TO_TIMESTAMP('2010-06-20 17:32:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Element_ID=53553 +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL, AD_Element_ID=53553 WHERE UPPER(ColumnName)='A_PROCEEDS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Proceeds', Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Element_ID=53553 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Proceeds', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53553) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:32:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Proceeds', Name='Asset Proceeds' 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=53553) +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Trade', PrintName='Asset Trade',Updated=TO_TIMESTAMP('2010-06-20 17:33:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Element_ID=53555 +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL, AD_Element_ID=53555 WHERE UPPER(ColumnName)='A_ASSET_TRADE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Trade_ID', Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Element_ID=53555 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Trade', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53555) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:33:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Trade', Name='Asset Trade' 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=53555) +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset License No', PrintName='Asset License No',Updated=TO_TIMESTAMP('2010-06-20 17:34:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL, AD_Element_ID=53616 WHERE UPPER(ColumnName)='A_LICENSE_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset License No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53616) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:34:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset License No', Name='Asset License No' 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=53616) +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset License Fee', PrintName='Asset License Fee',Updated=TO_TIMESTAMP('2010-06-20 17:35:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL, AD_Element_ID=53614 WHERE UPPER(ColumnName)='A_LICENSE_FEE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset License Fee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53614) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset License Fee', Name='Asset License Fee' 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=53614) +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Renewal Date', PrintName='Asset Renewal Date',Updated=TO_TIMESTAMP('2010-06-20 17:35:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:35:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Renewal Date', Name='Asset Renewal Date' 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=53615) +; + +-- Jun 20, 2010 5:36:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 17:36:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55968 +; + +-- Jun 20, 2010 5:36:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 17:36:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55966 +; + +-- Jun 20, 2010 5:37:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 17:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53322 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Accumulated Depreciation',Updated=TO_TIMESTAMP('2010-06-20 17:38:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL, AD_Element_ID=53488 WHERE UPPER(ColumnName)='A_ACCUMULATED_DEPR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:38:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Accumulated_Depr', Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Element_ID=53488 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Accumulated Depreciation', Description='Accumulated Depreciation', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53488) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Period', PrintName='Asset Period',Updated=TO_TIMESTAMP('2010-06-20 17:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL, AD_Element_ID=53477 WHERE UPPER(ColumnName)='A_PERIOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Period', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53477) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:38:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Period', Name='Asset Period' 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=53477) +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Disposed', PrintName='Asset Disposed',Updated=TO_TIMESTAMP('2010-06-20 17:39:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Element_ID=53550 +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL, AD_Element_ID=53550 WHERE UPPER(ColumnName)='A_ASSET_DISPOSED_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Disposed_ID', Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Element_ID=53550 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Disposed', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53550) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:39:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Disposed', Name='Asset Disposed' 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=53550) +; + +-- Jun 20, 2010 5:40:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164 +; + +-- Jun 20, 2010 5:40:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451 +; + +-- Jun 20, 2010 5:40:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53158 +; + +-- Jun 20, 2010 5:40:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=793 +; + +-- Jun 20, 2010 5:40:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53160 +; + +-- Jun 20, 2010 5:40:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53155 +; + +-- Jun 20, 2010 5:40:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2010-06-20 17:40:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53161 +; + +-- Jun 20, 2010 5:41:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 17:41:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451 +; + +-- Jun 20, 2010 5:41:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 17:41:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53158 +; + +-- Jun 20, 2010 5:41:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 17:41:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=793 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Insurance Company',Updated=TO_TIMESTAMP('2010-06-20 17:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL, AD_Element_ID=53622 WHERE UPPER(ColumnName)='A_INSURANCE_CO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53622) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:43:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='A_Insurance_Co', Name='Insurance Company' 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=53622) +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Insurance Company',Updated=TO_TIMESTAMP('2010-06-20 17:43:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Jun 20, 2010 5:43:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Insurance Company', Name='Insurance Company' 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=53622) +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Policy No', PrintName='Asset Policy No',Updated=TO_TIMESTAMP('2010-06-20 17:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL, AD_Element_ID=53620 WHERE UPPER(ColumnName)='A_POLICY_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Policy No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53620) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:44:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Policy No', Name='Asset Policy No' 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=53620) +; + +-- Jun 20, 2010 5:45:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Insurance Premium', PrintName='Asset Insurance Premium',Updated=TO_TIMESTAMP('2010-06-20 17:45:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL, AD_Element_ID=53623 WHERE UPPER(ColumnName)='A_INS_PREMIUM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Insurance Premium', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53623) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Insurance Premium', Name='Asset Insurance Premium' 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=53623) +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Replace Cost', PrintName='Asset Replace Cost',Updated=TO_TIMESTAMP('2010-06-20 17:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL, AD_Element_ID=53621 WHERE UPPER(ColumnName)='A_REPLACE_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Replace Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53621) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:45:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Replace Cost', Name='Asset Replace Cost' 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=53621) +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Insurance Value', PrintName='Asset Insurance Value',Updated=TO_TIMESTAMP('2010-06-20 17:46:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL, AD_Element_ID=53619 WHERE UPPER(ColumnName)='A_INS_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Insurance Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53619) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:46:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Insurance Value', Name='Asset Insurance Value' 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=53619) +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Tax Entity', PrintName='Asset Tax Entity',Updated=TO_TIMESTAMP('2010-06-20 17:48:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL, AD_Element_ID=53591 WHERE UPPER(ColumnName)='A_TAX_ENTITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Tax Entity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53591) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Tax Entity', Name='Asset Tax Entity' 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=53591) +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset New Used', PrintName='Asset New Used',Updated=TO_TIMESTAMP('2010-06-20 17:48:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL, AD_Element_ID=53592 WHERE UPPER(ColumnName)='A_NEW_USED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset New Used', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53592) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:48:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset New Used', Name='Asset New Used' 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=53592) +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Investment CR', PrintName='Asset Investment CR',Updated=TO_TIMESTAMP('2010-06-20 17:49:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL, AD_Element_ID=53590 WHERE UPPER(ColumnName)='A_INVESTMENT_CR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Investment CR', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53590) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Investment CR', Name='Asset Investment CR' 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=53590) +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Info Tax', PrintName='Asset Info Tax',Updated=TO_TIMESTAMP('2010-06-20 17:49:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Element_ID=53589 +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL, AD_Element_ID=53589 WHERE UPPER(ColumnName)='A_ASSET_INFO_TAX_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Info_Tax_ID', Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Element_ID=53589 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Info Tax', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53589) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:49:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Info Tax', Name='Asset Info Tax' 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=53589) +; + +-- Jun 20, 2010 5:50:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2010-06-20 17:50:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164 +; + +-- Jun 20, 2010 5:50:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2010-06-20 17:50:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53160 +; + +-- Jun 20, 2010 5:50:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2010-06-20 17:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53155 +; + +-- Jun 20, 2010 5:50:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2010-06-20 17:50:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53161 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Cost Change', PrintName='Asset Cost Change',Updated=TO_TIMESTAMP('2010-06-20 17:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Element_ID=54229 +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL, AD_Element_ID=54229 WHERE UPPER(ColumnName)='A_ASSET_COST_CHANGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Cost_Change', Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Element_ID=54229 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Cost Change', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54229) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:53:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Cost Change', Name='Asset Cost Change' 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=54229) +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Revaluation', PrintName='Asset Revaluation',Updated=TO_TIMESTAMP('2010-06-20 17:54:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Element_ID=54228 +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL, AD_Element_ID=54228 WHERE UPPER(ColumnName)='A_ASSET_REVAL_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Asset_Reval_ID', Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Element_ID=54228 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Revaluation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54228) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:54:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Revaluation', Name='Asset Revaluation' 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=54228) +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Change Acumulated Depreciation', PrintName='Change Acumulated Depreciation',Updated=TO_TIMESTAMP('2010-06-20 17:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=54230 +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL, AD_Element_ID=54230 WHERE UPPER(ColumnName)='A_CHANGE_ACUMULATED_DEPR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Change_Acumulated_Depr', Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=54230 AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Change Acumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54230) AND IsCentrallyMaintained='Y' +; + +-- Jun 20, 2010 5:55:07 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Change Acumulated Depreciation', Name='Change Acumulated Depreciation' 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=54230) +; + +-- Jun 20, 2010 5:55:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 17:55:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59284 +; + +-- Jun 20, 2010 5:55:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N', IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 17:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59285 +; + +-- Jun 20, 2010 5:55:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2010-06-20 17:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59284 +; + +-- Jun 20, 2010 5:56:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 17:56:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59283 +; + +-- Jun 20, 2010 5:56:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 17:56:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59286 +; + +-- Jun 20, 2010 5:56:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 17:56:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59287 +; + +-- Jun 20, 2010 5:57:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 17:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59287 +; + +-- Jun 20, 2010 5:57:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 17:57:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59286 +; + +-- Jun 20, 2010 5:59:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 17:59:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 18:00:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:00:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:00:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59138 +; + +-- Jun 20, 2010 6:00:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59139 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59397 +; + +-- Jun 20, 2010 6:00:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:01:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 18:01:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59137 +; + +-- Jun 20, 2010 6:01:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59140 +; + +-- Jun 20, 2010 6:01:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 18:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:01:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59397 +; + +-- Jun 20, 2010 6:03:11 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=20,Updated=TO_TIMESTAMP('2010-06-20 18:03:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59395 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59402 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:03:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:04:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59141 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59142 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59406 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:04:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59409 +; + +-- Jun 20, 2010 6:04:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:05:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 18:05:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:05:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 18:05:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59403 +; + +-- Jun 20, 2010 6:05:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Jun 20, 2010 6:06:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:06:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:06:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 18:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59406 +; + +-- Jun 20, 2010 6:06:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Jun 20, 2010 6:06:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:07:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 18:07:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59407 +; + +-- Jun 20, 2010 6:07:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 18:07:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59409 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59224 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:09:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59227 +; + +-- Jun 20, 2010 6:09:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:09:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:09:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 18:09:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:09:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101, IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-20 18:09:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59227 +; + +-- Jun 20, 2010 6:09:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 18:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59226 +; + +-- Jun 20, 2010 6:10:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2010-06-20 18:10:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59225 +; + +-- Jun 20, 2010 6:10:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-20 18:10:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55794 +; + +-- Jun 20, 2010 6:11:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-20 18:11:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59244 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59248 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59245 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59246 +; + +-- Jun 20, 2010 6:11:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59247 +; + +-- Jun 20, 2010 6:12:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 18:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53329 +; + +-- Jun 20, 2010 6:12:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-20 18:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53330 +; + +-- Jun 20, 2010 6:14:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3', Name='Asset Parent Report',Updated=TO_TIMESTAMP('2010-06-20 18:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53115 +; + +-- Jun 20, 2010 6:14:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53115 +; + +-- Jun 20, 2010 6:14:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description=NULL, IsActive='Y', Name='Asset Parent Report',Updated=TO_TIMESTAMP('2010-06-20 18:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53156 +; + +-- Jun 20, 2010 6:14:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53156 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Asset Group Defaults',Updated=TO_TIMESTAMP('2010-06-20 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Lists Asset Group Settings & Defaults', IsActive='Y', Name='Asset Group Defaults',Updated=TO_TIMESTAMP('2010-06-20 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53162 +; + +-- Jun 20, 2010 6:15:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53162 +; + +-- Jun 20, 2010 6:15:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 18:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53131 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Depreciation Table',Updated=TO_TIMESTAMP('2010-06-20 18:15:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description=NULL, IsActive='Y', Name='Depreciation Table',Updated=TO_TIMESTAMP('2010-06-20 18:15:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53157 +; + +-- Jun 20, 2010 6:15:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53157 +; + +-- Jun 20, 2010 6:15:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 18:15:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53117 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Asset Convention Report',Updated=TO_TIMESTAMP('2010-06-20 18:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Asset Convention Report', IsActive='Y', Name='Asset Convention Report',Updated=TO_TIMESTAMP('2010-06-20 18:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53160 +; + +-- Jun 20, 2010 6:16:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53160 +; + +-- Jun 20, 2010 6:16:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-20 18:16:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53125 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3', Name='Asset Depreciation Method',Updated=TO_TIMESTAMP('2010-06-20 18:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53121 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53121 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='List Depreciation Methods', IsActive='Y', Name='Asset Depreciation Method',Updated=TO_TIMESTAMP('2010-06-20 18:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53159 +; + +-- Jun 20, 2010 6:16:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53159 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET Name='Depreciation Calculation Methods',Updated=TO_TIMESTAMP('2010-06-20 18:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53129 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53129 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='List Depreciation Calculation Methods Available', IsActive='Y', Name='Depreciation Calculation Methods',Updated=TO_TIMESTAMP('2010-06-20 18:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53161 +; + +-- Jun 20, 2010 6:16:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53161 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:17:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:18:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:18:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:19:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:19:23 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:19:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:19:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:20:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:20:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:20:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 20, 2010 6:20:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:20:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:20:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 20, 2010 6:21:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 20, 2010 6:21:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:55 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:21:57 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 20, 2010 6:22:44 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53163 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53135 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53134, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:22:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:24:05 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:25:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 20, 2010 6:25:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 20, 2010 6:25:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 20, 2010 6:25:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu SET Description='Asset Type',Updated=TO_TIMESTAMP('2010-06-20 18:25:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Jun 20, 2010 6:25:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53279 +; + +-- *** migration/FA/postgresql/003_FA_Stabilization_postgresql.sql *** + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53120,TO_TIMESTAMP('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','Y','Imported Fixed Asset','N',TO_TIMESTAMP('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'M') +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53120 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53277,53120,'3',TO_TIMESTAMP('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','Y','N','N','Imported Fixed Asset','L','I_FixedAsset',TO_TIMESTAMP('2010-06-20 15:50:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:46 PM CDT +-- Fixed Asset +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53277 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53391,TO_TIMESTAMP('2010-06-23 18:59:34','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table I_FixedAsset',1,'Y','N','Y','Y','I_FixedAsset','N',1000000,TO_TIMESTAMP('2010-06-23 18:59:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_FixedAsset_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Imported Fixed Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported Fixed Asset',Updated=TO_TIMESTAMP('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54205 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54205 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=13 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59496,54205,0,13,53277,'I_FixedAsset_ID',TO_TIMESTAMP('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','Y','N','N','Imported Fixed Asset',TO_TIMESTAMP('2010-06-20 15:50:47','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:47 PM CDT +-- Fixed Asset +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=59496 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +CREATE TABLE I_FixedAsset (I_FixedAsset_ID NUMERIC(10) DEFAULT NULL , CONSTRAINT I_FixedAsset_Key PRIMARY KEY (I_FixedAsset_ID)) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=102 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=19 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59497,102,0,19,53277,'AD_Client_ID',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59497 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=113 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59498,113,0,19,53277,'AD_Org_ID',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59498 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) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=348 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=20 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59499,348,0,20,53277,'IsActive',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,'''Y''','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-06-20 15:50:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:48 PM CDT +-- Fixed Asset +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=59499 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=245 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=16 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59500,245,0,16,53277,'Created',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59500 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Created TIMESTAMP NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=246 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=18 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59501,246,0,18,110,53277,'CreatedBy',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59501 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=607 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59502,607,0,16,53277,'Updated',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-06-20 15:50:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +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=59502 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) +; + +-- Jun 20, 2010 3:50:49 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Updated TIMESTAMP NOT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=608 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59503,608,0,18,110,53277,'UpdatedBy',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59503 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='InventoryNo', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Inventory No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Inventory No',Updated=TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54169 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54169 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=10 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59504,54169,0,10,53277,'InventoryNo',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D',30,'Y','N','N','Y','N','N','N','Y','Y','N','Y','Inventory No',10,TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59504 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN InventoryNo VARCHAR(30) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=469 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,59505,469,0,10,53277,'Name',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',120,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','Y','Y','N','Y','Name',20,TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59505 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Name VARCHAR(120) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Group_ID', Description='Group of Assets', EntityType='D', Help='The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.', IsActive='Y', Name='Asset Group', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Group',Updated=TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1929 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1929 +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59506,1929,0,19,53277,'A_Asset_Group_ID',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'Group of Assets','D',10,'The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset Group',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=59506 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) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Group_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54233,0,'A_Asset_Group_Value',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Asset Group Key','Asset Group Key',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:50 PM CDT +-- Fixed Asset +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=54233 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59507,54233,0,10,53277,'A_Asset_Group_Value',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Group Key',TO_TIMESTAMP('2010-06-20 15:50:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59507 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Group_Value VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Class_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset class', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset class',Updated=TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54165 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54165 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=30 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59508,54165,0,30,53277,'A_Asset_Class_ID',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset class',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59508 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Class_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54234,0,'A_Asset_Class_Value',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Asset Class Key','Asset Class Key',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=54234 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59509,54234,0,10,53277,'A_Asset_Class_Value',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Asset Class Key',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59509 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Class_Value VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=454 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59510,454,0,30,53277,'M_Product_ID',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59510 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN M_Product_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='ProductValue', Description='Key of the Product', EntityType='D', Help=NULL, IsActive='Y', Name='Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Key',Updated=TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1675 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1675 +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59511,1675,0,10,53277,'ProductValue',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,'Key of the Product','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product Key',TO_TIMESTAMP('2010-06-20 15:50:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +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=59511 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) +; + +-- Jun 20, 2010 3:50:51 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN ProductValue VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AssetServiceDate', Description='Date when Asset was put into service', EntityType='D', Help='The date when the asset was put into service - usually used as start date for depreciation.', IsActive='Y', Name='In Service Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='In Service date',Updated=TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1934 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1934 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=15 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59512,1934,0,15,53277,'AssetServiceDate',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'Date when Asset was put into service','D',7,'The date when the asset was put into service - usually used as start date for depreciation.','Y','N','N','N','N','N','N','N','Y','N','Y','In Service Date',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59512 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN AssetServiceDate TIMESTAMP DEFAULT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_Cost', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Asset Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset Cost',Updated=TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53489 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Number with 4 decimals', EntityType='D', Help=NULL, IsActive='Y', Name='Amount', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=12 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59513,53489,0,12,53277,'A_Asset_Cost',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Asset Cost',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59513 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Cost NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation',Updated=TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53488 +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59514,53488,0,12,53277,'A_Accumulated_Depr',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation',TO_TIMESTAMP('2010-06-20 15:50:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +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=59514 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) +; + +-- Jun 20, 2010 3:50:52 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Accumulated_Depr NUMERIC DEFAULT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Accumulated_Depr_F', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Accumulated Depreciation (fiscal)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Accumulated Depreciation (fiscal)',Updated=TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54175 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54175 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59515,54175,0,12,53277,'A_Accumulated_Depr_F',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59515 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Accumulated_Depr_F NUMERIC DEFAULT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths', Description='Months of the usable life of the asset', EntityType='D', Help=NULL, IsActive='Y', Name='Usable Life - Months', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Usable life months',Updated=TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1946 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1946 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=11 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59516,1946,0,11,53277,'UseLifeMonths',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'Months of the usable life of the asset','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Usable Life - Months',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59516 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN UseLifeMonths NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UseLifeMonths_F', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Use Life - Months (fiscal)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Use Life - Months (fiscal)',Updated=TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54179 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54179 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59517,54179,0,11,53277,'UseLifeMonths_F',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +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=59517 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) +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN UseLifeMonths_F NUMERIC(10) NOT NULL +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Current_Period', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Current Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Current Period',Updated=TO_TIMESTAMP('2010-06-20 15:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53501 +; + +-- Jun 20, 2010 3:50:53 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53501 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59518,53501,0,11,53277,'A_Current_Period',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Current Period',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59518 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Current_Period NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='DateAcct', Description='Accounting Date', EntityType='D', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.', IsActive='Y', Name='Account Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Acct Date',Updated=TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=263 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=263 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59519,263,0,15,53277,'DateAcct',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','N','N','N','N','N','N','N','Y','N','Y','Account Date',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59519 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN DateAcct TIMESTAMP DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='A_Asset_ID', Description='Asset used internally or by customers', EntityType='D', Help='An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.', IsActive='Y', Name='Asset', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset',Updated=TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1884 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1884 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59520,1884,0,30,53277,'A_Asset_ID',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'Asset used internally or by customers','D',10,'An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59520 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_IsImported', Description='Has this import been processed', EntityType='D', Help='The Imported check box indicates if this import has been processed.', IsActive='Y', Name='Imported', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported',Updated=TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=913 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=913 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59521,913,0,20,53277,'I_IsImported',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,'''N''','Has this import been processed','D',1,'The Imported check box indicates if this import has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Imported',TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +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=59521 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) +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN I_IsImported CHAR(1) DEFAULT 'N' CHECK (I_IsImported IN ('Y','N')) NOT NULL +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='I_ErrorMsg', Description='Messages generated from import process', EntityType='D', Help='The Import Error Message displays any error messages generated during the import process.', IsActive='Y', Name='Import Error Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Import Error Message',Updated=TO_TIMESTAMP('2010-06-20 15:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=912 +; + +-- Jun 20, 2010 3:50:54 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=912 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=14 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59522,912,0,14,53277,'I_ErrorMsg',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Messages generated from import process','D',2000,'The Import Error Message displays any error messages generated during the import process.','Y','N','N','N','N','N','N','N','Y','N','Y','Import Error Message',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=59522 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN I_ErrorMsg VARCHAR(2000) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=524 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=28 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53215,'2','org.compiere.FA.ImportFixedAsset',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'D','Import All Fixed Assets','Y','N','N','N','Import Fixed Assets','Y',0,0,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Import_FixedAsset',NULL) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53215 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53215,53413,19,'M_Product_Category_ID',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product','D',0,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','Y','N','Product Category',10,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53413 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1929,0,53215,53414,19,'A_Asset_Group_ID',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Group of Assets','D',0,'The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','N','N','Asset Group',20,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53414 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53215,53415,15,'DateAcct',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','Account Date',30,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53415 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1922,0,53215,53416,20,'DeleteOldImported',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Before processing delete old imported records in the import table','D',0,'Y','Y','Y','N','Delete old imported records',40,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53416 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54205,0,53215,53417,19,'I_FixedAsset_ID',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'@I_FixedAsset_ID@','D',0,'Y','Y','N','N','Imported Fixed Asset',110,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53417 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2168,0,53215,53418,20,'IsValidateOnly',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','Validate the date and do not process','D',0,'Y','Y','Y','N','Only Validate Data',120,TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=53418 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59523,524,0,53215,28,53277,'Processing',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-06-20 15:50:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +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=59523 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) +; + +-- Jun 20, 2010 3:50:55 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Processing CHAR(1) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1047 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59524,1047,0,20,53277,'Processed',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','D',1,'The Processed checkbox indicates that a document has been processed.','Y','Y','N','N','N','N','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=59524 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Processed CHAR(1) DEFAULT NULL CHECK (Processed IN ('Y','N')) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54235,0,'A_Remaining_Period',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Remaining Period','Remaining Period',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=54235 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59525,54235,0,11,53277,'A_Remaining_Period',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Remaining Period',TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +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=59525 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) +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN A_Remaining_Period NUMERIC(10) DEFAULT '0' NOT NULL +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='DocAction', Description='The targeted status of the document', EntityType='D', Help='You find the current status in the Document Status field. The options are listed in a popup', IsActive='Y', Name='Document Action', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Doc Action',Updated=TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=287 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=287 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=17 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Document action list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Action', ValidationType='L',Updated=TO_TIMESTAMP('2010-06-20 15:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=135 +; + +-- Jun 20, 2010 3:50:56 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59526,287,0,17,135,53277,'DocAction',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'''CO''','The targeted status of the document','D',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','Y','N','N','Y','N','Y','Document Action',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59526 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN DocAction VARCHAR(2) DEFAULT 'CO' NOT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54236,0,'AssetPeriodDepreciationAmt',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Applies to Straight Line depreciation','D','Y','Depreciation Amount / Period','Depreciation Amount / Period',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=54236 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59527,54236,0,12,53277,'AssetPeriodDepreciationAmt',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'0','Applies to Straight Line depreciation','D',22,'Y','N','N','N','N','Y','N','N','Y','N','Y','Depreciation Amount / Period',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59527 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN AssetPeriodDepreciationAmt NUMERIC DEFAULT '0' NOT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='AssetDepreciationDate', Description='Date of last depreciation', EntityType='D', Help='Date of the last deprecation, if the asset is used internally and depreciated.', IsActive='Y', Name='Asset Depreciation Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Asset depreciation date',Updated=TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1931 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1931 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59528,1931,0,15,53277,'AssetDepreciationDate',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Date of last depreciation','D',7,'Date of the last deprecation, if the asset is used internally and depreciated.','Y','N','N','N','N','N','N','N','Y','N','Y','Asset Depreciation Date',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59528 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN AssetDepreciationDate TIMESTAMP DEFAULT NULL +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='M_Locator_ID', Description='Warehouse Locator', EntityType='D', Help='The Locator indicates where in a Warehouse a product is located.', IsActive='Y', Name='Locator', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator',Updated=TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=448 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=448 +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59529,448,0,19,53277,'M_Locator_ID',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator','D',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','N','N','N','N','N','Y','N','Y','Locator',TO_TIMESTAMP('2010-06-20 15:50:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +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=59529 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) +; + +-- Jun 20, 2010 3:50:58 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN M_Locator_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='LocatorValue', Description='Key of the Warehouse Locator', EntityType='D', Help=NULL, IsActive='Y', Name='Locator Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Locator Key',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2109 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2109 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59530,2109,0,10,53277,'LocatorValue',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Key of the Warehouse Locator','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Locator Key',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59530 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN LocatorValue VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=526 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=29 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59531,526,0,29,53277,'Qty',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'1','Quantity','D',10,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','Y','Quantity',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59531 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Qty NUMERIC DEFAULT '1' +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='UOMSymbol', Description='Symbol for a Unit of Measure', EntityType='D', Help='The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure', IsActive='Y', Name='Symbol', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UoM',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=602 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=602 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59532,602,0,10,53277,'UOMSymbol',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Symbol for a Unit of Measure','D',10,'The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','Y','Symbol',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59532 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN UOMSymbol VARCHAR(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_UOM_ID', Description='Unit of Measure', EntityType='D', Help='The UOM defines a unique non monetary Unit of Measure', IsActive='Y', Name='UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UOM',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=215 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=215 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59533,215,0,30,53277,'C_UOM_ID',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Unit of Measure','D',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','Y','UOM',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59533 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN C_UOM_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=275 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59534,275,0,10,53277,'Description',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59534 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54237,0,'C_City_Value',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','City Value','City Value',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=54237 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) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59535,54237,0,10,53277,'C_City_Value',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','City Value',TO_TIMESTAMP('2010-06-20 15:50:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:50:59 PM CDT +-- Fixed Asset +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=59535 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN C_City_Value VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='SeqNo', Description='Method of ordering records; lowest number comes first', EntityType='D', Help='The Sequence indicates the order of records', IsActive='Y', Name='Sequence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Sequence',Updated=TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=566 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=566 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59536,566,0,11,53277,'SeqNo',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'1','Method of ordering records; lowest number comes first','D',10,'The Sequence indicates the order of records','Y','N','N','N','N','N','N','N','Y','N','Y','Sequence',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59536 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN SeqNo NUMERIC(10) DEFAULT '1' +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='BPartner_Value', Description='The Key of the Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='Business Partner Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Key',Updated=TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1906 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1906 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59537,1906,0,10,53277,'BPartner_Value',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'The Key of the Business Partner','D',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner Key',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59537 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN BPartner_Value VARCHAR(40) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_BPartnerSR_ID', Description='Business Partner (Agent or Sales Rep)', EntityType='D', Help=NULL, IsActive='Y', Name='BPartner (Agent)', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner (Agent)',Updated=TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2810 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2810 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Reference SET Description='Business Partner selection (no Summary)', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner (Trx)', ValidationType='T',Updated=TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Ref_Table SET AD_Table_ID = 291, AD_Display = 2902, AD_Key = 2893, isValueDisplayed = 'Y', OrderByClause = '', EntityType ='D', WhereClause = 'C_BPartner.IsSummary=''N'' AND C_BPartner.IsActive=''Y''' WHERE AD_Reference_ID = 138 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59538,2810,0,30,138,53277,'C_BPartnerSR_ID',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner (Agent or Sales Rep)','D',10,'Y','N','N','N','N','N','N','N','Y','N','Y','BPartner (Agent)',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59538 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN C_BPartnerSR_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element SET ColumnName='C_City_ID', Description='City', EntityType='D', Help='City in a country', IsActive='Y', Name='City', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='City',Updated=TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1830 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1830 +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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,Updated,UpdatedBy,Version) VALUES (0,59539,1830,0,30,53277,'C_City_ID',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'City','D',10,'City in a country','Y','N','N','N','N','N','N','N','Y','N','Y','City',TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +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=59539 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) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +ALTER TABLE I_FixedAsset ADD COLUMN C_City_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53334,53277,53120,NULL,TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','N','Y','N','N','N','N','Fixed Asset','N',10,0,TO_TIMESTAMP('2010-06-20 15:51:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 20, 2010 3:51:00 PM CDT +-- Fixed Asset +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53334 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- *** migration/FA/postgresql/004_FA_Stabilization_postgresql.sql *** + +-- Jun 23, 2010 5:01:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_TIMESTAMP('2010-06-23 17:01:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=101 +; + +-- Jun 23, 2010 5:01:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_TIMESTAMP('2010-06-23 17:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=104 +; + +-- Jun 23, 2010 5:01:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_TIMESTAMP('2010-06-23 17:01:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_FieldGroup_ID=50005 +; + +-- Jun 23, 2010 5:02:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59519,59470,0,53334,TO_TIMESTAMP('2010-06-23 17:02:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Date',7,'D','The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','N','N','N','N','Account Date',TO_TIMESTAMP('2010-06-23 17:02:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:12 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59470 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) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59514,59471,0,53334,TO_TIMESTAMP('2010-06-23 17:02:12','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Accumulated Depreciation',TO_TIMESTAMP('2010-06-23 17:02:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59471 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) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59515,59472,0,53334,TO_TIMESTAMP('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Accumulated Depreciation (fiscal)',TO_TIMESTAMP('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59472 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) +; + +-- Jun 23, 2010 5:02:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59499,59473,0,53334,TO_TIMESTAMP('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2010-06-23 17:02:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:14 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59473 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) +; + +-- Jun 23, 2010 5:02:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59520,59474,0,53334,TO_TIMESTAMP('2010-06-23 17:02:14','YYYY-MM-DD HH24:MI:SS'),0,'Asset used internally or by customers',10,'D','An asset is either created by purchasing or by delivering a product. An asset can be used internally or be a customer asset.','Y','Y','Y','N','N','N','N','N','Asset',TO_TIMESTAMP('2010-06-23 17:02:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59474 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) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59509,59475,0,53334,TO_TIMESTAMP('2010-06-23 17:02:15','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Class Key',TO_TIMESTAMP('2010-06-23 17:02:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59475 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) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59513,59476,0,53334,TO_TIMESTAMP('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset Cost',TO_TIMESTAMP('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59476 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) +; + +-- Jun 23, 2010 5:02:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59528,59477,0,53334,TO_TIMESTAMP('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0,'Date of last depreciation',7,'D','Date of the last deprecation, if the asset is used internally and depreciated.','Y','Y','Y','N','N','N','N','N','Asset Depreciation Date',TO_TIMESTAMP('2010-06-23 17:02:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59477 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) +; + +-- Jun 23, 2010 5:02:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59506,59478,0,53334,TO_TIMESTAMP('2010-06-23 17:02:17','YYYY-MM-DD HH24:MI:SS'),0,'Group of Assets',10,'D','The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.','Y','Y','Y','N','N','N','N','N','Asset Group',TO_TIMESTAMP('2010-06-23 17:02:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59478 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) +; + +-- Jun 23, 2010 5:02:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59507,59479,0,53334,TO_TIMESTAMP('2010-06-23 17:02:18','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Group Key',TO_TIMESTAMP('2010-06-23 17:02:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59479 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) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59508,59480,0,53334,TO_TIMESTAMP('2010-06-23 17:02:19','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset class',TO_TIMESTAMP('2010-06-23 17:02:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59480 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) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59538,59481,0,53334,TO_TIMESTAMP('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner (Agent or Sales Rep)',10,'D','Y','Y','Y','N','N','N','N','N','BPartner (Agent)',TO_TIMESTAMP('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59481 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) +; + +-- Jun 23, 2010 5:02:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59537,59482,0,53334,TO_TIMESTAMP('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner',40,'D','Y','Y','Y','N','N','N','N','N','Business Partner Key',TO_TIMESTAMP('2010-06-23 17:02:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59482 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) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59539,59483,0,53334,TO_TIMESTAMP('2010-06-23 17:02:21','YYYY-MM-DD HH24:MI:SS'),0,'City',10,'D','City in a country','Y','Y','Y','N','N','N','N','N','City',TO_TIMESTAMP('2010-06-23 17:02:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59483 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) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59535,59484,0,53334,TO_TIMESTAMP('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','City Value',TO_TIMESTAMP('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59484 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) +; + +-- Jun 23, 2010 5:02:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59497,59485,0,53334,TO_TIMESTAMP('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2010-06-23 17:02:22','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59485 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) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59518,59486,0,53334,TO_TIMESTAMP('2010-06-23 17:02:24','YYYY-MM-DD HH24:MI:SS'),0,22,'D','Y','Y','Y','N','N','N','N','N','Current Period',TO_TIMESTAMP('2010-06-23 17:02:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59486 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) +; + +-- Jun 23, 2010 5:02:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59527,59487,0,53334,TO_TIMESTAMP('2010-06-23 17:02:25','YYYY-MM-DD HH24:MI:SS'),0,'Applies to Straight Line depreciation',22,'D','Y','Y','Y','N','N','N','N','N','Depreciation Amount / Period',TO_TIMESTAMP('2010-06-23 17:02:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:26 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59487 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) +; + +-- Jun 23, 2010 5:02:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59534,59488,0,53334,TO_TIMESTAMP('2010-06-23 17:02:26','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2010-06-23 17:02:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:27 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59488 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) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59526,59489,0,53334,TO_TIMESTAMP('2010-06-23 17:02:27','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document',2,'D','You find the current status in the Document Status field. The options are listed in a popup','Y','Y','Y','N','N','N','N','N','Document Action',TO_TIMESTAMP('2010-06-23 17:02:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59489 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) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59522,59490,0,53334,TO_TIMESTAMP('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process',2000,'D','The Import Error Message displays any error messages generated during the import process.','Y','Y','Y','N','N','N','N','N','Import Error Message',TO_TIMESTAMP('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:28 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59490 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) +; + +-- Jun 23, 2010 5:02:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59521,59491,0,53334,TO_TIMESTAMP('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed',1,'D','The Imported check box indicates if this import has been processed.','Y','Y','Y','N','N','N','N','N','Imported',TO_TIMESTAMP('2010-06-23 17:02:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59491 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) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59496,59492,0,53334,TO_TIMESTAMP('2010-06-23 17:02:29','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','N','N','N','N','N','N','Imported Fixed Asset',TO_TIMESTAMP('2010-06-23 17:02:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59492 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) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59512,59493,0,53334,TO_TIMESTAMP('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0,'Date when Asset was put into service',7,'D','The date when the asset was put into service - usually used as start date for depreciation.','Y','Y','Y','N','N','N','N','N','In Service Date',TO_TIMESTAMP('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59493 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) +; + +-- Jun 23, 2010 5:02:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59504,59494,0,53334,TO_TIMESTAMP('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0,30,'D','Y','Y','Y','N','N','N','N','N','Inventory No',TO_TIMESTAMP('2010-06-23 17:02:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59494 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) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59529,59495,0,53334,TO_TIMESTAMP('2010-06-23 17:02:31','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator',10,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','N','Locator',TO_TIMESTAMP('2010-06-23 17:02:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59495 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) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59530,59496,0,53334,TO_TIMESTAMP('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse Locator',40,'D','Y','Y','Y','N','N','N','N','N','Locator Key',TO_TIMESTAMP('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59496 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) +; + +-- Jun 23, 2010 5:02:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59505,59497,0,53334,TO_TIMESTAMP('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2010-06-23 17:02:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:33 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59497 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) +; + +-- Jun 23, 2010 5:02:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59498,59498,0,53334,TO_TIMESTAMP('2010-06-23 17:02:33','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2010-06-23 17:02:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59498 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) +; + +-- Jun 23, 2010 5:02:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59523,59499,0,53334,TO_TIMESTAMP('2010-06-23 17:02:34','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_TIMESTAMP('2010-06-23 17:02:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59499 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) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59524,59500,0,53334,TO_TIMESTAMP('2010-06-23 17:02:35','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','N','Processed',TO_TIMESTAMP('2010-06-23 17:02:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59500 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) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59510,59501,0,53334,TO_TIMESTAMP('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_TIMESTAMP('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:36 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59501 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) +; + +-- Jun 23, 2010 5:02:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59511,59502,0,53334,TO_TIMESTAMP('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product',40,'D','Y','Y','Y','N','N','N','N','N','Product Key',TO_TIMESTAMP('2010-06-23 17:02:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59502 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) +; + +-- Jun 23, 2010 5:02:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59531,59503,0,53334,TO_TIMESTAMP('2010-06-23 17:02:37','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',10,'D','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_TIMESTAMP('2010-06-23 17:02:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:38 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59503 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) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59525,59504,0,53334,TO_TIMESTAMP('2010-06-23 17:02:38','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Remaining Period',TO_TIMESTAMP('2010-06-23 17:02:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59504 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) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59536,59505,0,53334,TO_TIMESTAMP('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0,'Method of ordering records; lowest number comes first',10,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_TIMESTAMP('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59505 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) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59532,59506,0,53334,TO_TIMESTAMP('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0,'Symbol for a Unit of Measure',10,'D','The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure','Y','Y','Y','N','N','N','N','N','Symbol',TO_TIMESTAMP('2010-06-23 17:02:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59506 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) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59533,59507,0,53334,TO_TIMESTAMP('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure',10,'D','The UOM defines a unique non monetary Unit of Measure','Y','Y','Y','N','N','N','N','N','UOM',TO_TIMESTAMP('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:41 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59507 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) +; + +-- Jun 23, 2010 5:02:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,59516,59508,0,53334,TO_TIMESTAMP('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0,'Months of the usable life of the asset',10,'D','Y','Y','Y','N','N','N','N','N','Usable Life - Months',TO_TIMESTAMP('2010-06-23 17:02:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:42 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59508 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) +; + +-- Jun 23, 2010 5:02:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59517,59509,0,53334,TO_TIMESTAMP('2010-06-23 17:02:42','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Use Life - Months (fiscal)',TO_TIMESTAMP('2010-06-23 17:02:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:02:43 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59509 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) +; + +-- Jun 23, 2010 5:03:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-23 17:03:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:03:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:03:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:03:40 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=0 +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,178,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,179,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,180,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,181,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,182,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,183,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,184,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,185,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,187,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,188,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,189,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,345,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,347,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:14:16 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Role_ID,C_DocType_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,691,0,0,TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2010-06-23 17:14:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53284,0,53120,'W',TO_TIMESTAMP('2010-06-23 17:15:24','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Y','N','N','N','Imported Fixed Asset',TO_TIMESTAMP('2010-06-23 17:15:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_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_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53284 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 23, 2010 5:15:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_TreeNodeMM (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, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53284, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53284) +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53165 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53168 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53167 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53166 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53169 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 23, 2010 5:15:34 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53164, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53170 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:18:31 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:19:02 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:19:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:19:09 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:19:13 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:19:18 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:19:21 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:19:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2010-06-23 17:19:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59473 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:22:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:22:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:22:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:22:32 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:22:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:22:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:22:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:23:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:23:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:23:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:24:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-23 17:24:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:24:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Import Fixed Asset',Updated=TO_TIMESTAMP('2010-06-23 17:24:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:24:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:25:24 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_TIMESTAMP('2010-06-23 17:25:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59522 +; + +-- Jun 23, 2010 5:25:53 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-06-23 17:25:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:26:54 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:27:04 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:27:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:29:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:29:46 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:29:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:30:15 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 17:30:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:31:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Processed',Updated=TO_TIMESTAMP('2010-06-23 17:31:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:31:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:32:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59500 +; + +-- Jun 23, 2010 5:32:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=59490 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=59498 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59474 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59505 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59480 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59475 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 5:33:56 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 5:34:00 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-06-23 17:34:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59491 +; + +-- Jun 23, 2010 5:34:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='N',Updated=TO_TIMESTAMP('2010-06-23 17:34:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59485 +; + +-- Jun 23, 2010 5:34:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2010-06-23 17:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59498 +; + +-- Jun 23, 2010 5:39:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59587,54128,0,22,53137,'ProcessedOn',TO_TIMESTAMP('2010-06-23 17:39:33','YYYY-MM-DD HH24:MI:SS'),0,'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','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-06-23 17:39:33','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:39:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59587 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) +; + +-- Jun 23, 2010 5:39:37 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Addition ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL +; + +-- Jun 23, 2010 5:39:45 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('a_asset_addition','ProcessedOn','NUMERIC',null,'NULL') +; + +-- Jun 23, 2010 5:40:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59588,54128,0,22,53127,'ProcessedOn',TO_TIMESTAMP('2010-06-23 17:40:57','YYYY-MM-DD HH24:MI:SS'),0,'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','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-06-23 17:40:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:40:59 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59588 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) +; + +-- Jun 23, 2010 5:41:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Disposed ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL +; + +-- Jun 23, 2010 5:42:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59589,54128,0,22,53275,'ProcessedOn',TO_TIMESTAMP('2010-06-23 17:42:00','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',14,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-06-23 17:42:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:42:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59589 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) +; + +-- Jun 23, 2010 5:42:03 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Reval ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL +; + +-- Jun 23, 2010 5:43:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59590,54128,0,22,53128,'ProcessedOn',TO_TIMESTAMP('2010-06-23 17:43:24','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',22,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-06-23 17:43:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:43:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59590 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) +; + +-- Jun 23, 2010 5:43:29 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Transfer ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL +; + +-- Jun 23, 2010 5:44:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,59591,54128,0,22,53121,'ProcessedOn',TO_TIMESTAMP('2010-06-23 17:44:17','YYYY-MM-DD HH24:MI:SS'),0,'The date+time (expressed in decimal format) when the document has been processed','D',22,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-06-23 17:44:17','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 5:44:17 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59591 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) +; + +-- Jun 23, 2010 5:44:22 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET FieldLength=20,Updated=TO_TIMESTAMP('2010-06-23 17:44:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59591 +; + +-- Jun 23, 2010 5:44:25 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Depreciation_Entry ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL +; + +-- Jun 23, 2010 6:23:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Import Fixed Asset',Updated=TO_TIMESTAMP('2010-06-23 18:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:23:01 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:29:08 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process SET AccessLevel='3',Updated=TO_TIMESTAMP('2010-06-23 18:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53215 +; + +-- Jun 23, 2010 6:31:10 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2010-06-23 18:31:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59508 +; + +-- Jun 23, 2010 6:34:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy,Version) VALUES (0,59592,54170,0,19,53277,'A_Asset_Type_ID',TO_TIMESTAMP('2010-06-23 18:34:27','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Asset Type',TO_TIMESTAMP('2010-06-23 18:34:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 6:34:30 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59592 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) +; + +-- Jun 23, 2010 6:34:39 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Type_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 23, 2010 6:35:06 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('i_fixedasset','A_Asset_Type_ID','NUMERIC(10)',null,'NULL') +; + +-- Jun 23, 2010 6:36:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54244,0,'A_Asset_Type_Value',TO_TIMESTAMP('2010-06-23 18:36:33','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Asset Type Value','Asset Type Value',TO_TIMESTAMP('2010-06-23 18:36:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:36:35 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=54244 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) +; + +-- Jun 23, 2010 6:36:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy,Version) VALUES (0,59593,54244,0,10,53277,'A_Asset_Type_Value',TO_TIMESTAMP('2010-06-23 18:36:49','YYYY-MM-DD HH24:MI:SS'),0,'D',40,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Asset Type Value',TO_TIMESTAMP('2010-06-23 18:36:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 23, 2010 6:36:49 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59593 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) +; + +-- Jun 23, 2010 6:36:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD COLUMN A_Asset_Type_Value VARCHAR(40) DEFAULT NULL +; + +-- Jun 23, 2010 6:38:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59592,59510,0,53334,TO_TIMESTAMP('2010-06-23 18:38:18','YYYY-MM-DD HH24:MI:SS'),0,10,'D','Y','Y','Y','N','N','N','N','N','Asset Type',TO_TIMESTAMP('2010-06-23 18:38:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:38:19 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59510 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) +; + +-- Jun 23, 2010 6:38:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,UpdatedBy) VALUES (0,59593,59511,0,53334,TO_TIMESTAMP('2010-06-23 18:38:19','YYYY-MM-DD HH24:MI:SS'),0,40,'D','Y','Y','Y','N','N','N','N','N','Asset Type Value',TO_TIMESTAMP('2010-06-23 18:38:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 23, 2010 6:38:20 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=59511 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) +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59510 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59511 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59477 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59504 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59483 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59484 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 23, 2010 6:38:50 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 23, 2010 6:38:58 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-06-23 18:38:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=59511 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Jun 23, 2010 6:43:51 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Jun 23, 2010 6:43:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Jun 23, 2010 6:43:52 PM CDT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Apr 24, 2011 2:04:04 PM MYT +-- Fixed Assets Upgrading +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,55168,0,'IsFixedAssetInvoice',TO_TIMESTAMP('2011-04-24 14:04:02','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','IsFixedAssetInvoice','IsFixedAssetInvoice',TO_TIMESTAMP('2011-04-24 14:04:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Apr 24, 2011 2:04:04 PM MYT +-- Fixed Assets Upgrading +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=55168 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) +; + +-- Apr 24, 2011 2:04:42 PM MYT +-- Fixed Assets Upgrading +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,61470,55168,0,20,333,'IsFixedAssetInvoice',TO_TIMESTAMP('2011-04-24 14:04:41','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','IsFixedAssetInvoice',0,TO_TIMESTAMP('2011-04-24 14:04:41','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Apr 24, 2011 2:04:42 PM MYT +-- Fixed Assets Upgrading +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=61470 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) +; + +-- Apr 24, 2011 2:05:09 PM MYT +-- Fixed Assets Upgrading +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,61471,55168,0,20,318,'IsFixedAssetInvoice',TO_TIMESTAMP('2011-04-24 14:05:06','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','IsFixedAssetInvoice',0,TO_TIMESTAMP('2011-04-24 14:05:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Apr 24, 2011 2:05:09 PM MYT +-- Fixed Assets Upgrading +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=61471 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) +; + +-- Apr 24, 2011 3:20:11 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_InvoiceLine ADD COLUMN IsFixedAssetInvoice CHAR(1) DEFAULT NULL CHECK (IsFixedAssetInvoice IN ('Y','N')) +; + +-- Apr 24, 2011 3:20:47 PM MYT +-- Fixed Assets Upgrading +ALTER TABLE C_Invoice ADD COLUMN IsFixedAssetInvoice CHAR(1) DEFAULT NULL CHECK (IsFixedAssetInvoice IN ('Y','N')) +; + +-- Apr 24, 2011 3:16:35 PM MYT +-- Fixed Assets Upgrading +INSERT INTO t_alter_column values('c_invoice','IsFixedAssetInvoice','CHAR(1)',null,'NULL') +; + +-- Apr 24, 2011 3:16:56 PM MYT +-- Fixed Assets Upgrading +INSERT INTO t_alter_column values('c_invoiceline','IsFixedAssetInvoice','CHAR(1)',null,'NULL') +; + +-- *** migration/FA/postgresql/005_FA_Stabilization_postgresql.sql *** + +-- Apr 28, 2011 7:37:46 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:37:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55786 +; + +-- Apr 28, 2011 7:37:49 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:37:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59403 +; + +-- Apr 28, 2011 7:37:54 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:37:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59404 +; + +-- Apr 28, 2011 7:37:56 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:37:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59407 +; + +-- Apr 28, 2011 7:37:58 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:37:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55759 +; + +-- Apr 28, 2011 7:38:00 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59405 +; + +-- Apr 28, 2011 7:38:03 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59402 +; + +-- Apr 28, 2011 7:38:15 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59307 +; + +-- Apr 28, 2011 7:38:19 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55632 +; + +-- Apr 28, 2011 7:38:22 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59306 +; + +-- Apr 28, 2011 7:38:24 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55601 +; + +-- Apr 28, 2011 7:38:26 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59305 +; + +-- Apr 28, 2011 7:38:29 AM MYT +-- Removing unused Defaults in Table/Column of AssetGroupAcct / Asset +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-04-28 07:38:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55628 +; + +-- May 17, 2011 8:31:57 PM MYT +-- Fixed Assets Integration +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2011-05-17 20:31:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55782 +; + +--recreate both tables +DROP TABLE a_asset_acct; + +CREATE TABLE a_asset_acct +( + a_asset_id numeric(10) NOT NULL, + c_acctschema_id numeric(10) NOT NULL, + ad_client_id numeric(10) NOT NULL, + ad_org_id numeric(10) NOT NULL, + isactive character(1) NOT NULL, + created timestamp without time zone NOT NULL, + createdby numeric(10) NOT NULL, + updated timestamp without time zone NOT NULL, + updatedby numeric(10) NOT NULL, + a_depreciation_id numeric(10) NOT NULL, + a_depreciation_acct numeric(10) NOT NULL, + a_accumdepreciation_acct numeric(10) NOT NULL, + a_disposal_loss character varying(40), + a_disposal_gain character varying(10), + a_asset_acct numeric(10) NOT NULL, + a_asset_acct_id numeric(10) NOT NULL, + a_depreciation_manual_period character varying(2), + a_depreciation_table_header_id numeric(10), + a_reval_cost_offset_prior character varying(22), + a_reval_cost_offset character varying(22), + a_reval_cal_method character varying(3), + a_reval_accumdep_offset_prior character varying(22), + a_reval_accumdep_offset_cur character varying(22), + a_period_start numeric(10) NOT NULL, + a_period_end numeric(10) NOT NULL, + a_disposal_revenue character varying(40), + processing character(1) DEFAULT 'Y'::bpchar, + postingtype character(1) NOT NULL DEFAULT 'A'::bpchar, + a_split_percent numeric NOT NULL DEFAULT 1::numeric, + a_salvage_value numeric DEFAULT 0::numeric, + a_reval_depexp_offset character varying(22), + a_depreciation_variable_perc numeric, + a_depreciation_method_id numeric(10) NOT NULL, + a_depreciation_manual_amount numeric, + a_depreciation_conv_id numeric(10) NOT NULL, + a_asset_spread_id numeric(10), + a_disposal_gain_acct numeric(10) DEFAULT NULL::numeric, + a_reval_cost_offset_prior_acct numeric(10) DEFAULT NULL::numeric, + a_reval_cost_offset_acct numeric(10) DEFAULT NULL::numeric, + a_reval_adep_offset_prior_acct numeric(10) DEFAULT NULL::numeric, + a_reval_adep_offset_cur_acct numeric(10) DEFAULT NULL::numeric, + a_disposal_revenue_acct numeric(10) NOT NULL, + a_disposal_loss_acct numeric(10) NOT NULL, + a_reval_depexp_offset_acct numeric(10) DEFAULT NULL::numeric, + a_depreciation_method_f_id numeric(10) NOT NULL, + a_depreciation_f_id numeric(10) NOT NULL, + a_depreciation_conv_f_id numeric(10) NOT NULL, + a_depreciation_variable_perc_f numeric, + validfrom timestamp without time zone, + CONSTRAINT a_asset_acct_pkey PRIMARY KEY (a_asset_acct_id), + CONSTRAINT aasset_aassetacct FOREIGN KEY (a_asset_id) + REFERENCES a_asset (a_asset_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT aassetspread_aassetacct FOREIGN KEY (a_asset_spread_id) + REFERENCES a_asset_spread (a_asset_spread_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciation_aassetacct FOREIGN KEY (a_depreciation_id) + REFERENCES a_depreciation (a_depreciation_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciationconv_aassetacct FOREIGN KEY (a_depreciation_conv_id) + REFERENCES a_depreciation_convention (a_depreciation_convention_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciationmethod_aassetacct FOREIGN KEY (a_depreciation_method_id) + REFERENCES a_depreciation_method (a_depreciation_method_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciationtableheader_aasse FOREIGN KEY (a_depreciation_table_header_id) + REFERENCES a_depreciation_table_header (a_depreciation_table_header_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT cacctschema_aassetacct FOREIGN KEY (c_acctschema_id) + REFERENCES c_acctschema (c_acctschema_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT a_asset_acct_isactive_check CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), + CONSTRAINT a_asset_acct_processing_check CHECK (processing = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])) +) +WITH (OIDS=FALSE); +ALTER TABLE a_asset_acct OWNER TO adempiere; + +--recreate second table + +DROP TABLE a_asset_group_acct; + +CREATE TABLE a_asset_group_acct +( + a_asset_group_id numeric(10) NOT NULL, + c_acctschema_id numeric(10) NOT NULL, + ad_client_id numeric(10) NOT NULL, + ad_org_id numeric(10) NOT NULL, + isactive character(1), + created timestamp without time zone NOT NULL, + createdby numeric(10), + updated timestamp without time zone NOT NULL, + updatedby numeric(10), + a_asset_acct numeric(10) NOT NULL, + a_depreciation_acct numeric(10) NOT NULL, + a_accumdepreciation_acct numeric(10) NOT NULL, + a_disposal_loss character varying(22), + a_disposal_gain character varying(10), + a_depreciation_id numeric(10) NOT NULL, + a_asset_group_acct_id numeric(10) NOT NULL, + a_depreciation_manual_period character varying(2), + a_depreciation_variable_perc numeric, + a_split_percent numeric NOT NULL DEFAULT 1::numeric, + a_reval_depexp_offset character varying(22), + a_reval_cost_offset_prior character varying(22), + a_reval_cost_offset character varying(22), + a_reval_cal_method character varying(22), + a_reval_accumdep_offset_prior character varying(22), + a_reval_accumdep_offset_cur character varying(22), + a_disposal_revenue character varying(22), + uselifeyears numeric(10), + uselifemonths numeric(10) DEFAULT 0::numeric, + processing character(1), + postingtype character(1) NOT NULL DEFAULT 'A'::bpchar, + depreciationtype character varying(10), + conventiontype character varying(10), + a_depreciation_table_header_id numeric(10), + a_depreciation_manual_amount numeric, + a_depreciation_calc_type character varying(10), + a_asset_spread_type character varying(10), + a_reval_depexp_offset_acct numeric(10) DEFAULT NULL::numeric, + a_reval_cost_offset_prior_acct numeric(10) DEFAULT NULL::numeric, + a_reval_cost_offset_acct numeric(10) DEFAULT NULL::numeric, + a_reval_adep_offset_prior_acct numeric(10) DEFAULT NULL::numeric, + a_reval_adep_offset_cur_acct numeric(10) DEFAULT NULL::numeric, + a_disposal_gain_acct numeric(10) DEFAULT NULL::numeric, + a_depreciation_method_id numeric(10) NOT NULL, + a_depreciation_conv_f_id numeric(10) NOT NULL, + a_depreciation_conv_id numeric(10) NOT NULL, + a_depreciation_method_f_id numeric(10) NOT NULL, + a_depreciation_variable_perc_f numeric, + a_depreciation_f_id numeric(10) NOT NULL, + uselifeyears_f numeric(10) NOT NULL DEFAULT (0)::numeric, + uselifemonths_f numeric(10) NOT NULL DEFAULT (0)::numeric, + a_disposal_revenue_acct numeric(10) DEFAULT NULL::numeric, + a_disposal_loss_acct numeric(10) DEFAULT NULL::numeric, + CONSTRAINT a_asset_group_acct_key PRIMARY KEY (a_asset_group_acct_id), + CONSTRAINT aassetgroup_aassetgroupacct FOREIGN KEY (a_asset_group_id) + REFERENCES a_asset_group (a_asset_group_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciation_aassetgroupacct FOREIGN KEY (a_depreciation_id) + REFERENCES a_depreciation (a_depreciation_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT adepreciationtableheader_aass3 FOREIGN KEY (a_depreciation_table_header_id) + REFERENCES a_depreciation_table_header (a_depreciation_table_header_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT cacctschema_aassetgroupacct FOREIGN KEY (c_acctschema_id) + REFERENCES c_acctschema (c_acctschema_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, + CONSTRAINT aassetgroupacctisactive_check CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), + CONSTRAINT aassetgroupacctprocessingchck CHECK (processing = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])) +) +WITH (OIDS=FALSE); +ALTER TABLE a_asset_group_acct OWNER TO adempiere; + +-- May 5, 2011 10:17:12 AM MYT +-- Fixed Asset 3297722 Build Depreciation Workfile wrong button +UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_TIMESTAMP('2011-05-05 10:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700 +; + +-- May 5, 2011 10:18:01 AM MYT +-- Fixed Asset 3297722 Build Depreciation Workfile wrong button +UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_TIMESTAMP('2011-05-05 10:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703 +; + +-- *** migration/FA/postgresql/006_FA_Stabilization_postgresql.sql *** + +-- May 16, 2011 7:48:02 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55792 +; + +-- May 16, 2011 7:53:26 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56064 +; + +-- May 16, 2011 7:53:27 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- May 16, 2011 7:53:28 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56057 +; + +-- May 16, 2011 7:53:29 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- May 16, 2011 7:53:30 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- May 16, 2011 7:53:31 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- May 16, 2011 7:53:32 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- May 16, 2011 7:53:33 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56073 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56068 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56069 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56076 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56077 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=56078 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=56079 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56080 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59266 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59267 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59268 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=59269 +; + +-- May 16, 2011 7:53:37 AM MYT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=59270 +; + +-- May 19, 2011 2:53:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:53:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53320 +; + +-- May 19, 2011 2:53:59 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:53:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53323 +; + +-- May 19, 2011 2:54:02 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:54:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53321 +; + +-- May 19, 2011 2:54:03 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53156 +; + +-- May 19, 2011 2:54:08 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53159 +; + +-- May 19, 2011 2:54:14 AM MYT +-- Fixed Assets Usability +UPDATE AD_Tab SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-19 02:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53322 +; + +-- May 19, 2011 2:34:31 PM MYT +-- Fixed Assets Usability +UPDATE AD_Process SET Classname='ro.arhipac.adempiere.fa.process.A_Depreciation_Exp_Process',Updated=TO_TIMESTAMP('2011-05-19 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53211 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET Name='Own contribution',Updated=TO_TIMESTAMP('2011-05-26 06:14:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59292 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59292 +; + +-- May 26, 2011 6:14:57 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Column_ID=59292 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Name='Third contribution', PrintName='Third contribution',Updated=TO_TIMESTAMP('2011-05-26 07:14:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54188 +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL, AD_Element_ID=54188 WHERE UPPER(ColumnName)='A_VALOARE_TERT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Tert', Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54188 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:22 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Third contribution', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54188) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:23 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem SET PrintName='Third contribution', Name='Third contribution' 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=54188) +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Name='Own contribution', PrintName='Own contribution',Updated=TO_TIMESTAMP('2011-05-26 07:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54187 +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL, AD_Element_ID=54187 WHERE UPPER(ColumnName)='A_VALOARE_COFINANTARE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Valoare_Cofinantare', Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Element_ID=54187 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Own contribution', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54187) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:14:49 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem SET PrintName='Own contribution', Name='Own contribution' 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=54187) +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element SET Description='Financing Type', Name='Financing Type', PrintName='Financing Type',Updated=TO_TIMESTAMP('2011-05-26 07:15:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Column SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Element_ID=54186 +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL, AD_Element_ID=54186 WHERE UPPER(ColumnName)='A_TIP_FINANTARE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Process_Para SET ColumnName='A_Tip_Finantare', Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Element_ID=54186 AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:15:19 AM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET Name='Financing Type', Description='Financing Type', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54186) AND IsCentrallyMaintained='Y' +; + +-- May 26, 2011 7:15:20 AM MYT +-- Fixed Assets Usability +UPDATE AD_PrintFormatItem SET PrintName='Financing Type', Name='Financing Type' 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=54186) +; + +-- *** migration/FA/postgresql/007_FA_Stabilization_postgresql.sql *** + +-- May 26, 2011 8:41:08 AM MYT +-- Fixed Assets Usability +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2011-05-26 08:41:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53152 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Client_ID,Created,Updated,IsActive,AD_Org_ID,CreatedBy,UpdatedBy) VALUES ('A_Account_Number_Acct',200015,'D','A_Account_Number_Acct','A_Account_Number_Acct',0,TO_TIMESTAMP('2012-03-09 13:16:10','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-03-09 13:16:10','YYYY-MM-DD HH24:MI:SS'),'Y',0,100,100) +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_PrintName,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_PrintName,t.PO_Name, '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=200015 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 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET AD_Element_ID=200015, ColumnName='A_Account_Number_Acct', Description=NULL, Help=NULL, Name='A_Account_Number_Acct',Updated=TO_TIMESTAMP('2011-05-26 10:07:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55393 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=55393 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='A_Account_Number_Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=55393 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Depreciation_Exp ADD COLUMN A_Account_Number_Acct NUMERIC(10) DEFAULT NULL +; + +ALTER TABLE a_depreciation_exp DROP COLUMN a_account_number; + +-- May 26, 2011 8:52:32 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@DepreciationType@=50006',Updated=TO_TIMESTAMP('2011-05-26 20:52:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56058 +; + +-- May 26, 2011 8:53:03 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-26 20:53:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56059 +; + +-- May 26, 2011 8:53:17 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2011-05-26 20:53:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56060 +; + +-- May 26, 2011 8:54:08 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_ID@=1000005|@A_Depreciation_ID@=50010|@A_Depreciation_ID@=50006',Updated=TO_TIMESTAMP('2011-05-26 20:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56061 +; + +-- May 26, 2011 8:56:17 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_F_ID@=50010|@A_Depreciation_F_ID@=50005',Updated=TO_TIMESTAMP('2011-05-26 20:56:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59257 +; + +-- May 26, 2011 8:56:23 PM MYT +-- Fixed Assets Usability +UPDATE AD_Field SET DisplayLogic='@A_Depreciation_ID@=50010|@A_Depreciation_ID@=50005',Updated=TO_TIMESTAMP('2011-05-26 20:56:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56061 +; + +-- May 26, 2011 9:15:29 PM MYT +-- Fixed Assets Usability +UPDATE A_Depreciation SET DepreciationType='ARH_VAR',Updated=TO_TIMESTAMP('2011-05-26 21:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50005 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_window +SET isbetafunctionality='N' +WHERE name LIKE '%sset%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%sset%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_window +SET isbetafunctionality='N' +WHERE name LIKE '%epreciat%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%epreciat%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_process +SET isbetafunctionality='N' +WHERE name LIKE '%nbound%' +AND isbetafunctionality='Y' +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.location' +WHERE ad_column_id=8041 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.locator' +WHERE ad_column_id=8049 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.CalloutAsset.locator' +WHERE ad_column_id=8073 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column +SET callout='org.compiere.model.MAssetType$Callout.assetType' +WHERE ad_column_id=59259 +; + +-- Mar 9, 2012 1:16:12 PM WIT +-- Complete Fixed Assets +UPDATE ad_column SET callout = null +WHERE ad_column_id=59455 +; + +-- Nov 24, 2011 9:06:25 AM ICT +-- Complete Fixed Assets +UPDATE A_Asset SET A_Asset_Action='MD' WHERE A_Asset_Action IS NULL +; + +-- Nov 24, 2011 9:09:37 AM ICT +-- Complete Fixed Assets +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2011-11-24 09:09:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59260 +; + +-- Nov 24, 2011 9:12:35 AM ICT +-- Complete Fixed Assets +UPDATE AD_Column SET DefaultValue=NULL, IsMandatory='N',Updated=TO_TIMESTAMP('2011-11-24 09:12:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Nov 24, 2011 10:58:05 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2011-11-24 10:58:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55954 +; + +-- Nov 24, 2011 10:58:15 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2011-11-24 10:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55968 +; + +-- Nov 24, 2011 10:58:19 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2011-11-24 10:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Nov 24, 2011 10:59:03 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2011-11-24 10:59:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59473 +; + +-- Nov 24, 2011 10:59:15 AM ICT +-- A_Asset_Addition +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2011-11-24 10:59:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55964 +; + +-- Dec 6, 2011 10:53:14 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='7',Updated=TO_TIMESTAMP('2011-12-06 10:53:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53112 +; + +-- Dec 6, 2011 10:53:55 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2011-12-06 10:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53121 +; + +-- Dec 6, 2011 10:54:04 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2011-12-06 10:54:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53115 +; + +-- Dec 6, 2011 10:54:25 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Table SET AccessLevel='7',Updated=TO_TIMESTAMP('2011-12-06 10:54:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53124 +; + +-- *** migration/FA/postgresql/008_FA_Stabilization_postgresql.sql *** + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56073 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56068 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56069 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56076 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56077 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=56078 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56079 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=56080 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59266 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59267 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59268 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59269 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=59270 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:22:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:23:03 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56058 +; + +-- Dec 6, 2011 11:23:03 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56058 +; + +-- Dec 6, 2011 11:23:07 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56059 +; + +-- Dec 6, 2011 11:23:07 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56059 +; + +-- Dec 6, 2011 11:23:11 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56060 +; + +-- Dec 6, 2011 11:23:11 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56060 +; + +-- Dec 6, 2011 11:23:20 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:23:20 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=56061 +; + +-- Dec 6, 2011 11:23:26 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:23:26 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=59257 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59268 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59269 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56069 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56068 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59266 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59267 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59270 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56078 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56079 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56076 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56077 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56080 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:24:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:25:40 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2011-12-06 11:25:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56055 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56073 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56074 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 11:25:56 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59038 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59039 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55885 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59036 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59037 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59040 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55888 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55889 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55886 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55887 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55890 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55874 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59031 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=55883 +; + +-- Dec 6, 2011 11:27:15 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Dec 6, 2011 11:27:27 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55871 +; + +-- Dec 6, 2011 11:27:27 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55871 +; + +-- Dec 6, 2011 11:27:30 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55872 +; + +-- Dec 6, 2011 11:27:30 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55872 +; + +-- Dec 6, 2011 11:27:34 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55873 +; + +-- Dec 6, 2011 11:27:34 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55873 +; + +-- Dec 6, 2011 11:27:37 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:27:37 AM WIT +-- Fixed Asset Stabilization +DELETE FROM AD_Field WHERE AD_Field_ID=55875 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=55883 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=55884 +; + +-- Dec 6, 2011 11:28:00 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59035 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59252 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59253 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=6185 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6190 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=11524 +; + +-- Dec 6, 2011 11:28:44 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=11620 +; + +-- Dec 6, 2011 11:28:52 AM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=11620 +; + +-- *** migration/FA/postgresql/009_FA_Stabilization_postgresql.sql *** + +-- Dec 6, 2011 12:00:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8051 +; + +-- Dec 6, 2011 12:00:11 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:00:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Dec 6, 2011 12:01:19 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55773 +; + +-- Dec 6, 2011 12:01:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59409 +; + +-- Dec 6, 2011 12:01:26 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:01:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55772 +; + +-- Dec 6, 2011 12:01:29 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2011-12-06 12:01:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59408 +; + +-- Dec 6, 2011 12:50:18 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET Name='Group Account',Updated=TO_TIMESTAMP('2011-12-06 12:50:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 12:50:18 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59255 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59254 +; + +-- Dec 6, 2011 12:50:30 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Dec 6, 2011 12:58:12 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_Table SET AD_Display=13086, AD_Key=6497, AD_Table_ID=472,Updated=TO_TIMESTAMP('2011-12-06 12:58:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53363 +; + +-- Mar 9, 2012 2:43:25 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET IsIdentifier='N',Updated=TO_TIMESTAMP('2012-03-09 14:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; + +-- Mar 9, 2012 2:43:31 PM WIT +-- Complete Fixed Assets +INSERT INTO t_alter_column values('a_asset','A_Asset_Type_ID','NUMERIC(10)',null,'NULL') +; + +-- Mar 9, 2012 2:43:31 PM WIT +-- Complete Fixed Assets +INSERT INTO t_alter_column values('a_asset','A_Asset_Type_ID',null,'NULL',null) +; + +-- Mar 9, 2012 2:57:06 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Help,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Description,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200075,53127,'U',0,'N','N','N',0,'The Invoice Document.','N',10,'N',30,'N','N',1008,'N','Y','N','Y','N','Invoice Identifier','Invoice','C_Invoice_ID','Y',100,TO_TIMESTAMP('2012-03-09 14:56:58','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_TIMESTAMP('2012-03-09 14:56:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Mar 9, 2012 2:57:06 PM WIT +-- Complete Fixed Assets +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=200075 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 9, 2012 2:57:34 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset_Disposed ADD COLUMN C_Invoice_ID NUMERIC(10) DEFAULT NULL +; + +-- Mar 9, 2012 2:58:06 PM WIT +-- Complete Fixed Assets +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Help,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Description,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200076,53127,'U',0,'N','N','N',0,'The Invoice Line uniquely identifies a single line of an Invoice.','N',10,'N',30,'N','N',1076,'N','Y','N','Y','N','Invoice Detail Line','Invoice Line','C_InvoiceLine_ID','Y',100,TO_TIMESTAMP('2012-03-09 14:58:04','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_TIMESTAMP('2012-03-09 14:58:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Mar 9, 2012 2:58:06 PM WIT +-- Complete Fixed Assets +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=200076 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 9, 2012 2:58:12 PM WIT +-- Complete Fixed Assets +ALTER TABLE A_Asset_Disposed ADD COLUMN C_InvoiceLine_ID NUMERIC(10) DEFAULT NULL +; + +-- *** migration/FA/postgresql/010_FA_Stabilization_postgresql.sql *** + +-- Mar 9, 2012 2:43:25 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET IsIdentifier='N',Updated=TO_TIMESTAMP('2012-03-09 14:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59259 +; +-- Dec 6, 2011 1:11:27 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:11:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53328 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Window SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53116 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Menu SET Description=NULL, IsActive='N', Name='Asset Class',Updated=TO_TIMESTAMP('2011-12-06 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53276 +; + +-- Dec 6, 2011 1:11:36 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53276 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58991 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58992 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=6152 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6154 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=6149 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8345 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6146 +; +-- Complete Fixed Assets +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58993 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6135 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=6143 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6166 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=55830 +; + +-- Dec 6, 2011 1:13:22 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=55831 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=12106 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=58994 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=6139 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=6165 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=6147 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=6136 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=6138 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=12107 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=6151 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=6159 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=6156 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=12876 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=12875 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=6160 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=6213 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6148 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6142 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Dec 6, 2011 1:13:23 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- Dec 6, 2011 1:18:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab SET Name='Group Account',Updated=TO_TIMESTAMP('2011-12-06 13:18:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 1:18:04 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53165 +; + +-- Dec 6, 2011 1:31:45 PM WIT +-- Fixed Asset Stabilization +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,Updated,UpdatedBy) VALUES (0,61470,200035,0,270,TO_TIMESTAMP('2011-12-06 13:31:45','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','IsFixedAssetInvoice',TO_TIMESTAMP('2011-12-06 13:31:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 6, 2011 1:31:45 PM WIT +-- Fixed Asset Stabilization +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=200035 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) +; + +-- Dec 6, 2011 1:31:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200035 +; + +-- Dec 6, 2011 1:31:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=5819 +; + +-- Dec 6, 2011 1:32:11 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2011-12-06 13:32:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5819 +; + +-- *** migration/FA/postgresql/011_FA_Stabilization_postgresql.sql *** + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59397 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59137 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59140 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59402 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59141 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59405 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59398 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59401 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59399 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59400 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59403 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59404 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59406 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59408 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59407 +; + +-- Dec 6, 2011 1:41:45 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59409 +; + +-- Dec 6, 2011 1:42:19 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53387 +; + +-- Dec 6, 2011 1:42:20 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:42:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53607 +; + +-- Dec 6, 2011 1:42:24 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53606 +; + +-- Dec 6, 2011 1:42:25 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2011-12-06 13:42:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53386 +; + +-- Dec 6, 2011 7:07:59 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2011-12-06 19:07:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Dec 6, 2011 7:08:14 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET ReadOnlyLogic='1=1',Updated=TO_TIMESTAMP('2011-12-06 19:08:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59456 +; + +-- Dec 6, 2011 7:08:24 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2011-12-06 19:08:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59473 +; + +-- Dec 6, 2011 7:08:58 PM WIT +-- Fixed Asset Stabilization +UPDATE AD_Column SET AD_Reference_ID=30, ReadOnlyLogic='1=1',Updated=TO_TIMESTAMP('2011-12-06 19:08:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55964 +; + +-- *** migration/FA/postgresql/012_FA_Stabilization_postgresql.sql *** + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59475 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59477 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59510 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59511 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59480 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59483 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59484 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59504 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59505 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59494 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59497 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Mar 9, 2012 3:08:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 3:10:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 3:10:23 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 3:10:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 3:10:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 3:10:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 3:10:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 3:10:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 3:10:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 3:10:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 3:10:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 3:10:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 3:10:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:10:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 3:10:48 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 15:10:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 3:11:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Tab SET HasTree='Y',Updated=TO_TIMESTAMP('2012-03-09 15:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53334 +; + +-- Mar 9, 2012 3:15:05 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53119 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET Name='Asset Type', Description=NULL, IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53279 +; + +-- Mar 9, 2012 3:15:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:15:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=301 +; + +-- Mar 9, 2012 3:16:07 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:16:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=300 +; + +-- Mar 9, 2012 3:16:18 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:16:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=274 +; + +-- Mar 9, 2012 3:16:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:16:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=223 +; + +-- Mar 9, 2012 3:16:36 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=222 +; + +-- Mar 9, 2012 3:16:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=201 +; + +-- Mar 9, 2012 3:18:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:18:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53165 +; + +-- Mar 9, 2012 3:18:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53168 +; + +-- Mar 9, 2012 3:18:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:18:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53167 +; + +-- Mar 9, 2012 3:18:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:18:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53166 +; + +-- Mar 9, 2012 3:18:59 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:18:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53170 +; + +-- Mar 9, 2012 3:19:05 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:19:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53056 +; + +-- Mar 9, 2012 3:19:37 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53057 +; + +-- Mar 9, 2012 3:19:41 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53172 +; + +-- Mar 9, 2012 3:19:48 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:19:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53059 +; + +-- Mar 9, 2012 3:19:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:19:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53174 +; + +-- Mar 9, 2012 3:20:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53054 +; + +-- Mar 9, 2012 3:20:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:20:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53154 +; + +-- Mar 9, 2012 3:20:29 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53113 +; + +-- Mar 9, 2012 3:20:33 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:20:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53153 +; + +-- Mar 9, 2012 3:20:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53052 +; + +-- Mar 9, 2012 3:20:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:20:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53151 +; + +-- Mar 9, 2012 3:20:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53053 +; + +-- Mar 9, 2012 3:21:10 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53277 +; + +-- Mar 9, 2012 3:21:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53117 +; + +-- Mar 9, 2012 3:21:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:21:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53048 +; + +-- Mar 9, 2012 3:21:28 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53144 +; + +-- Mar 9, 2012 3:21:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53107 +; + +-- Mar 9, 2012 3:21:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53148 +; + +-- Mar 9, 2012 3:21:58 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:21:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53051 +; + +-- Mar 9, 2012 3:22:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:22:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53147 +; + +-- Mar 9, 2012 3:22:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53146 +; + +-- Mar 9, 2012 3:22:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53050 +; + +-- Mar 9, 2012 3:22:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:22:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53143 +; + +-- Mar 9, 2012 3:22:23 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:22:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53099 +; + +-- Mar 9, 2012 3:22:33 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53046 +; + +-- Mar 9, 2012 3:22:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:22:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53140 +; + +-- Mar 9, 2012 3:23:09 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53049 +; + +-- Mar 9, 2012 3:23:19 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53097 +; + +-- Mar 9, 2012 3:23:22 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:23:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53142 +; + +-- Mar 9, 2012 3:23:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:23:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53047 +; + +-- Mar 9, 2012 3:23:40 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:23:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53141 +; + +-- Mar 9, 2012 3:23:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 15:23:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53136 +; + +-- Mar 9, 2012 3:23:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 15:23:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53133 +; + +-- Mar 9, 2012 3:24:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:24:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53278 +; + +-- Mar 9, 2012 3:24:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:24:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53137 +; + +-- Mar 9, 2012 3:24:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:24:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53275 +; + +-- Mar 9, 2012 3:24:11 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:24:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138 +; + +-- Mar 9, 2012 3:24:16 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:24:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53045 +; + +-- Mar 9, 2012 3:24:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:24:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53115 +; + +-- Mar 9, 2012 3:24:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y', IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 15:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53045 +; + +-- Mar 9, 2012 3:24:34 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET Name='Asset Revaluation Index', Description='Set the Revaluate Assets Index or Factors', IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 15:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138 +; + +-- Mar 9, 2012 3:24:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53044 +; + +-- Mar 9, 2012 3:24:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Window SET IsBetaFunctionality='Y',Updated=TO_TIMESTAMP('2012-03-09 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53118 +; + +-- Mar 9, 2012 3:25:10 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53158 +; + +-- Mar 9, 2012 3:25:13 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53161 +; + +-- Mar 9, 2012 3:25:17 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53159 +; + +-- Mar 9, 2012 3:25:20 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53160 +; + +-- Mar 9, 2012 3:25:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53157 +; + +-- Mar 9, 2012 3:25:28 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53162 +; + +-- Mar 9, 2012 3:25:31 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:25:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53156 +; + +-- Mar 9, 2012 3:25:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 15:25:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53155 +; + +-- Mar 9, 2012 3:35:20 PM WIT +-- Complete Fixed Assets +UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 15:35:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53145 +; + +-- Mar 9, 2012 3:35:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 15:35:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6152 +; + +-- *** migration/FA/postgresql/013_FA_Stabilization_postgresql.sql *** + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59487 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59478 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59479 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59507 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Mar 9, 2012 5:52:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 5:53:21 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59494 +; + +-- Mar 9, 2012 5:53:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59493 +; + +-- Mar 9, 2012 5:53:27 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:53:43 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59470 +; + +-- Mar 9, 2012 5:53:45 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:53:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59481 +; + +-- Mar 9, 2012 5:53:46 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59482 +; + +-- Mar 9, 2012 5:53:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59501 +; + +-- Mar 9, 2012 5:53:49 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59502 +; + +-- Mar 9, 2012 5:53:52 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:53:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59488 +; + +-- Mar 9, 2012 5:53:53 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59506 +; + +-- Mar 9, 2012 5:53:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59495 +; + +-- Mar 9, 2012 5:53:56 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59496 +; + +-- Mar 9, 2012 5:54:00 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:54:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59503 +; + +-- Mar 9, 2012 5:54:01 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:54:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59508 +; + +-- Mar 9, 2012 5:54:04 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:54:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59476 +; + +-- Mar 9, 2012 5:54:12 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:54:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59509 +; + +-- Mar 9, 2012 5:54:14 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59499 +; + +-- Mar 9, 2012 5:54:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET DefaultValue=NULL, IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 17:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53417 +; + +-- Mar 9, 2012 5:55:07 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-03-09 17:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53418 +; + +-- Mar 9, 2012 5:55:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 17:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53413 +; + +-- Mar 9, 2012 5:55:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2012-03-09 17:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53414 +; + +-- Mar 9, 2012 5:55:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2012-03-09 17:55:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53414 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56057 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59255 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59254 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56062 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59258 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59259 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59260 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59261 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56065 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56066 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59262 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56067 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59263 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56070 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:56:47 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59265 +; + +-- Mar 9, 2012 5:56:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct',Updated=TO_TIMESTAMP('2012-03-09 17:56:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:56:57 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET Name='Disposal Revenue Acct',Updated=TO_TIMESTAMP('2012-03-09 17:57:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59400 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=59400 +; + +-- Mar 9, 2012 5:57:08 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Column_ID=59400 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Element SET Name='Disposal Revenue Acct', PrintName='Disposal Revenue Acct',Updated=TO_TIMESTAMP('2012-03-09 17:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL, AD_Element_ID=54195 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Acct', Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=54195 AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET Name='Disposal Revenue Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54195) AND IsCentrallyMaintained='Y' +; + +-- Mar 9, 2012 5:57:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_PrintFormatItem SET PrintName='Disposal Revenue Acct', Name='Disposal Revenue Acct' 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=54195) +; + +-- Mar 9, 2012 5:58:35 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_TIMESTAMP('2012-03-09 17:58:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56070 +; + +-- Mar 9, 2012 5:58:41 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_TIMESTAMP('2012-03-09 17:58:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:58:44 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:58:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:58:55 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_TIMESTAMP('2012-03-09 17:58:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 5:59:03 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25,Updated=TO_TIMESTAMP('2012-03-09 17:59:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59264 +; + +-- Mar 9, 2012 5:59:09 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET DisplayLength=25, IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:59:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59265 +; + +-- Mar 9, 2012 5:59:21 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 17:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56071 +; + +-- Mar 9, 2012 5:59:24 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 17:59:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56072 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59014 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59013 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59015 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59016 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56018 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56020 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59017 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59018 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59019 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59020 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59021 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59022 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59023 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59024 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59025 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59026 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59027 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56024 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59028 +; + +-- Mar 9, 2012 6:00:06 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:30 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 18:00:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:38 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 18:00:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:39 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 18:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56011 +; + +-- Mar 9, 2012 6:00:39 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2012-03-09 18:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56008 +; + +-- Mar 9, 2012 6:00:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 18:00:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59028 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55883 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55884 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55878 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55879 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55867 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55870 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59030 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55877 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59033 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55876 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59032 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=55880 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=55881 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=55882 +; + +-- Mar 9, 2012 6:01:32 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59034 +; + +-- Mar 9, 2012 6:01:42 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 18:01:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59035 +; + +-- Mar 9, 2012 6:01:49 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-03-09 18:01:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55882 +; + +-- Mar 9, 2012 6:02:00 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET IsSameLine='Y', AD_FieldGroup_ID=NULL,Updated=TO_TIMESTAMP('2012-03-09 18:02:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55879 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6142 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6148 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=6161 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=6144 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=12872 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=12874 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=12873 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=12877 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=12878 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=58995 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=58997 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6141 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=6137 +; + +-- Mar 9, 2012 6:02:51 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=6150 +; + +-- *** migration/FA/postgresql/014_FA_Stabilization_postgresql.sql *** + +-- Mar 9, 2012 6:13:29 PM WIT +-- Complete Fixed Assets +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2012-03-09 18:13:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55768 +; + +-- Mar 9, 2012 6:13:32 PM WIT +-- Complete Fixed Assets +INSERT INTO t_alter_column values('a_asset_group_acct','A_Reval_Cal_Method','VARCHAR(22)',null,'NULL') +; + +-- Mar 9, 2012 6:21:53 PM WIT +-- Complete Fixed Assets +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56075 +; + +-- Apr 12, 2012 4:02:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET WindowType='M',Updated=TO_TIMESTAMP('2012-04-12 16:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53058 +; + +-- Apr 12, 2012 4:19:41 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-04-12 16:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347 +; + +-- Apr 12, 2012 4:20:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-04-12 16:20:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747 +; + +-- Mar 15, 2012 5:54:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AccessLevel,IsBetaFunctionality,IsServerProcess,ShowHelp,EntityType,Statistic_Seconds,Statistic_Count,Classname,CopyFromProcess,Description,Value,Name,AD_Org_ID,AD_Client_ID,CreatedBy,Updated,UpdatedBy,Created,IsActive) VALUES ('There are four parameters: +a. Project, is the Project that will be converted to asset. This project will be closed after this process completes +b. Product, is the asset product that will be act as the base for the newly created asset +c. UseLifeYears, is an optional parameter. Use this if you want a different use life years for the newly created asset, instead of the default uselifeyears from asset group accounting. +d. Transaction Date, will become in-service-date for the newly created asset.',200000,'N','N','1','N','N','Y','U',0,0,'org.adempiere.process.ProjectCreateAsset','N','This process creates asset from project and automatically close the project','FA_ProjectCreateAsset','FA_ProjectCreateAsset',0,0,100,TO_TIMESTAMP('2012-03-15 17:54:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-03-15 17:54:36','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Mar 15, 2012 5:54:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Help,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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200000 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) +; + +-- Mar 15, 2012 5:56:37 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,AD_Val_Rule_ID,SeqNo,IsMandatory,DefaultValue,EntityType,DisplayLogic,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200000,0,200000,'Y',30,232,10,'N','@C_Project_ID@','U','1=2','Project','C_Project_ID','Y',0,100,TO_TIMESTAMP('2012-03-15 17:56:37','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-03-15 17:56:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:56:37 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200000 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) +; + +-- Mar 15, 2012 5:58:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,SeqNo,IsMandatory,DefaultValue,EntityType,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200001,0,200000,'Y',15,30,'N','@#Date@','U','Transaction Date','DateTrx','Y',0,100,TO_TIMESTAMP('2012-03-15 17:58:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-03-15 17:58:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:58:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200001 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) +; + +-- Mar 15, 2012 5:58:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para (IsRange,AD_Process_Para_ID,FieldLength,AD_Process_ID,IsCentrallyMaintained,AD_Reference_ID,SeqNo,IsMandatory,EntityType,Name,ColumnName,IsActive,AD_Client_ID,UpdatedBy,Updated,CreatedBy,Created,AD_Org_ID) VALUES ('N',200002,0,200000,'Y',11,40,'N','U','Use Life Years','UseLifeYears','Y',0,100,TO_TIMESTAMP('2012-03-15 17:58:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-03-15 17:58:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Mar 15, 2012 5:58:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, '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=200002 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) +; + +-- Mar 22, 2012 2:31:36 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Column_ID,IsDisplayed,IsSameLine,IsHeading,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,IsReadOnly,EntityType,Name,AD_Field_ID,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,61471,'Y','N','N','N','Y',290,'N','U','IsFixedAssetInvoice',200048,100,0,'Y',TO_TIMESTAMP('2012-03-22 14:31:31','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-03-22 14:31:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Mar 22, 2012 2:31:36 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200048 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 22, 2012 2:31:50 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=200048 +; + +-- Mar 22, 2012 2:31:59 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-03-22 14:31:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200048 +; + +-- Mar 22, 2012 2:32:19 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Column_ID,IsDisplayed,IsSameLine,IsHeading,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,IsReadOnly,EntityType,Name,AD_Field_ID,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,61471,'Y','N','N','N','Y',263,'N','U','IsFixedAssetInvoice',200050,100,0,'Y',TO_TIMESTAMP('2012-03-22 14:32:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-03-22 14:32:18','YYYY-MM-DD HH24:MI:SS')) +; + +-- Mar 22, 2012 2:32:19 PM WIT +-- Stabilize Fixed Assets +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200050 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 22, 2012 2:32:44 PM WIT +-- Stabilize Fixed Assets +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-03-22 14:32:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200050 +; + +update ad_modelvalidator +set modelvalidationclass = 'org.idempiere.fa.model.ModelValidator' +where ad_modelvalidator_id=50004; + +update ad_column +set callout='org.idempiere.fa.model.CalloutAsset.location' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.model.CalloutAsset.location'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutAsset.locator' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.model.CalloutAsset.locator'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.amt' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Addition.amt'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Transfer.dateDoc' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Transfer.dateDoc'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Transfer.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Transfer.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Reval.dateDoc' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Reval.dateDoc'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Reval.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Reval.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.date' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.date'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.asset' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.asset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Disposed.amt' +where ad_column_id IN (select ad_column_id from ad_column + where callout = 'org.compiere.FA.CalloutA_Asset_Disposed.amt'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.project' +where ad_column_id IN (select ad_column_id from ad_column + where callout='org.compiere.FA.CalloutA_Asset_Addition.project'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id IN (select ad_column_id from ad_column + where callout='org.compiere.FA.CalloutA_Asset_Addition.periodOffset'); + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.amt;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59467; + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.dateDoc;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59465; + +update ad_column +set callout='org.idempiere.fa.model.CalloutA_Asset_Addition.uselife;org.idempiere.fa.model.CalloutA_Asset_Addition.periodOffset' +where ad_column_id=59463; + +update ad_column +set callout = 'org.idempiere.fa.model.' || substr (callout, 17) +where callout like 'org.compiere.FA.%' and ad_column_id IN ( +59293,55601,55784,55603); + +update ad_column +set callout = 'org.idempiere.fa.' || substr (callout, 17) +where callout like 'org.compiere.FA.%' and ad_column_id IN ( +59283,59284,59281,59282); + +update ad_process +set classname='org.idempiere.fa.process.A_Depreciation_Workfile_Build' +where ad_process_id=53207; + +update ad_process +set classname='org.idempiere.fa.process.A_Depreciation_Exp_Process' +where ad_process_id=53211; + +update ad_process +set classname='org.idempiere.fa.process.ProjectCreateAsset' +where ad_process_id=200000; + +update ad_process +set classname='org.idempiere.fa.process.ImportFixedAsset' +where ad_process_id=53215; + +--select * from ad_process where classname like '%sset%' + +--select callout from ad_column where callout = 'sset' order by callout desc + +-- *** migration/FA/postgresql/015_FA_Stabilization_postgresql.sql *** + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56174 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56174 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56175 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56175 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56176 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56176 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56177 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56177 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56178 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56178 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56179 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56179 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56180 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56180 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56181 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56181 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56182 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56182 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56183 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56183 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56172 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56169 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56170 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56171 +; + +-- Jun 11, 2012 12:49:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56173 +; + +-- Jun 11, 2012 12:49:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53169 +; + +-- Jun 11, 2012 12:49:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53169 +; + +-- Jun 11, 2012 12:49:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56140 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56140 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56141 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56141 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56142 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56142 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56143 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56143 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56144 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56144 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56145 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56145 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56146 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56146 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56147 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56147 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56148 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56148 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56149 +; + +-- Jun 11, 2012 12:50:01 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56149 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56150 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56150 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56151 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56151 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56152 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56152 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56153 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56153 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56154 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56154 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56155 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56155 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56156 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56156 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56157 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56157 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56158 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56158 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56159 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56159 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56160 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56160 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56161 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56161 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56162 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56162 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56163 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56163 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56164 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56164 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56165 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56165 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56166 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56166 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56167 +; + +-- Jun 11, 2012 12:50:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56167 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56168 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56168 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56139 +; + +-- Jun 11, 2012 12:50:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53168 +; + +-- Jun 11, 2012 12:50:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53168 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56098 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56098 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56099 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56099 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56100 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56100 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56101 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56101 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56102 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56102 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56103 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56103 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56104 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56104 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56105 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56105 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56106 +; + +-- Jun 11, 2012 12:50:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56106 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56107 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56107 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56108 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56108 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56109 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56109 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56110 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56110 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56111 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56111 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56112 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56112 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56113 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56113 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56114 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56114 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56115 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56115 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56116 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56116 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56117 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56117 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56118 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56118 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56119 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56119 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56120 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56120 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56121 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56121 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56122 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56122 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56123 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56123 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56124 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56124 +; + +-- Jun 11, 2012 12:50:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56125 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56125 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56126 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56126 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56127 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56127 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56128 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56128 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56129 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56129 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56130 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56130 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56131 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56131 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56132 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56132 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56133 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56133 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56134 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56134 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56135 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56135 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56136 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56136 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56137 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56137 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56138 +; + +-- Jun 11, 2012 12:50:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56138 +; + +-- Jun 11, 2012 12:50:21 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53167 +; + +-- Jun 11, 2012 12:50:21 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53167 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53170 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53170 +; + +-- Jun 11, 2012 12:50:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53170 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:50:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window_Trl WHERE AD_Window_ID=53056 +; + +-- Jun 11, 2012 12:50:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window WHERE AD_Window_ID=53056 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53165 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53165 +; + +-- Jun 11, 2012 12:50:58 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53165 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:51:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53166 +; + +-- Jun 11, 2012 12:51:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53166 +; + +-- Jun 11, 2012 12:51:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53133 +; + +-- Jun 11, 2012 12:51:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53133 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53168 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53168 +; + +-- Jun 11, 2012 12:51:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53168 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:51:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53167 +; + +-- Jun 11, 2012 12:51:42 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53167 +; + +-- Jun 11, 2012 12:51:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53137 +; + +-- Jun 11, 2012 12:51:46 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53137 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53167 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53167 +; + +-- Jun 11, 2012 12:52:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53167 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:52:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process_Trl WHERE AD_Process_ID=53135 +; + +-- Jun 11, 2012 12:52:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Process WHERE AD_Process_ID=53135 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53166 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53166 +; + +-- Jun 11, 2012 12:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53166 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:38 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56085 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56085 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56086 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56086 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56087 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56087 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56088 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56088 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56089 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56089 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56090 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56090 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56091 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56091 +; + +-- Jun 11, 2012 12:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56092 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56092 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56093 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56093 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56094 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56094 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56095 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56095 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56096 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56096 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56097 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56097 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56083 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56081 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56082 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Field WHERE AD_Field_ID=56084 +; + +-- Jun 11, 2012 12:52:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53166 +; + +-- Jun 11, 2012 12:52:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Tab WHERE AD_Tab_ID=53166 +; + +-- Jun 11, 2012 12:54:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50015 +; + +-- Jun 11, 2012 12:54:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50016 +; + +-- Jun 11, 2012 12:54:27 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window_Trl WHERE AD_Window_ID=53055 +; + +-- Jun 11, 2012 12:54:27 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Window WHERE AD_Window_ID=53055 +; + +-- Jun 11, 2012 1:22:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50018 +; + +-- Jun 11, 2012 1:22:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50010 +; + +-- Jun 11, 2012 1:22:16 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50013 +; + +-- Jun 11, 2012 1:22:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50006 +; + +-- Jun 11, 2012 1:22:19 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50008 +; + +-- Jun 11, 2012 1:22:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50019 +; + +-- Jun 11, 2012 1:22:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50017 +; + +-- Jun 11, 2012 1:22:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50009 +; + +-- Jun 11, 2012 1:22:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50005 +; + +-- Jun 11, 2012 1:22:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50007 +; + +-- Jun 11, 2012 1:22:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50012 +; + +-- Jun 11, 2012 1:22:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50014 +; + +-- Jun 11, 2012 1:22:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=115 +; + +-- Jun 11, 2012 1:22:31 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Preference WHERE AD_Preference_ID=50011 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53169 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53169 +; + +-- Jun 11, 2012 1:24:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53169 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=222 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=223 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=185 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=340 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53264 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53206 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=339 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=338 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=363 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=376 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=382 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=486 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=425 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=378 +; + +-- Jun 11, 2012 1:25:07 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=374 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=423 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53263 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=373 +; + +-- Jun 11, 2012 1:25:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=424 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=222 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=223 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=185 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=340 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53264 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53206 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=339 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=338 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=363 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=376 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=382 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=486 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=425 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=378 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=374 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53284 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=423 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53263 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=373 +; + +-- Jun 11, 2012 1:25:12 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=163, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=424 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:25:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53164 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53164 +; + +-- Jun 11, 2012 1:25:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53164 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=478 +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=478 +; + +-- Jun 11, 2012 1:25:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=478 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:03 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:05 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:08 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53276 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53279 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:26:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53134 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53135 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53135 +; + +-- Jun 11, 2012 1:26:23 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53135 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53163 +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53163 +; + +-- Jun 11, 2012 1:26:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53163 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53124 +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53124 +; + +-- Jun 11, 2012 1:26:35 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53124 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53279 +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53279 +; + +-- Jun 11, 2012 1:27:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53279 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53276 +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53276 +; + +-- Jun 11, 2012 1:27:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53276 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu_Trl WHERE AD_Menu_ID=53134 +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_Menu WHERE AD_Menu_ID=53134 +; + +-- Jun 11, 2012 1:27:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +DELETE FROM AD_TreeNodeMM WHERE Node_ID=53134 AND EXISTS (SELECT * FROM AD_Tree t WHERE t.AD_Tree_ID=AD_TreeNodeMM.AD_Tree_ID AND t.TreeType='MM') +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:22 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:24 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:26 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:28 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:30 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=431 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=430 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=474 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=400 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=399 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53133, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=348 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:34 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53156 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53162 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53157 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53160 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53159 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53161 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53158 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:45 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53278 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53137 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53275 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53136, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53138 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:48 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53280 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53154 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53153 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53151 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53150 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53149, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53152 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:27:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53173 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53176 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53175 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53172 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53171, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53174 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=342 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=343 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53171 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53149 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53139 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53136 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53155 +; + +-- Jun 11, 2012 1:28:02 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=345, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53133 +; + +-- Jun 11, 2012 2:29:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_TIMESTAMP('2012-06-11 14:29:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53175 +; + +-- Jun 11, 2012 2:30:00 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_TIMESTAMP('2012-06-11 14:30:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53174 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56238 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56231 +; + +-- Jun 11, 2012 2:33:40 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56237 +; + +-- Jun 11, 2012 4:06:32 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsIdentifier='N', SeqNo=NULL, IsUpdateable='N',Updated=TO_TIMESTAMP('2012-06-11 16:06:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55631 +; + +-- Jun 11, 2012 4:06:49 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=10,Updated=TO_TIMESTAMP('2012-06-11 16:06:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55733 +; + +-- *** migration/FA/postgresql/016_FA_Stabilization_postgresql.sql *** + +UPDATE ad_column +SET callout = 'org.idempiere.fa.model.CalloutAsset.Field_Clear' +WHERE ad_column_id=55601; + +UPDATE ad_column +SET callout = 'org.idempiere.fa.model.CalloutAsset.Table_Period' +WHERE ad_column_id IN (55603,55784); + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu (AD_Menu_ID,IsSummary,"action",IsSOTrx,IsReadOnly,AD_Process_ID,EntityType,IsCentrallyMaintained,Name,Created,IsActive,UpdatedBy,AD_Client_ID,CreatedBy,Updated,AD_Org_ID) VALUES (200006,'N','P','N','N',200000,'D','Y','Create Asset From Project',TO_TIMESTAMP('2012-06-14 15:45:39','YYYY-MM-DD HH24:MI:SS'),'Y',100,0,100,TO_TIMESTAMP('2012-06-14 15:45:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=200006 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Jun 14, 2012 3:45:44 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_TreeNodeMM (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, 200006, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200006) +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200006 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53273 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53274 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53277 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53144 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53148 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53147 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53146 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53143 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53140 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53145 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53142 +; + +-- Jun 14, 2012 3:45:52 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53141 +; + +-- Jun 14, 2012 3:46:39 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200210,53137,'D',0,'N','N','N',0,'N',10,'N',22,'N','N',53493,'N','Y','N','Y','N','A_Salvage_Value','A_Salvage_Value','Y',100,TO_TIMESTAMP('2012-06-14 15:46:37','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_TIMESTAMP('2012-06-14 15:46:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 14, 2012 3:46:39 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200210 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) +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Name='Asset Salvage Value', PrintName='Asset Salvage Value',Updated=TO_TIMESTAMP('2012-06-14 15:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL, AD_Element_ID=53493 WHERE UPPER(ColumnName)='A_SALVAGE_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 AND IsCentrallyMaintained='Y' +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Asset Salvage Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53493) AND IsCentrallyMaintained='Y' +; + +-- Jun 14, 2012 3:47:06 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Asset Salvage Value', Name='Asset Salvage Value' 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=53493) +; + +-- Jun 14, 2012 3:47:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE A_Asset_Addition ADD COLUMN A_Salvage_Value NUMERIC DEFAULT NULL +; + +-- Jun 14, 2012 3:47:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (AD_Column_ID,AD_Table_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,Name,ColumnName,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES (200211,53277,'D',0,'N','N','N',0,'N',10,'N',22,'N','N',53493,'N','Y','N','Y','N','Asset Salvage Value','A_Salvage_Value','Y',100,TO_TIMESTAMP('2012-06-14 15:47:46','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_TIMESTAMP('2012-06-14 15:47:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 14, 2012 3:47:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200211 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) +; + +-- Jun 14, 2012 3:47:51 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE I_FixedAsset ADD COLUMN A_Salvage_Value NUMERIC DEFAULT NULL +; + +-- Jun 14, 2012 3:48:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',10,'Y','N','N',200210,'N','Y',53324,200159,'N','D','Asset Salvage Value',100,0,'Y',TO_TIMESTAMP('2012-06-14 15:48:12','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-06-14 15:48:12','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:13 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200159 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) +; + +-- Jun 14, 2012 3:48:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',20,'Y','N','N',59587,'N','Y',53324,200160,'N','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','D','The date+time (expressed in decimal format) when the document has been processed','Processed On',100,0,'Y',TO_TIMESTAMP('2012-06-14 15:48:13','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-06-14 15:48:13','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200160 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) +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200160 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=200159 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59127 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59380 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59381 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59382 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59383 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59384 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59385 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59386 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59387 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59388 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59389 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59390 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59393 +; + +-- Jun 14, 2012 3:48:36 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59394 +; + +-- Jun 14, 2012 3:48:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Tab_ID,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',10,'Y','N','N',200211,'N','Y',53334,200161,'N','D','Asset Salvage Value',100,0,'Y',TO_TIMESTAMP('2012-06-14 15:48:46','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-06-14 15:48:46','YYYY-MM-DD HH24:MI:SS')) +; + +-- Jun 14, 2012 3:48:47 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200161 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) +; + +-- Jun 14, 2012 3:48:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=200161 +; + +-- Jun 14, 2012 3:48:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59508 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59509 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59486 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=59471 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59472 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59489 +; + +-- Jun 14, 2012 3:48:56 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59499 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56006 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56020 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59017 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59018 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59019 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59020 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59021 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59022 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59023 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59024 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59025 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59026 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59027 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56024 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56011 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59028 +; + +-- Jun 14, 2012 3:49:25 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56008 +; + +-- Jun 14, 2012 3:50:14 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2012-06-14 15:50:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8047 +; + +-- Jun 14, 2012 3:50:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('a_asset','M_Product_ID','NUMERIC(10)',null,null) +; + +-- Jun 14, 2012 3:50:20 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('a_asset','M_Product_ID',null,'NOT NULL',null) +; + +-- Jun 14, 2012 3:51:15 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-06-14 15:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59376 +; + +-- Jun 14, 2012 3:51:18 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-06-14 15:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59375 +; + +-- Jun 14, 2012 4:46:17 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutAsset.asset',Updated=TO_TIMESTAMP('2012-06-14 16:46:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55954 +; + +-- Jun 14, 2012 4:52:29 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55773 +; + +-- Jun 14, 2012 4:52:43 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59409 +; + +-- Jun 14, 2012 4:52:50 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55772 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59408 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59281 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59282 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59283 +; + +-- Jun 14, 2012 4:52:55 PM WIT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET Callout='org.idempiere.fa.model.CalloutA_Depreciation_Workfile.uselifeyear',Updated=TO_TIMESTAMP('2012-06-14 16:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59284 +; + +-- Oct 5, 2012 3:46:27 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element (AD_Element_ID,ColumnName,EntityType,Name,PrintName,AD_Client_ID,Created,Updated,IsActive,AD_Org_ID,CreatedBy,UpdatedBy) VALUES (200176,'IsFixedAsset','U','IsFixedAsset','IsFixedAsset',0,TO_TIMESTAMP('2012-10-05 15:46:20','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-10-05 15:46:20','YYYY-MM-DD HH24:MI:SS'),'Y',0,100,100) +; + +-- Oct 5, 2012 3:46:27 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_PrintName,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_PrintName,t.PO_Name, '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=200176 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) +; + +-- Oct 5, 2012 3:47:45 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Value,Name,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,IsActive,AD_Client_ID) VALUES (200039,270,'D','A','Asset',TO_TIMESTAMP('2012-10-05 15:47:41','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-10-05 15:47:41','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',0) +; + +-- Oct 5, 2012 3:47:45 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200039 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) +; + +-- Oct 5, 2012 4:10:07 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (DefaultValue,AD_Table_ID,AD_Column_ID,EntityType,Version,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsActive,Created,UpdatedBy) VALUES ('Y',542,200587,'U',0,'N','N','N',0,'N',1,'N',20,'N','N',200176,'N','Y','N','Y','N','IsFixedAsset','IsFixedAsset','Y',100,TO_TIMESTAMP('2012-10-05 16:10:02','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',TO_TIMESTAMP('2012-10-05 16:10:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Oct 5, 2012 4:10:07 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200587 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) +; + +-- Oct 5, 2012 4:10:37 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,DisplayLength,AD_Tab_ID,IsDisplayed,IsSameLine,IsHeading,AD_Column_ID,IsFieldOnly,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,UpdatedBy,AD_Org_ID,IsActive,Created,AD_Client_ID,CreatedBy,Updated) VALUES ('N',1,452,'Y','N','N',200587,'N','Y',200602,'N','U','IsFixedAsset',100,0,'Y',TO_TIMESTAMP('2012-10-05 16:10:31','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-10-05 16:10:31','YYYY-MM-DD HH24:MI:SS')) +; + +-- Oct 5, 2012 4:10:37 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200602 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) +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET PrintName='Fixed Asset ?',Updated=TO_TIMESTAMP('2012-10-05 16:11:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200176 +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200176 +; + +-- Oct 5, 2012 4:11:24 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Fixed Asset ?', Name='IsFixedAsset' 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=200176) +; + +-- Oct 5, 2012 4:11:58 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Fixed Asset?',Updated=TO_TIMESTAMP('2012-10-05 16:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200602 +; + +-- Oct 5, 2012 4:11:58 PM ICT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=200602 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Element SET ColumnName='A_AssetType',Updated=TO_TIMESTAMP('2012-10-24 18:03:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54171 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Column SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL WHERE AD_Element_ID=54171 +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL, AD_Element_ID=54171 WHERE UPPER(ColumnName)='A_ASSETTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Oct 24, 2012 6:03:46 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +UPDATE AD_Process_Para SET ColumnName='A_AssetType', Name='Asset Type', Description=NULL, Help=NULL WHERE AD_Element_ID=54171 AND IsCentrallyMaintained='Y' +; + +ALTER TABLE a_asset RENAME a_asset_type TO a_assettype +; + +-- Oct 24, 2012 9:15:37 PM COT +-- IDEMPIERE-197 Stabilize Fixed Assets +ALTER TABLE A_Asset_Group ADD COLUMN IsFixedAsset CHAR(1) DEFAULT 'Y' CHECK (IsFixedAsset IN ('Y','N')) +; + +SELECT register_migration_script('945_IDEMPIERE-197_FixedAssets.sql') FROM dual +; + diff --git a/migration/360lts-release/postgresql/946_IDEMPIERE-197_FixedAssets.sql b/migration/360lts-release/postgresql/946_IDEMPIERE-197_FixedAssets.sql new file mode 100644 index 0000000000..6cf35bfe10 --- /dev/null +++ b/migration/360lts-release/postgresql/946_IDEMPIERE-197_FixedAssets.sql @@ -0,0 +1,29 @@ +-- Position new fixed assets fields according to new grid positioning + +UPDATE AD_Field SET XPosition=3 WHERE ad_field_uu is null and seqnogrid is null AND IsSameLine='Y' AND IsActive='Y'; + +UPDATE AD_Field SET XPosition=1 WHERE ad_field_uu is null and seqnogrid is null AND IsSameline='N' AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=1 WHERE ad_field_uu is null and seqnogrid is null AND DisplayLength<30 AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=3 WHERE ad_field_uu is null and seqnogrid is null AND DisplayLength>=30 AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=3 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=14) AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=5 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=36) AND IsActive='Y'; + +UPDATE AD_Field SET NumLines=8 WHERE ad_field_uu is null and seqnogrid is null AND AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Reference_ID=34) AND IsActive='Y'; + +UPDATE AD_Field SET ColumnSpan=2 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=1 AND ColumnSpan=1 AND IsActive='Y'); + +UPDATE AD_Field SET XPosition=4,ColumnSpan=2 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=3 AND ColumnSpan=1 AND IsActive='Y'); + +UPDATE AD_Field SET XPosition=XPosition+1 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT fi.AD_Field_ID FROM AD_Field fi INNER JOIN AD_Column c ON (fi.AD_Column_ID=C.AD_Column_ID) WHERE c.AD_Reference_ID in (20,28) AND fi.IsActive='Y'); + +UPDATE AD_Field SET ColumnSpan=5 WHERE ad_field_uu is null and seqnogrid is null AND AD_Field_ID IN (SELECT AD_Field_ID FROM AD_Field WHERE XPosition=1 AND ColumnSpan=3 AND IsActive='Y'); + +UPDATE AD_Field SET seqnogrid=seqno WHERE ad_field_uu is null and seqnogrid is null; + +SELECT register_migration_script('946_IDEMPIERE-197_FixedAssets.sql') FROM dual +; + diff --git a/org.adempiere.base.process/src/org/compiere/process/AssetDelivery.java b/org.adempiere.base.process/src/org/compiere/process/AssetDelivery.java index ec77dafab0..0aa97ce1d6 100644 --- a/org.adempiere.base.process/src/org/compiere/process/AssetDelivery.java +++ b/org.adempiere.base.process/src/org/compiere/process/AssetDelivery.java @@ -299,7 +299,7 @@ public class AssetDelivery extends SvrProcess // log.fine((System.currentTimeMillis()-start) + " ms"); // success - StringBuilder msgreturn = new StringBuilder().append(user.getEMail()).append(" - ").append(asset.getProductVersionNo()); + StringBuilder msgreturn = new StringBuilder().append(user.getEMail()).append(" - ").append(asset.getVersionNo()); return msgreturn.toString(); } // deliverIt diff --git a/org.adempiere.base/META-INF/MANIFEST.MF b/org.adempiere.base/META-INF/MANIFEST.MF index b17ff0a835..63c5db283d 100644 --- a/org.adempiere.base/META-INF/MANIFEST.MF +++ b/org.adempiere.base/META-INF/MANIFEST.MF @@ -166,7 +166,6 @@ Export-Package: bsh, org.codehaus.groovy.vmplugin.v5, org.codehaus.groovy.vmplugin.v6, org.compiere, - org.compiere.FA, org.compiere.acct, org.compiere.cm, org.compiere.db, diff --git a/org.adempiere.base/plugin.xml b/org.adempiere.base/plugin.xml index 79aa4c8727..a6535ada32 100644 --- a/org.adempiere.base/plugin.xml +++ b/org.adempiere.base/plugin.xml @@ -12,6 +12,7 @@ + + + + + + + + + + + + + Extension point to provide import service for data from that is generated from the AD_Window definition. The client in use ( swing or zk ) is responsible to present all available import extension to user to pick the one to use. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + numeric priority value, higher value is of higher priority. + + + + + + + Implementation class name for the org.adempiere.base.IGridTabImporter interface + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + <pre> +<extension + id="org.adempiere.impexp.GridTabCSVImporter" + name="Grid data CSV importer" + point="org.adempiere.base.IGridTabImporter"> + <importer + class="org.adempiere.impexp.GridTabCSVImporter" + priority="0"> + </importer> +</extension> +</pre> + + + + + + + + + The class attribute must represent an implementor of org.adempiere.base.IGridTabImporter + + + + + + + + + CSV import in org.adempiere.base + + + + + + + + + This file is part of iDempiere ERP http://www.idempiere.org. + + Copyright (C) Carlos Ruiz + Copyright (C) Trek Global + + This program is free software; you can redistribute it and/or modify it + under the terms version 2 of the GNU General Public License as published + by the Free Software Foundation. This program is distributed in the hope + that it will be useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + + + + diff --git a/org.adempiere.base/src/org/adempiere/base/BaseActivator.java b/org.adempiere.base/src/org/adempiere/base/BaseActivator.java index 895af6e276..12f9897050 100644 --- a/org.adempiere.base/src/org/adempiere/base/BaseActivator.java +++ b/org.adempiere.base/src/org/adempiere/base/BaseActivator.java @@ -19,6 +19,12 @@ *****************************************************************************/ package org.adempiere.base; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.util.Enumeration; +import java.util.Properties; + import org.adempiere.base.equinox.StackTraceCommand; import org.compiere.Adempiere; import org.eclipse.osgi.framework.console.CommandProvider; @@ -44,9 +50,51 @@ public class BaseActivator implements BundleActivator { */ @Override public void start(BundleContext context) throws Exception { + //Load Init Properties + loadInitProperties(Adempiere.getAdempiereHome()); bundleContext = context; context.registerService(CommandProvider.class.getName(), new StackTraceCommand(), null); } + + /* + * Load idempiereInit.properties into the system. + */ + private void loadInitProperties(String filePath) { + + Properties props = new Properties(); + String fileName = filePath+ File.separator+"idempiereInit.properties"; + File env = new File (fileName); + boolean loadOk = true; + if (env.exists() && env.isFile() && env.canRead()) + { + FileInputStream fis = null; + try + { + fis = new FileInputStream(env); + props.load(fis); + }catch (Exception e){ + loadOk = false; + System.err.println("Exception while loading idempiereInit.properties: "+ e.toString()); + }finally{ + try { + fis.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + if (loadOk) { + String key = null; + String value =null; + Enumeration enumeration = props.propertyNames(); + while (enumeration.hasMoreElements()) { + key = (String) enumeration.nextElement(); + value = props.getProperty(key); + System.setProperty(key,value) ; + //System.out.println("Loaded Key: "+ key + "- Value :"+value); + } + } + } + } /* (non-Javadoc) * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) diff --git a/org.adempiere.base/src/org/adempiere/base/IGridTabExporter.java b/org.adempiere.base/src/org/adempiere/base/IGridTabExporter.java index 80403c8d28..cfcfef6647 100644 --- a/org.adempiere.base/src/org/adempiere/base/IGridTabExporter.java +++ b/org.adempiere.base/src/org/adempiere/base/IGridTabExporter.java @@ -48,4 +48,9 @@ public interface IGridTabExporter { * @return mime type */ public String getContentType(); + + /** + * @return suggested file name + */ + public String getSuggestedFileName(GridTab gridTab); } diff --git a/org.adempiere.base/src/org/adempiere/base/IGridTabImporter.java b/org.adempiere.base/src/org/adempiere/base/IGridTabImporter.java new file mode 100644 index 0000000000..f927a1024a --- /dev/null +++ b/org.adempiere.base/src/org/adempiere/base/IGridTabImporter.java @@ -0,0 +1,59 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2012 Trek Global * + * Copyright (C) 2012 Carlos Ruiz * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.base; + +import java.io.File; +import java.io.InputStream; +import java.nio.charset.Charset; +import java.util.List; + +import org.compiere.model.GridTab; + +/** + * + * @author Carlos Ruiz + * + */ +public interface IGridTabImporter { + + /** + * export gridTab data to file + * @param gridTab + * @param childs + * @param filestream + * @param charset + */ + public File fileImport(GridTab gridTab, List childs, InputStream filestream, Charset charset); + + /** + * @return file extension + */ + public String getFileExtension(); + + /** + * @return description for file extension + */ + public String getFileExtensionLabel(); + + /** + * @return mime type + */ + public String getContentType(); + + /** + * @return suggested file name + */ + public String getSuggestedFileName(GridTab gridTab); +} diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java index e3a4cf6fa2..16442a8289 100644 --- a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java @@ -17,6 +17,7 @@ package org.adempiere.impexp; import java.io.File; import java.io.FileWriter; import java.io.IOException; +import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; @@ -25,6 +26,7 @@ import java.util.List; import java.util.Map; import org.adempiere.base.IGridTabExporter; +import org.adempiere.exceptions.AdempiereException; import org.adempiere.model.MTabCustomization; import org.compiere.model.GridField; import org.compiere.model.GridTab; @@ -77,7 +79,9 @@ public class GridTabCSVExporter implements IGridTabExporter } else if (DisplayType.Time == column.getAD_Reference_ID()) { procArray.add(new Optional(new FmtDate("DisplayType.DEFAULT_TIME_FORMAT"))); } else if (DisplayType.Integer == column.getAD_Reference_ID() || DisplayType.isNumeric(column.getAD_Reference_ID())) { - procArray.add(new Optional(new FmtNumber(DisplayType.getNumberFormat(column.getAD_Reference_ID())))); + DecimalFormat nf = DisplayType.getNumberFormat(column.getAD_Reference_ID()); + nf.setGroupingUsed(false); + procArray.add(new Optional(new FmtNumber(nf))); } else if (DisplayType.YesNo == column.getAD_Reference_ID()) { procArray.add(new Optional(new FmtBool("Y", "N"))); } else { // lookups and text @@ -110,7 +114,7 @@ public class GridTabCSVExporter implements IGridTabExporter mapWriter.write(row, header, processors); } } catch (IOException e) { - e.printStackTrace(); + throw new AdempiereException(e); } finally { if (mapWriter != null) { try { @@ -125,7 +129,7 @@ public class GridTabCSVExporter implements IGridTabExporter private Object resolveValue(GridTab gridTab, MTable table, MColumn column, int i, String headName) { Object value = null; - if (headName.contains("[") && headName.endsWith("]")) { + if (headName.indexOf("[") >= 0 && headName.endsWith("]")) { String foreignTable = column.getReferenceTableName(); Object idO = gridTab.getValue(i, column.getColumnName()); if (idO != null) { @@ -157,12 +161,14 @@ public class GridTabCSVExporter implements IGridTabExporter String foreignTable = column.getReferenceTableName(); if ( ! ("AD_Language".equals(foreignTable) || "AD_EntityType".equals(foreignTable))) { MTable fTable = MTable.get(Env.getCtx(), foreignTable); - // Hardcoded / do not check for Value on AD_Org and AD_User, must use name for these two tables - if (! ("AD_Org".equals(foreignTable) || "AD_User".equals(foreignTable)) + // Hardcoded / do not check for Value on AD_Org, AD_User and AD_Ref_List, must use name for these two tables + if (! ("AD_Org".equals(foreignTable) || "AD_User".equals(foreignTable) || "AD_Ref_List".equals(foreignTable)) && fTable.getColumn("Value") != null) { name.append("[Value]"); // fully qualified } else if (fTable.getColumn("Name") != null) { name.append("[Name]"); + } else if (fTable.getColumn("DocumentNo") != null) { + name.append("[DocumentNo]"); } } } @@ -197,16 +203,16 @@ public class GridTabCSVExporter implements IGridTabExporter String[] customComponent = custom.split(";"); String[] fieldIds = customComponent[0].split("[,]"); List fieldList = new ArrayList(); - for(String fieldIdStr : fieldIds) + for (String fieldIdStr : fieldIds) { fieldIdStr = fieldIdStr.trim(); if (fieldIdStr.length() == 0) continue; int AD_Field_ID = Integer.parseInt(fieldIdStr); - for(GridField gridField : tmpFields) + for (GridField gridField : tmpFields) { if (gridField.getAD_Field_ID() == AD_Field_ID) { - if(gridField.isDisplayedGrid()) + if (!gridField.isReadOnly() && gridField.isDisplayedGrid()) fieldList.add(gridField); break; @@ -219,9 +225,11 @@ public class GridTabCSVExporter implements IGridTabExporter { ArrayList gridFieldList = new ArrayList(); - for(GridField field:tmpFields) + for (GridField field:tmpFields) { - if(field.isDisplayedGrid()) + if ("AD_Client_ID".equals(field.getColumnName())) + continue; + if (field.isParentValue() || (!field.isReadOnly() && field.isDisplayedGrid())) gridFieldList.add(field); } @@ -238,19 +246,9 @@ public class GridTabCSVExporter implements IGridTabExporter return gridFields; } - public boolean isColumnPrinted(GridTab tab, int col) - { - GridField field = tab.getField(col); - // field not displayed - if (!field.isDisplayed()) - return false; - // field encrypted - if (field.isEncrypted()) - return false; - // button without a reference value - if (field.getDisplayType() == DisplayType.Button && field.getAD_Reference_Value_ID() == 0) - return false; - return true; + @Override + public String getSuggestedFileName(GridTab gridTab) { + return "Export_" + gridTab.getTableName() + "." + getFileExtension(); } } diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java new file mode 100644 index 0000000000..1bc5affbc5 --- /dev/null +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java @@ -0,0 +1,433 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2012 Carlos Ruiz * + * Copyright (C) 2012 Trek Global * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.impexp; + +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.nio.charset.Charset; +import java.sql.Timestamp; +import java.text.DecimalFormatSymbols; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.UUID; + +import org.adempiere.base.IGridTabImporter; +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.MColumn; +import org.compiere.model.MTable; +import org.compiere.tools.FileUtil; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Language; +import org.compiere.util.Msg; +import org.compiere.util.Trx; +import org.compiere.util.ValueNamePair; +import org.supercsv.cellprocessor.Optional; +import org.supercsv.cellprocessor.ParseBigDecimal; +import org.supercsv.cellprocessor.ParseBool; +import org.supercsv.cellprocessor.ParseDate; +import org.supercsv.cellprocessor.ParseInt; +import org.supercsv.cellprocessor.constraint.StrMinMax; +import org.supercsv.cellprocessor.constraint.StrNotNullOrEmpty; +import org.supercsv.cellprocessor.ift.CellProcessor; +import org.supercsv.exception.SuperCsvCellProcessorException; +import org.supercsv.io.CsvMapReader; +import org.supercsv.io.ICsvMapReader; +import org.supercsv.prefs.CsvPreference; + +/** + * CSV Importer for GridTab + * @author Carlos Ruiz + */ +public class GridTabCSVImporter implements IGridTabImporter +{ + private static final String ERROR_HEADER = "_ERROR_"; + private static final String LOG_HEADER = "_LOG_"; + /** Logger */ + private static CLogger log = CLogger.getCLogger(GridTabCSVImporter.class); + boolean m_isError = false; + + public File fileImport(GridTab gridTab, List childs, InputStream filestream, Charset charset) { + + ICsvMapReader mapReader = null; + File errFile = null; + File logFile = null; + FileWriter errFileW = null; + FileWriter logFileW = null; + CsvPreference csvpref = CsvPreference.STANDARD_PREFERENCE; + String delimiter = String.valueOf((char) csvpref.getDelimiterChar()); + String quoteChar = String.valueOf((char) csvpref.getQuoteChar()); + try { + String errFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_err.csv"); + errFile = new File(errFileName); + errFileW = new FileWriter(errFile, false); + mapReader = new CsvMapReader(new InputStreamReader(filestream), csvpref); + + String[] header = mapReader.getHeader(true); + List readProcArray = new ArrayList(); + for (int idx = 0; idx < header.length; idx++) { + String headName = header[idx]; + if (headName.equals(ERROR_HEADER) || headName.equals(LOG_HEADER)) { + header[idx] = null; + readProcArray.add(null); + continue; + } + String columnName = headName; + boolean isForeign = headName.indexOf("[") > 0 && headName.endsWith("]"); + if (isForeign) { + int end = headName.indexOf("["); + columnName = headName.substring(0, end); + } + GridField field = gridTab.getField(columnName); + if (field == null) { + throw new AdempiereException(Msg.getMsg(Env.getCtx(), "FieldNotFound", new Object[] {columnName})); + } + MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID()); + // TODO: List columns can use RequireSubStr constraint + if (column.isMandatory()) { + if (DisplayType.Date == column.getAD_Reference_ID()) { + readProcArray.add(new ParseDate(DisplayType.DEFAULT_DATE_FORMAT)); + } else if (DisplayType.DateTime == column.getAD_Reference_ID()) { + readProcArray.add(new ParseDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)); + } else if (DisplayType.Time == column.getAD_Reference_ID()) { + readProcArray.add(new ParseDate("DisplayType.DEFAULT_TIME_FORMAT")); + } else if (DisplayType.Integer == column.getAD_Reference_ID()) { + readProcArray.add(new ParseInt()); + } else if (DisplayType.isNumeric(column.getAD_Reference_ID())) { + readProcArray.add(new ParseBigDecimal(new DecimalFormatSymbols(Language.getLoginLanguage().getLocale()))); + } else if (DisplayType.YesNo == column.getAD_Reference_ID()) { + readProcArray.add(new ParseBool("y", "n")); + } else if (DisplayType.isText(column.getAD_Reference_ID())) { + readProcArray.add(new StrMinMax(1, column.getFieldLength())); + } else { // mandatory lookups + readProcArray.add(new StrNotNullOrEmpty()); + } + } else { + if (DisplayType.Date == column.getAD_Reference_ID()) { + readProcArray.add(new Optional(new ParseDate(DisplayType.DEFAULT_DATE_FORMAT))); + } else if (DisplayType.DateTime == column.getAD_Reference_ID()) { + readProcArray.add(new Optional(new ParseDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT))); + } else if (DisplayType.Time == column.getAD_Reference_ID()) { + readProcArray.add(new Optional(new ParseDate("DisplayType.DEFAULT_TIME_FORMAT"))); + } else if (DisplayType.Integer == column.getAD_Reference_ID()) { + readProcArray.add(new Optional(new ParseInt())); + } else if (DisplayType.isNumeric(column.getAD_Reference_ID())) { + readProcArray.add(new Optional(new ParseBigDecimal(new DecimalFormatSymbols(Language.getLoginLanguage().getLocale())))); + } else if (DisplayType.YesNo == column.getAD_Reference_ID()) { + readProcArray.add(new Optional(new ParseBool("y", "n"))); + } else if (DisplayType.isText(column.getAD_Reference_ID())) { + readProcArray.add(new Optional(new StrMinMax(1, column.getFieldLength()))); + } else { // optional lookups and text + readProcArray.add(null); + } + } + } + CellProcessor[] processors = readProcArray.toArray(new CellProcessor[readProcArray.size()]); + + m_isError = false; + // write the header + String rawHeader = mapReader.getUntokenizedRow(); + errFileW.write(rawHeader + delimiter + ERROR_HEADER + "\n"); + + List> data = new ArrayList>(); + List rawData = new ArrayList(); + // pre-process to check for errors + while (true) { + Map map = null; + boolean isLineError = false; + StringBuilder errMsg = new StringBuilder(); + try { + map = mapReader.read(header, processors); + } catch (SuperCsvCellProcessorException e) { + int idx = e.getCsvContext().getColumnNumber() - 1; + errMsg.append(header[idx]).append(": ").append(e.getMessage()); + isLineError = true; + } + String rawLine = mapReader.getUntokenizedRow(); + if (! isLineError) { + if (map == null) + break; + for (Entry set : map.entrySet()) { + StringBuilder lineError = new StringBuilder(); + String headName = set.getKey(); + Object value = set.getValue(); + log.fine("Setting " + headName + " to " + value); + + String columnName = headName; + boolean isForeign = headName.indexOf("[") > 0 && headName.endsWith("]"); + String foreignColumn = null; + if (isForeign) { + int end = headName.indexOf("["); + columnName = headName.substring(0, end); + int startf = headName.indexOf("[")+1; + int endf = headName.length()-1; + foreignColumn = headName.substring(startf, endf); + } + GridField field = gridTab.getField(columnName); + if (field == null) { + lineError.append(Msg.getMsg(Env.getCtx(), "NotAWindowField", new Object[] {headName})); + isLineError = true; + } + if (!isLineError && field.isReadOnly() && !field.isParentValue()) { + lineError.append(Msg.getMsg(Env.getCtx(), "FieldIsReadOnly", new Object[] {headName})); + isLineError = true; + } + if (!isLineError && ! ( field.isDisplayed() || field.isDisplayedGrid() )) { + lineError.append(Msg.getMsg(Env.getCtx(), "FieldNotDisplayed", new Object[] {headName})); + isLineError = true; + } + if (!isLineError) { + MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID()); + if (isForeign) { + String foreignTable = column.getReferenceTableName(); + String idS = null; + int id = -1; + if ("AD_Ref_List".equals(foreignTable)) { + idS = resolveForeignList(column, foreignColumn, value); + } else { + id = resolveForeign(foreignTable, foreignColumn, value); + } + if (idS == null && id < 0) { + lineError.append(Msg.getMsg(Env.getCtx(), "ForeignNotResolved", new Object[] {headName, value.toString()})); + isLineError = true; + } + } else { + // no validation here + // TODO: we could validate length of string or min/max + } + } + if (isLineError && lineError.length() > 0) { + if (errMsg.length() > 0) + errMsg.append(" / "); + errMsg.append(lineError); + } + } + } + if (isLineError && ! m_isError) + m_isError = true; + if (!m_isError) { + data.add(map); + rawData.add(rawLine); + } + // write + rawLine = rawLine + delimiter + quoteChar + errMsg.toString().replaceAll(quoteChar, "") + quoteChar + "\n"; + errFileW.write(rawLine); + } + + if (!m_isError) { + String logFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_log.csv"); + logFile = new File(logFileName); + logFileW = new FileWriter(logFile, false); + + // write the header + logFileW.write(rawHeader + delimiter + LOG_HEADER + "\n"); + + // no errors found - then process + for (int idx = 0; idx < data.size(); idx++) { + String rawLine = rawData.get(idx); + String trxName = null; + String logMsg = null; + Trx trx = null; + boolean error = false; + try { + trxName = "Import_" + gridTab.getTableName() + "_" + UUID.randomUUID(); + trx = Trx.get(trxName, true); + Map map = data.get(idx); + gridTab.getTableModel().setImportingMode(true, trxName); + gridTab.dataNew(false); + for (String headName : header) { + if (headName == null) + continue; + Object value = map.get(headName); + + String columnName = headName; + boolean isForeign = headName.indexOf("[") > 0 && headName.endsWith("]"); + String foreignColumn = null; + if (isForeign) { + int end = headName.indexOf("["); + columnName = headName.substring(0, end); + int startf = headName.indexOf("[")+1; + int endf = headName.length()-1; + foreignColumn = headName.substring(startf, endf); + } + GridField field = gridTab.getField(columnName); + if (field.isParentValue()) + continue; + MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID()); + Object setValue = null; + if (isForeign) { + String foreignTable = column.getReferenceTableName(); + if ("AD_Ref_List".equals(foreignTable)) { + String idS = resolveForeignList(column, foreignColumn, value); + setValue = idS; + } else { + int id = resolveForeign(foreignTable, foreignColumn, value); + setValue = id; + if (field.isParentValue()) { + int actualId = (Integer) field.getValue(); + if (actualId != id) { + logMsg = Msg.getMsg(Env.getCtx(), "ParentCannotChange", new Object[] {headName}); + error = true; + break; + } + } + } + } else { + if (value != null) { + if (value != null && value instanceof java.util.Date) + value = new Timestamp(((java.util.Date)value).getTime()); + setValue = value; + } + } + if (value != null) { + if (field.isEditable(true)) { + gridTab.setValue(columnName, setValue); + } else { + logMsg = Msg.getMsg(Env.getCtx(), "FieldNotEditable", new Object[] {headName}); + error = true; + break; + } + } + } + if (! error) { + if (gridTab.dataSave(false)) { + logMsg = Msg.getMsg(Env.getCtx(), "SuccessfullySaved", new Object[] {gridTab.getTableModel().getKeyID(gridTab.getCurrentRow())}); + } else { + error = true; + ValueNamePair ppE = CLogger.retrieveWarning(); + String info = null; + if (ppE != null) + info = ppE.getName(); + if (info == null) + info = ""; + logMsg = Msg.getMsg(Env.getCtx(), "Error") + " " + Msg.getMsg(Env.getCtx(), "SaveError") + " (" + info + ")"; + gridTab.dataIgnore(); + } + } else { + gridTab.dataIgnore(); + } + } catch (Exception e) { + logMsg = Msg.getMsg(Env.getCtx(), "Error") + " " + e.getLocalizedMessage(); + error = true; + } finally { + if (trx != null) { + if (error) { + trx.rollback(); + } else { + trx.commit(); + } + trx.close(); + trx = null; + } + gridTab.getTableModel().setImportingMode(false, null); + } + // write + logMsg = logMsg.replaceAll(delimiter, ""); + rawLine = rawLine + delimiter + quoteChar + logMsg + quoteChar + "\n"; + logFileW.write(rawLine); + } + } + + } catch (IOException e) { + throw new AdempiereException(e); + } + finally { + try { + if (mapReader != null) + mapReader.close(); + if (errFileW != null) { + errFileW.flush(); + errFileW.close(); + } + if (logFileW != null) { + logFileW.flush(); + logFileW.close(); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + if (logFile != null) + return logFile; + else + return errFile; + } + + private String resolveForeignList(MColumn column, String foreignColumn, Object value) { + String idS = null; + StringBuilder select = new StringBuilder("SELECT Value FROM AD_Ref_List WHERE ") + .append(foreignColumn).append("=? AND AD_Reference_ID=? AND IsActive='Y'"); + idS = DB.getSQLValueStringEx(null, select.toString(), value, column.getAD_Reference_Value_ID()); + return idS; + } + + private int resolveForeign(String foreignTable, String foreignColumn, Object value) { + int id = -1; + StringBuilder select = new StringBuilder("SELECT ") + .append(foreignTable).append("_ID FROM ") + .append(foreignTable).append(" WHERE ") + .append(foreignColumn).append("=? AND IsActive='Y' AND AD_Client_ID=?"); + id = DB.getSQLValueEx(null, select.toString(), value, Env.getAD_Client_ID(Env.getCtx())); + if (id == -1 && !"AD_Client".equals(foreignTable)) { + MTable ft = MTable.get(Env.getCtx(), foreignTable); + String accessLevel = ft.getAccessLevel(); + if ( MTable.ACCESSLEVEL_All.equals(accessLevel) + || MTable.ACCESSLEVEL_SystemOnly.equals(accessLevel) + || MTable.ACCESSLEVEL_SystemPlusClient.equals(accessLevel)) { + // try System client if the table has System access + id = DB.getSQLValueEx(null, select.toString(), value, 0); + } + } + return id; + } + + @Override + public String getFileExtension() { + return "csv"; + } + + @Override + public String getFileExtensionLabel() { + return Msg.getMsg(Env.getCtx(), "FileCSV"); + } + + @Override + public String getContentType() { + return "application/csv"; + } + + @Override + public String getSuggestedFileName(GridTab gridTab) { + Calendar cal = Calendar.getInstance(); + SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); + String dt = sdf.format(cal.getTime()); + String localFile = "Import_" + gridTab.getTableName() + "_" + dt + + (m_isError ? "_err" : "_log") + + "." + getFileExtension(); + return localFile; + } + +} diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabExcelExporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabExcelExporter.java index 22ab472a0f..e8ffe79949 100644 --- a/org.adempiere.base/src/org/adempiere/impexp/GridTabExcelExporter.java +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabExcelExporter.java @@ -177,4 +177,9 @@ public class GridTabExcelExporter extends AbstractExcelExporter implements IGrid public String getContentType() { return "application/vnd.ms-excel"; } + + @Override + public String getSuggestedFileName(GridTab gridTab) { + return gridTab.getName() + "." + getFileExtension(); + } } diff --git a/org.adempiere.base/src/org/compiere/FA/AssetDisposed.java b/org.adempiere.base/src/org/compiere/FA/AssetDisposed.java deleted file mode 100644 index bf34a407ef..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/AssetDisposed.java +++ /dev/null @@ -1,221 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.model.MAssetChange; -import org.compiere.model.MRefList; -import org.compiere.model.X_A_Asset_Disposed; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - - -/** - * Dispose Asset - * - * @author Rob klein - * @version $Id: AssetDisposed.java,v 1.0$ - */ -public class AssetDisposed extends SvrProcess -{ - /** Record ID */ - private int p_Asset_Disposed_ID = 0; - private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("DeleteOld")) - m_DeleteOld = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - p_Asset_Disposed_ID = getRecord_ID(); - - - } // prepare - - - /** - * Build Depreciation Workfile - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Asset_Disposed_ID=" + p_Asset_Disposed_ID); - if (p_Asset_Disposed_ID == 0) - throw new IllegalArgumentException("No Record"); - - String sql = null; - - // - int no = 0; - BigDecimal v_Balance = new BigDecimal("0.0"); - X_A_Asset_Disposed AssetDisposed = new X_A_Asset_Disposed (getCtx(), p_Asset_Disposed_ID, null); - String clientCheck = " AND AD_Client_ID=" + AssetDisposed.getAD_Client_ID(); - - if (m_DeleteOld) - { - sql = "DELETE A_DEPRECIATION_EXP " - + "WHERE Processed='Y'" - + " AND A_Entry_Type = 'DIS'" + clientCheck; - - no = DB.executeUpdate (sql,null); - log.info ("doIt - Delete old processed entries =" + no); - } - - sql = null; - log.info("doIt - Starting Disposal = " + no); - - sql = "SELECT A.A_ASSET_ID, A.POSTINGTYPE, A.A_DEPRECIATION_ACCT, " - + " A.A_ACCUMDEPRECIATION_ACCT, A.A_DISPOSAL_LOSS, A.A_DISPOSAL_REVENUE, " - + " A.A_ASSET_ACCT, A.A_SPLIT_PERCENT, A.AD_ORG_ID, A.AD_CLIENT_ID, " - + " B.A_ASSET_COST, B.A_ACCUMULATED_DEPR " - + " FROM A_ASSET_ACCT A, A_DEPRECIATION_WORKFILE B " - + " WHERE A.A_ASSET_ID = " + AssetDisposed.getA_Asset_ID() - + " and B.A_ASSET_ID = " + AssetDisposed.getA_Asset_ID() - + " and A.POSTINGTYPE = B.POSTINGTYPE" - + " and A.AD_CLIENT_ID = B.AD_CLIENT_ID"; - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql,null); - log.info("doIt - SQL=" + sql); - String v_PostingType = null; - //X_A_Depreciation_Exp depexp = new X_A_Depreciation_Exp (getCtx(), 0, null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - if (v_PostingType != null && (!v_PostingType.equals(rs.getString("PostingType")))) - { - sql = "UPDATE A_DEPRECIATION_WORKFILE " - + "SET A_ACCUMULATED_DEPR = " + v_Balance - + "WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + AssetDisposed.getA_Asset_ID() - + "AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + v_PostingType + "'"; - DB.executeUpdate(sql,null); - - v_Balance = new BigDecimal("0.0"); - v_PostingType = rs.getString("PostingType"); - } - else if (v_PostingType == null) - { - v_PostingType = rs.getString("PostingType"); - } - - // Create JV for the asset disposal - remove cost of asset on balance sheet - X_A_Depreciation_Exp depexp0 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp0.setPostingType(rs.getString("PostingType")); - depexp0.setA_Asset_ID(AssetDisposed.getA_Asset_ID()); - depexp0.setExpense(rs.getBigDecimal("A_Asset_Cost").multiply(new BigDecimal(-1)).multiply(rs.getBigDecimal("A_Split_Percent"))); - depexp0.setDateAcct(AssetDisposed.getDateAcct()); - depexp0.setA_Account_Number(rs.getInt("A_Asset_Acct")); - depexp0.setDescription("Asset Disposed - Cost of Asset"); - depexp0.setIsDepreciated(true); - depexp0.setA_Period(AssetDisposed.getC_Period_ID()); - depexp0.setA_Entry_Type("DIS"); - depexp0.saveEx(); - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setPostingType(rs.getString("PostingType")); - depexp1.setA_Asset_ID(AssetDisposed.getA_Asset_ID()); - depexp1.setExpense(rs.getBigDecimal("A_Asset_Cost").multiply(rs.getBigDecimal("A_Split_Percent"))); - depexp1.setDateAcct(AssetDisposed.getDateAcct()); - depexp1.setA_Account_Number(rs.getInt("A_Disposal_Loss")); - depexp1.setDescription("Asset Disposed - Cost of Asset"); - depexp1.setIsDepreciated(false); - depexp1.setA_Period(AssetDisposed.getC_Period_ID()); - depexp1.setA_Entry_Type("DIS"); - depexp1.saveEx(); - - v_Balance = v_Balance.add(rs.getBigDecimal("A_Asset_Cost").multiply(rs.getBigDecimal("A_Split_Percent"))); - - // Create JV for the asset disposal - remove accumulated depreciation of the asset on balance sheet - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setA_Asset_ID(AssetDisposed.getA_Asset_ID()); - depexp2.setExpense(rs.getBigDecimal("A_Accumulated_Depr").multiply(rs.getBigDecimal("A_Split_Percent"))); - depexp2.setDateAcct(AssetDisposed.getDateAcct()); - depexp2.setA_Account_Number(rs.getInt("A_Accumdepreciation_Acct")); - depexp2.setDescription("Asset Disposed - Accum Depr"); - depexp2.setIsDepreciated(true); - depexp2.setA_Period(AssetDisposed.getC_Period_ID()); - depexp2.setA_Entry_Type("DIS"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setPostingType(rs.getString("PostingType")); - depexp3.setA_Asset_ID(AssetDisposed.getA_Asset_ID()); - depexp3.setExpense(rs.getBigDecimal("A_Accumulated_Depr").multiply(new BigDecimal(-1)).multiply(rs.getBigDecimal("A_Split_Percent"))); - depexp3.setDateAcct(AssetDisposed.getDateAcct()); - depexp3.setA_Account_Number(rs.getInt("A_Disposal_Loss")); - depexp3.setDescription("Asset Disposed - Accum Depr"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(AssetDisposed.getC_Period_ID()); - depexp3.setA_Entry_Type("DIS"); - depexp3.saveEx(); - } - - sql = "UPDATE A_ASSET " - + "SET ISDISPOSED = 'Y'," - + " ASSETDISPOSALDATE = " + DB.TO_DATE(AssetDisposed.getA_Disposed_Date()) - + " WHERE A_ASSET_ID = " + AssetDisposed.getA_Asset_ID(); - - DB.executeUpdate(sql,null); - - sql = "UPDATE A_DEPRECIATION_WORKFILE " - + "SET A_ACCUMULATED_DEPR = " + v_Balance - + "WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + AssetDisposed.getA_Asset_ID() - + "AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + v_PostingType + "'"; - DB.executeUpdate(sql,null); - - MAssetChange change = new MAssetChange (getCtx(), 0, null); - change.setA_Asset_ID(AssetDisposed.getA_Asset_ID()); - change.setChangeType("DIS"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "DIS")); - change.setAssetDisposalDate(AssetDisposed.getA_Disposed_Date()); - change.setAssetAccumDepreciationAmt(v_Balance); - change.setIsFullyDepreciated(true); - change.setIsDisposed(true); - change.saveEx(); - - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - - } - - return ""; - } // doIt - -} // AssetDisposed diff --git a/org.adempiere.base/src/org/compiere/FA/AssetRevalEntry.java b/org.adempiere.base/src/org/compiere/FA/AssetRevalEntry.java deleted file mode 100644 index da7591f1db..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/AssetRevalEntry.java +++ /dev/null @@ -1,410 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.model.MAsset; -import org.compiere.model.X_A_Asset_Reval_Entry; -import org.compiere.model.X_A_Asset_Reval_Index; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.model.X_C_Period; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - - -/** - * Asset Revaluation Entry - * - * @author Rob Klein - * @version $Id: AssetRevalEntry.java,v 1.0$ - */ -public class AssetRevalEntry extends SvrProcess -{ - /** Record ID */ - private int p_Asset_Reval_Entry_ID = 0; - private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("DeleteOld")) - m_DeleteOld = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - p_Asset_Reval_Entry_ID = getRecord_ID(); - } // prepare - - - /** - * Build Depreciation Workfile - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Asset_Reval_Entry_ID=" + p_Asset_Reval_Entry_ID); - if (p_Asset_Reval_Entry_ID == 0) - throw new IllegalArgumentException("No Record"); - - // - int no = 0; - BigDecimal v_Cost_reval = new BigDecimal("0.0"); - BigDecimal v_Cost_reval_pior = new BigDecimal("0.0"); - BigDecimal v_Accum_reval = new BigDecimal("0.0"); - BigDecimal v_Accum_reval_prior = new BigDecimal("0.0"); - BigDecimal v_Current_exp_reval = new BigDecimal("0.0"); - BigDecimal v_Multipler = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_reval = new BigDecimal("0.0"); - - X_A_Asset_Reval_Entry AssetReval = new X_A_Asset_Reval_Entry (getCtx(), p_Asset_Reval_Entry_ID, null); - X_C_Period Period = new X_C_Period (getCtx(), AssetReval.getC_Period_ID(), null); - - String sql = null; - log.info("doIt - Starting Transfer = " + no); - String clientCheck = " AND AD_Client_ID=" + AssetReval.getAD_Client_ID(); - - sql = "SELECT A.A_REVAL_COST_OFFSET, A.A_REVAL_ACCUMDEP_OFFSET_CUR, A.A_REVAL_DEPEXP_OFFSET " - + " A.A_ACCUMDEPRECIATION_ACCT, A.A_ASSET_ACCT, A.A_DEPRECIATION_ACCT, " - + " A.A_REVAL_ACCUMDEP_OFFSET_PRIOR, A.A_REVAL_COST_OFFSET_PRIOR " - + " B.A_ASSET_ID, B.A_ASSET_COST, B.A_ACCUMULATED_DEPR, B.A_ASSET_COST_REVAL, B.A_ACCUMULATED_DEPR_REVAL" - + " FROM A_ASSET_ACCT A, A_DEPRECIATION_WORKFILE B" - + " WHERE A.POSTINGTYPE = '" + AssetReval.getPostingType() - + " AND B.POSTINGTYPE = '" + AssetReval.getPostingType() - + " AND A.AD_Client_ID=" + AssetReval.getAD_Client_ID() - + " AND B.AD_Client_ID=" + AssetReval.getAD_Client_ID() - + " AND A.AD_Asset_ID = A.AD_Asset_ID"; - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql,null); - log.info("doIt - SQL=" + sql); - ResultSet rs = null; - X_A_Depreciation_Exp depexp = new X_A_Depreciation_Exp (getCtx(), 0, null); - - if (m_DeleteOld) - { - sql = "DELETE A_DEPRECIATION_EXP " - + "WHERE Processed='Y'" - + " AND A_Entry_Type = 'RVL'" + clientCheck; - - no = DB.executeUpdate (sql,null); - log.info ("doIt - Delete old processed entries =" + no); - } - try { - - rs = pstmt.executeQuery(); - - while (rs.next()){ - - String sql2 = "select A_ASSET_REVAL_INDEX_ID from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + AssetReval.getA_Effective_Date() - + ")"; - - X_A_Asset_Reval_Index ARevalIndex = new X_A_Asset_Reval_Index (getCtx(), DB.getSQLValue(null ,sql), null); - MAsset Asset = new MAsset (getCtx(), rs.getInt("A_Asset_ID"), null); - - if (AssetReval.getA_Reval_Multiplier().equals(X_A_Asset_Reval_Entry.A_REVAL_MULTIPLIER_Index)) - { - - if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_DateAquired)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getA_Asset_CreateDate() - + ")"; - - } - else if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_RevaluationDate)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getA_Asset_RevalDate() - + ")"; - - } - else if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_DateDepreciationStarted)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getAssetServiceDate() - + ")"; - - } - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement (sql2,null); - ResultSet rs2 = null; - log.info("doIt - SQL2=" + sql2); - try { - rs2 = pstmt2.executeQuery(); - while (rs2.next()){ - v_Multipler = ARevalIndex.getA_Reval_Rate().divide(rs2.getBigDecimal("A_REVAL_MULTIPLIER"),8); - } - - v_Cost_reval = ((rs.getBigDecimal("A_Asset_Cost").subtract(rs.getBigDecimal("A_ASSET_COST_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_Asset_Cost")); - v_Accum_reval = ((rs.getBigDecimal("A_ACCUMULATED_DEPR").subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR")); - - sql2 = "SELECT SUM(CHANGEAMT) AS SUM_CHANGEAMT FROM A_ASSET_CHANGE WHERE A_ASSET_ID = " - + rs.getInt("A_Asset_ID")+ " AND CHANGETYPE = 'D'"; - pstmt2 = DB.prepareStatement (sql2,null); - log.info("doIt - SQL2=" + sql2); - try { - rs2 = pstmt2.executeQuery(); - while (rs2.next()){ - v_Dep_Exp_reval = (rs2.getBigDecimal("SUM_CHANGEAMT").multiply( v_Multipler)).subtract(rs.getBigDecimal("SUM_CHANGEAMT")); - } - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt2); - rs2 = null; pstmt2 = null; - } - -// Create JV for the Reval Cost Amounts - X_A_Depreciation_Exp depexp0 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp0.setPostingType(AssetReval.getPostingType()); - depexp0.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp0.setExpense(v_Cost_reval); - depexp0.setDateAcct(AssetReval.getDateAcct()); - depexp0.setA_Account_Number(rs.getInt("A_ASSET_ACCT")); - depexp0.setDescription("Asset Revaluation"); - depexp0.setIsDepreciated(false); - depexp0.setA_Period(AssetReval.getC_Period_ID()); - depexp0.setA_Entry_Type("RVL"); - depexp0.saveEx(); - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setPostingType(AssetReval.getPostingType()); - depexp1.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp1.setExpense(v_Cost_reval.multiply(new BigDecimal(-1))); - depexp1.setDateAcct(AssetReval.getDateAcct()); - depexp1.setA_Account_Number(rs.getInt("A_REVAL_COST_OFFSET")); - depexp1.setDescription("Asset Revaluation"); - depexp1.setIsDepreciated(false); - depexp1.setA_Period(AssetReval.getC_Period_ID()); - depexp1.setA_Entry_Type("RVL"); - depexp1.saveEx(); - -// Create JV for the Reval Accum Depr Amounts - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp2.setPostingType(AssetReval.getPostingType()); - depexp2.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp2.setExpense(v_Accum_reval); - depexp2.setDateAcct(AssetReval.getDateAcct()); - depexp2.setA_Account_Number(rs.getInt("A_ACCUMDEPRECIATION_ACCT")); - depexp2.setDescription("Asset Revaluation"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(AssetReval.getC_Period_ID()); - depexp2.setA_Entry_Type("RVL"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setPostingType(AssetReval.getPostingType()); - depexp3.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp3.setExpense(v_Accum_reval.multiply(new BigDecimal(-1))); - depexp3.setDateAcct(AssetReval.getDateAcct()); - depexp3.setA_Account_Number(rs.getInt("A_ACCUMULATED_DEPR_REVAL")); - depexp3.setDescription("Asset Revaluation"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(AssetReval.getC_Period_ID()); - depexp3.setA_Entry_Type("RVL"); - depexp3.saveEx(); - -// Create JV for the Reval Depreciation Expense Amounts - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp4.setPostingType(AssetReval.getPostingType()); - depexp4.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp4.setExpense(v_Dep_Exp_reval); - depexp4.setDateAcct(AssetReval.getDateAcct()); - depexp4.setA_Account_Number(rs.getInt("A_DEPRECIATION_ACCT")); - depexp4.setDescription("Asset Revaluation"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(AssetReval.getC_Period_ID()); - depexp4.setA_Entry_Type("RVL"); - depexp4.saveEx(); - - X_A_Depreciation_Exp depexp5 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp5.setPostingType(AssetReval.getPostingType()); - depexp5.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp5.setExpense(v_Dep_Exp_reval.multiply(new BigDecimal(-1))); - depexp5.setDateAcct(AssetReval.getDateAcct()); - depexp5.setA_Account_Number(rs.getInt("A_REVAL_DEPEXP_OFFSET")); - depexp5.setDescription("Asset Revaluation"); - depexp5.setIsDepreciated(false); - depexp5.setA_Period(AssetReval.getC_Period_ID()); - depexp5.setA_Entry_Type("RVL"); - depexp5.saveEx(); - - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } } - else if (AssetReval.getA_Reval_Multiplier().equals(X_A_Asset_Reval_Entry.A_REVAL_MULTIPLIER_Factor)) - { - - - if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_DateAquired)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getA_Asset_CreateDate() - + ")"; - - } - else if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_RevaluationDate)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getA_Asset_RevalDate() - + ")"; - - } - else if (AssetReval.getA_Reval_Effective_Date().equals(X_A_Asset_Reval_Entry.A_REVAL_EFFECTIVE_DATE_DateDepreciationStarted)){ - sql2 = "Select A_REVAL_MULTIPLIER from A_ASSET_REVAL_INDEX where A_REVAL_CODE = " + AssetReval.getA_Rev_Code() - + " and A_EFFECTIVE_DATE = (select MAX(A_EFFECTIVE_DATE) from A_ASSET_REVAL_INDEX where A_EFFECTIVE_DATE < " - + Asset.getAssetServiceDate() - + ")"; - - } - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement (sql2,null); - log.info("doIt - SQL2=" + sql2); - try { - ResultSet rs2 = pstmt2.executeQuery(); - while (rs2.next()){ - v_Multipler = rs2.getBigDecimal("A_REVAL_MULTIPLIER"); - } - v_Cost_reval = ((rs.getBigDecimal("A_Asset_Cost").subtract(rs.getBigDecimal("A_ASSET_COST_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_Asset_Cost")); - v_Accum_reval = ((rs.getBigDecimal("A_ACCUMULATED_DEPR").subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR")); - - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } } - - v_Cost_reval = ((rs.getBigDecimal("A_Asset_Cost").subtract(rs.getBigDecimal("A_ASSET_COST_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_Asset_Cost")); - v_Accum_reval = ((rs.getBigDecimal("A_ACCUMULATED_DEPR").subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR_REVAL"))).multiply( v_Multipler)).subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR")); - - // Create JV for the Reval Cost Amounts - X_A_Depreciation_Exp depexp0 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp0.setPostingType(AssetReval.getPostingType()); - depexp0.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp0.setExpense(v_Cost_reval); - depexp0.setDateAcct(AssetReval.getDateAcct()); - depexp0.setA_Account_Number(rs.getInt("A_ASSET_ACCT")); - depexp0.setDescription("Asset Revaluation"); - depexp0.setIsDepreciated(false); - depexp0.setA_Period(AssetReval.getC_Period_ID()); - depexp0.setA_Entry_Type("RVL"); - depexp0.saveEx(); - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setPostingType(AssetReval.getPostingType()); - depexp1.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp1.setExpense(v_Cost_reval.multiply(new BigDecimal(-1))); - depexp1.setDateAcct(AssetReval.getDateAcct()); - depexp1.setA_Account_Number(rs.getInt("A_REVAL_COST_OFFSET")); - depexp1.setDescription("Asset Revaluation"); - depexp1.setIsDepreciated(false); - depexp1.setA_Period(AssetReval.getC_Period_ID()); - depexp1.setA_Entry_Type("RVL"); - depexp1.saveEx(); - -// Create JV for the Reval Accum Depr Amounts - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp2.setPostingType(AssetReval.getPostingType()); - depexp2.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp2.setExpense(v_Accum_reval); - depexp2.setDateAcct(AssetReval.getDateAcct()); - depexp2.setA_Account_Number(rs.getInt("A_ACCUMDEPRECIATION_ACCT")); - depexp2.setDescription("Asset Revaluation"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(AssetReval.getC_Period_ID()); - depexp2.setA_Entry_Type("RVL"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setPostingType(AssetReval.getPostingType()); - depexp3.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp3.setExpense(v_Accum_reval.multiply(new BigDecimal(-1))); - depexp3.setDateAcct(AssetReval.getDateAcct()); - depexp3.setA_Account_Number(rs.getInt("A_ACCUMULATED_DEPR_REVAL")); - depexp3.setDescription("Asset Revaluation"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(AssetReval.getC_Period_ID()); - depexp3.setA_Entry_Type("RVL"); - depexp3.saveEx(); - -// Create JV for the Reval Depreciation Expense Amounts - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp4.setPostingType(AssetReval.getPostingType()); - depexp4.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp4.setExpense(v_Accum_reval); - depexp4.setDateAcct(AssetReval.getDateAcct()); - depexp4.setA_Account_Number(rs.getInt("A_DEPRECIATION_ACCT")); - depexp4.setDescription("Asset Revaluation"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(AssetReval.getC_Period_ID()); - depexp4.setA_Entry_Type("RVL"); - depexp4.saveEx(); - - X_A_Depreciation_Exp depexp5 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp5.setPostingType(AssetReval.getPostingType()); - depexp5.setA_Asset_ID(Asset.getA_Asset_ID()); - depexp5.setExpense(v_Accum_reval.multiply(new BigDecimal(-1))); - depexp5.setDateAcct(AssetReval.getDateAcct()); - depexp5.setA_Account_Number(rs.getInt("A_REVAL_DEPEXP_OFFSET")); - depexp5.setDescription("Asset Revaluation"); - depexp5.setIsDepreciated(false); - depexp5.setA_Period(AssetReval.getC_Period_ID()); - depexp5.setA_Entry_Type("RVL"); - depexp5.saveEx(); - } - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return ""; - } // doIt - -} // AssetRevalEntry diff --git a/org.adempiere.base/src/org/compiere/FA/AssetSplit.java b/org.adempiere.base/src/org/compiere/FA/AssetSplit.java deleted file mode 100644 index cd493c155d..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/AssetSplit.java +++ /dev/null @@ -1,601 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.model.MAsset; -import org.compiere.model.MAssetAcct; -import org.compiere.model.MAssetAddition; -import org.compiere.model.MAssetChange; -import org.compiere.model.MDepreciationWorkfile; -import org.compiere.model.MRefList; -import org.compiere.model.X_A_Asset_Split; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - - -/** - * Split an Asset - * - * @author Rob Klein - * @version $Id: AssetSplit,v 1.0 $ - */ -public class AssetSplit extends SvrProcess -{ - /** Record ID */ - private int p_Asset_Split_ID = 0; - //private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - //ProcessInfoParameter[] para = getParameter(); - p_Asset_Split_ID = getRecord_ID(); - } // prepare - - - /** - * Transfer Asset - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Asset_Split_ID=" + p_Asset_Split_ID); - if (p_Asset_Split_ID == 0) - throw new IllegalArgumentException("No Record"); - - // - int no = 0; - BigDecimal v_AccumBalance_New = new BigDecimal("0.0"); - BigDecimal v_CostBalance_New = new BigDecimal("0.0"); - BigDecimal v_QTY_New = new BigDecimal("0.0"); - BigDecimal v_SalvageValue_New = new BigDecimal("0.0"); - BigDecimal v_AccumBalance_Org = new BigDecimal("0.0"); - BigDecimal v_CostBalance_Org = new BigDecimal("0.0"); - BigDecimal v_QTY_Org = new BigDecimal("0.0"); - BigDecimal v_SalvageValue_Org = new BigDecimal("0.0"); - BigDecimal v_multiplier_New = new BigDecimal("0.0"); - BigDecimal v_ManDep_Org = new BigDecimal("0.0"); - BigDecimal v_ManDep_New = new BigDecimal("0.0"); - - int v_AssetNumber = 0, A_Accumdepreciation_Acct = 0; - int A_Cost_Acct = 0, A_DepExp_Acct = 0; - - log.info("doIt - Starting Split = " + no); - - X_A_Asset_Split AssetSplit = new X_A_Asset_Split (getCtx(), p_Asset_Split_ID, null); - MAsset Asset = new MAsset (getCtx(), AssetSplit.getA_Asset_ID(), null); - MDepreciationWorkfile assetwk = new MDepreciationWorkfile (getCtx(), AssetSplit.getA_Depreciation_Workfile_ID(), null); - MAssetAcct assetacct = new MAssetAcct (getCtx(), AssetSplit.getA_Asset_Acct_ID(), null); - - v_AccumBalance_Org = assetwk.getA_Accumulated_Depr(); - v_SalvageValue_Org = assetwk.getA_Salvage_Value(); - v_CostBalance_Org = assetwk.getA_Asset_Cost(); - v_QTY_Org = AssetSplit.getA_QTY_Current(); - v_ManDep_Org = assetacct.getA_Depreciation_Manual_Amount(); - - if (AssetSplit.getA_Split_Type().compareTo("PER") == 0){ - v_multiplier_New = AssetSplit.getA_Percent_Split(); - v_AccumBalance_New = v_AccumBalance_Org.multiply(AssetSplit.getA_Percent_Split()); - v_CostBalance_New = v_CostBalance_Org.multiply(AssetSplit.getA_Percent_Split()); - v_QTY_New = v_QTY_Org.multiply(AssetSplit.getA_Percent_Split()); - v_SalvageValue_New = v_SalvageValue_Org.multiply(AssetSplit.getA_Percent_Split()); - v_AccumBalance_Org = v_AccumBalance_Org.subtract(v_AccumBalance_New); - v_CostBalance_Org = v_CostBalance_Org.subtract(v_CostBalance_New); - v_QTY_Org = v_QTY_Org.subtract(v_QTY_New); - v_SalvageValue_Org = v_SalvageValue_Org.subtract(v_SalvageValue_New); - v_ManDep_New = v_ManDep_Org.multiply(AssetSplit.getA_Percent_Split()); - v_ManDep_Org =v_ManDep_Org.subtract(v_ManDep_New); - } - else if (AssetSplit.getA_Split_Type().compareTo("QTY")==0) { - v_multiplier_New = AssetSplit.getA_QTY_Split().setScale(5, BigDecimal.ROUND_HALF_UP).divide(v_QTY_Org.setScale(5, BigDecimal.ROUND_HALF_UP), 0); - v_AccumBalance_New = v_AccumBalance_Org .multiply(v_multiplier_New); - v_CostBalance_New = v_CostBalance_Org .multiply(v_multiplier_New); - v_QTY_New = AssetSplit.getA_QTY_Split(); - v_SalvageValue_New = v_SalvageValue_Org.multiply(v_multiplier_New); - v_AccumBalance_Org = v_AccumBalance_Org.subtract(v_AccumBalance_New); - v_CostBalance_Org = v_CostBalance_Org .subtract(v_CostBalance_New); - v_QTY_Org = v_QTY_Org .subtract(v_QTY_New); - v_SalvageValue_Org = v_SalvageValue_Org .subtract(v_SalvageValue_New); - v_ManDep_New = v_ManDep_Org.multiply(v_multiplier_New); - v_ManDep_Org =v_ManDep_Org.subtract(v_ManDep_New); - } - else if (AssetSplit.getA_Split_Type().compareTo("AMT")==0) { - v_multiplier_New = AssetSplit.getA_Amount_Split().setScale(5, BigDecimal.ROUND_HALF_UP).divide(v_CostBalance_Org.setScale(5, BigDecimal.ROUND_HALF_UP), 0); - v_AccumBalance_New = v_AccumBalance_Org .multiply(v_multiplier_New); - v_CostBalance_New = AssetSplit.getA_Amount_Split(); - v_QTY_New = v_QTY_Org .multiply(v_multiplier_New); - v_SalvageValue_New = v_SalvageValue_Org.multiply(v_multiplier_New); - v_AccumBalance_Org = v_AccumBalance_Org.subtract(v_AccumBalance_New); - v_CostBalance_Org = v_CostBalance_Org.subtract(v_CostBalance_New); - v_QTY_Org = v_QTY_Org.subtract(v_QTY_New); - v_SalvageValue_Org = v_SalvageValue_Org.subtract(v_SalvageValue_New); - v_ManDep_New = v_ManDep_Org.multiply(v_multiplier_New); - v_ManDep_Org =v_ManDep_Org.subtract(v_ManDep_New); - } - - - if (AssetSplit.getA_Asset_ID_To() == 0) - { - //Insert New Asset - MAsset AssetNew = new MAsset (getCtx(), 0, null); - AssetNew.setValue(Asset.getValue()); - AssetNew.setA_Parent_Asset_ID(Asset.getA_Asset_ID()); - AssetNew.setName(Asset.getName()); - AssetNew.setDescription(Asset.getDescription()); - AssetNew.setHelp(Asset.getHelp()); - AssetNew.setA_Asset_Group_ID(Asset.getA_Asset_Group_ID()); - AssetNew.setM_Product_ID(Asset.getM_Product_ID()); - AssetNew.setSerNo(Asset.getSerNo()); - AssetNew.setLot(Asset.getLot()); - AssetNew.setVersionNo(Asset.getVersionNo()); - AssetNew.setGuaranteeDate(Asset.getGuaranteeDate()); - AssetNew.setAssetServiceDate(Asset.getAssetServiceDate()); - AssetNew.setUseLifeMonths(Asset.getUseLifeMonths()); - AssetNew.setUseLifeYears(Asset.getUseLifeYears()); - AssetNew.setUseUnits(Asset.getUseUnits()); - AssetNew.setIsOwned(Asset.isOwned()); - AssetNew.setIsDepreciated(Asset.isDepreciated()); - AssetNew.setAssetDepreciationDate(Asset.getAssetDepreciationDate()); - AssetNew.setIsInPosession(Asset.isInPosession()); - AssetNew.setLocationComment( "Split from Asset #" +AssetSplit.getA_Asset_ID()); - AssetNew.setC_BPartner_ID(Asset.getC_BPartner_ID()); - AssetNew.setC_BPartner_Location_ID(Asset.getC_BPartner_Location_ID()); - AssetNew.setA_QTY_Current(v_QTY_New); - AssetNew.setA_QTY_Original(v_QTY_New); - AssetNew.saveEx(); - - - v_AssetNumber = AssetNew.getA_Asset_ID(); - - //Create Asset Addition Record - MAssetAddition assetadd = new MAssetAddition (getCtx(), 0, null); - assetadd.setA_Asset_ID(AssetNew.getA_Asset_ID()); - assetadd.setAssetValueAmt(v_CostBalance_New ); - assetadd.setDescription("Split from Asset #" + AssetSplit.getA_Asset_ID()); - assetadd.setA_CapvsExp("Cap"); - assetadd.setA_SourceType("MAN"); - assetadd.setA_QTY_Current(v_QTY_New); - assetadd.setPostingType(AssetSplit.getPostingType()); - assetadd.setM_InOutLine_ID(1); - assetadd.saveEx(); - - - String sql2 = "SELECT A_Asset_Acct_ID " - + "FROM A_Asset_Acct " - + "WHERE A_Asset_ID= " + v_AssetNumber - + "AND PostingType = '" + AssetSplit.getPostingType() +"'"; - - int v_NewAssetAcctID = 0; - v_NewAssetAcctID = DB.getSQLValue(null, sql2); - - //Insert the New Asset in the Account File - MAssetAcct assetacctnew = new MAssetAcct (getCtx(), v_NewAssetAcctID, null); - assetacctnew.setA_Asset_ID(v_AssetNumber); - assetacctnew.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - assetacctnew.setA_Depreciation_ID(assetacct.getA_Depreciation_ID()); - assetacctnew.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - assetacctnew.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - assetacctnew.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - assetacctnew.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - assetacctnew.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - assetacctnew.setA_Asset_Spread_ID(assetacct.getA_Asset_Spread_ID()); - assetacctnew.setA_Depreciation_Method_ID(assetacct.getA_Depreciation_Method_ID()); - assetacctnew.setA_Period_Start(assetacct.getA_Period_Start()); - assetacctnew.setA_Period_End(assetacct.getA_Period_End()); - assetacctnew.setA_Split_Percent(assetacct.getA_Split_Percent()); - assetacctnew.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - assetacctnew.setA_Salvage_Value(v_SalvageValue_New); - assetacctnew.setPostingType(assetacct.getPostingType()); - assetacctnew.setA_Depreciation_Conv_ID(assetacct.getA_Depreciation_Conv_ID()); - assetacctnew.setA_Depreciation_Manual_Amount(v_ManDep_New); - assetacctnew.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - if (assetacct.getA_Depreciation_Manual_Period() == null) - assetacctnew.setA_Depreciation_Manual_Period(" "); - else - assetacctnew.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - assetacctnew.saveEx(); - - - sql2 = null; - sql2 = "SELECT A_Depreciation_Workfile_ID " - + "FROM A_Depreciation_Workfile " - + "WHERE A_Asset_ID= " + v_AssetNumber - + " AND PostingType = '" + AssetSplit.getPostingType() +"'"; - - int v_NewWorkfileID = 0; - v_NewWorkfileID = DB.getSQLValue(null, sql2); - - - //Insert the New Asset in the Deprecation Workfile - MDepreciationWorkfile assetwknew = new MDepreciationWorkfile (getCtx(), v_NewWorkfileID, null); - assetwknew.setA_Asset_ID(v_AssetNumber); - assetwknew.setA_Asset_Cost(assetwknew.getA_Asset_Cost().add(v_CostBalance_New)); - assetwknew.setA_Accumulated_Depr(v_AccumBalance_New); - assetwknew.setA_Life_Period(assetwk.getA_Life_Period()); - assetwknew.setA_Period_Posted(assetwk.getA_Period_Posted()); - assetwknew.setA_Salvage_Value(v_SalvageValue_New); - assetwknew.setA_Asset_Life_Years(assetwk.getA_Asset_Life_Years()); - assetwknew.setPostingType(assetwk.getPostingType()); - assetwknew.setA_QTY_Current(assetwknew.getA_QTY_Current().add(v_QTY_New)); - assetwknew.setIsDepreciated(assetwk.isDepreciated()); - assetwknew.setA_Asset_Life_Current_Year(assetwk.getA_Asset_Life_Current_Year()); - assetwknew.setA_Curr_Dep_Exp(new BigDecimal (0.0)); - assetwknew.saveEx(); - - - //Record transaction in Asset History - MAssetChange change = new MAssetChange (getCtx(), 0, null); - change.setAssetValueAmt(v_CostBalance_New ); - change.setPostingType(assetacct.getPostingType()); - change.setA_Asset_ID(AssetNew.getA_Asset_ID()); - change.setAssetAccumDepreciationAmt(v_AccumBalance_New); - change.setA_Salvage_Value(v_SalvageValue_New); - change.setPostingType(assetacct.getPostingType()); - change.setA_Split_Percent(assetacct.getA_Split_Percent()); - change.setConventionType(assetacct.getA_Depreciation_Conv_ID()); - change.setA_Asset_ID(AssetNew.getA_Asset_ID()); - change.setDepreciationType(assetacct.getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(assetacct.getA_Asset_Spread_ID()); - change.setA_Period_Start(assetacct.getA_Period_Start()); - change.setA_Period_End(assetacct.getA_Period_End()); - change.setIsInPosession(AssetNew.isOwned()); - change.setIsDisposed(AssetNew.isDisposed()); - change.setIsDepreciated(AssetNew.isDepreciated()); - change.setIsFullyDepreciated(AssetNew.isFullyDepreciated()); - change.setA_Depreciation_Calc_Type(assetacct.getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - change.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - change.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(assetacct.getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(assetacct.getA_Reval_Accumdep_Offset_Prior()); - if (assetacct.getA_Reval_Cal_Method() == null) - change.setA_Reval_Cal_Method(" "); - else - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(assetacct.getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(assetacct.getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(assetacct.getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(assetacct.getA_Depreciation_Manual_Amount()); - if (assetacct.getA_Depreciation_Manual_Period() == null) - change.setA_Depreciation_Manual_Period(" "); - else - change.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(assetacct.getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(assetacct.getA_Depreciation_Variable_Perc()); - change.setA_Parent_Asset_ID(Asset.getA_Parent_Asset_ID()); - change.setChangeType("SPL"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "SPL")); - change.setLot(AssetNew.getLot()); - change.setSerNo(AssetNew.getSerNo()); - change.setVersionNo(AssetNew.getVersionNo()); - change.setUseLifeMonths(AssetNew.getUseLifeMonths()); - change.setUseLifeYears(AssetNew.getUseLifeYears()); - change.setLifeUseUnits(AssetNew.getLifeUseUnits()); - change.setAssetDisposalDate(AssetNew.getAssetDisposalDate()); - change.setAssetServiceDate(AssetNew.getAssetServiceDate()); - change.setC_BPartner_Location_ID(AssetNew.getC_BPartner_Location_ID()); - change.setC_BPartner_ID(AssetNew.getC_BPartner_ID()); - change.setA_QTY_Current(AssetNew.getA_QTY_Current()); - change.setA_QTY_Original(AssetNew.getA_QTY_Original()); - change.saveEx(); - - - //Record Account Numbers for JE's - A_Accumdepreciation_Acct = assetacctnew.getA_Accumdepreciation_Acct(); - A_Cost_Acct = assetacctnew.getA_Asset_Acct(); - A_DepExp_Acct = assetacctnew.getA_Depreciation_Acct(); - } - else - { - v_AssetNumber = AssetSplit.getA_Asset_ID_To(); - - //Update Target Asset Record - MAsset AssetNew = new MAsset (getCtx(), v_AssetNumber, null); - AssetNew.setA_QTY_Current(AssetNew.getA_QTY_Current().add(v_QTY_New)); - AssetNew.setA_QTY_Original(AssetNew.getA_QTY_Original().add(v_QTY_New)); - AssetNew.saveEx(); - - //Create Asset Addition Record - MAssetAddition assetadd = new MAssetAddition (getCtx(), 0, null); - assetadd.setA_Asset_ID(v_AssetNumber); - assetadd.setAssetValueAmt(v_CostBalance_New ); - assetadd.setDescription("Split from Asset #" + AssetSplit.getA_Asset_ID()); - assetadd.setA_CapvsExp("Cap"); - assetadd.setA_SourceType("MAN"); - assetadd.setA_QTY_Current(v_QTY_New); - assetadd.setPostingType(AssetSplit.getPostingType()); - assetadd.setM_InOutLine_ID(1); - assetadd.saveEx(); - - - String sql2 = "SELECT A_Asset_Acct_ID " - + "FROM A_Asset_Acct " - + "WHERE A_Asset_ID= " + v_AssetNumber - + "AND PostingType = '" + AssetSplit.getPostingType() +"'"; - - int v_NewAssetAcctID = 0; - v_NewAssetAcctID = DB.getSQLValue(null, sql2); - - //Update Target Asset in the Account File - MAssetAcct assetacctnew = new MAssetAcct (getCtx(), v_NewAssetAcctID, null); - assetacctnew.setA_Salvage_Value(assetacctnew.getA_Salvage_Value().add(v_SalvageValue_New)); - assetacctnew.setA_Depreciation_Manual_Amount(assetacctnew.getA_Depreciation_Manual_Amount().add(v_ManDep_New)); - assetacctnew.saveEx(); - - - sql2 = null; - sql2 = "SELECT A_Depreciation_Workfile_ID " - + "FROM A_Depreciation_Workfile " - + "WHERE A_Asset_ID= " + v_AssetNumber - + " AND PostingType = '" + AssetSplit.getPostingType() +"'"; - - int v_NewWorkfileID = 0; - v_NewWorkfileID = DB.getSQLValue(null, sql2); - - - //Update Target Asset in the Deprecation Workfile - MDepreciationWorkfile assetwknew = new MDepreciationWorkfile (getCtx(), v_NewWorkfileID, null); - assetwknew.setA_Asset_Cost(assetwknew.getA_Asset_Cost().add(v_CostBalance_New)); - assetwknew.setA_Accumulated_Depr(assetwknew.getA_Accumulated_Depr().add(v_AccumBalance_New)); - assetwknew.setA_Salvage_Value(assetwknew.getA_Salvage_Value().add(v_SalvageValue_New)); - assetwknew.setA_QTY_Current(assetwknew.getA_QTY_Current().add(v_QTY_New)); - assetwknew.saveEx(); - - - //Record transaction in Asset History - MAssetChange change = new MAssetChange (getCtx(), 0, null); - change.setAssetValueAmt(v_CostBalance_New ); - change.setPostingType(assetacct.getPostingType()); - change.setA_Asset_ID(AssetNew.getA_Asset_ID()); - change.setAssetAccumDepreciationAmt(v_AccumBalance_New); - change.setA_Salvage_Value(v_SalvageValue_New); - change.setPostingType(assetacct.getPostingType()); - change.setA_Split_Percent(assetacct.getA_Split_Percent()); - change.setConventionType(assetacct.getA_Depreciation_Conv_ID()); - change.setA_Asset_ID(AssetNew.getA_Asset_ID()); - change.setDepreciationType(assetacct.getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(assetacct.getA_Asset_Spread_ID()); - change.setA_Period_Start(assetacct.getA_Period_Start()); - change.setA_Period_End(assetacct.getA_Period_End()); - change.setIsInPosession(AssetNew.isOwned()); - change.setIsDisposed(AssetNew.isDisposed()); - change.setIsDepreciated(AssetNew.isDepreciated()); - change.setIsFullyDepreciated(AssetNew.isFullyDepreciated()); - change.setA_Depreciation_Calc_Type(assetacct.getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - change.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - change.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(assetacct.getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(assetacct.getA_Reval_Accumdep_Offset_Prior()); - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(assetacct.getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(assetacct.getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(assetacct.getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(assetacct.getA_Depreciation_Manual_Amount()); - if (assetacct.getA_Reval_Cal_Method() == null) - change.setA_Reval_Cal_Method(" "); - else - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - if (assetacct.getA_Depreciation_Manual_Period() == null) - change.setA_Depreciation_Manual_Period(" "); - else - change.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(assetacct.getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(assetacct.getA_Depreciation_Variable_Perc()); - change.setA_Parent_Asset_ID(Asset.getA_Parent_Asset_ID()); - change.setChangeType("SPL"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "SPL")); - change.setLot(AssetNew.getLot()); - change.setSerNo(AssetNew.getSerNo()); - change.setVersionNo(AssetNew.getVersionNo()); - change.setUseLifeMonths(AssetNew.getUseLifeMonths()); - change.setUseLifeYears(AssetNew.getUseLifeYears()); - change.setLifeUseUnits(AssetNew.getLifeUseUnits()); - change.setAssetDisposalDate(AssetNew.getAssetDisposalDate()); - change.setAssetServiceDate(AssetNew.getAssetServiceDate()); - change.setC_BPartner_Location_ID(AssetNew.getC_BPartner_Location_ID()); - change.setC_BPartner_ID(AssetNew.getC_BPartner_ID()); - change.setA_QTY_Current(AssetNew.getA_QTY_Current()); - change.setA_QTY_Original(AssetNew.getA_QTY_Original()); - change.saveEx(); - - - //Record Account Numbers for JE's - A_Accumdepreciation_Acct = assetacctnew.getA_Accumdepreciation_Acct(); - A_Cost_Acct = assetacctnew.getA_Asset_Acct(); - A_DepExp_Acct = assetacctnew.getA_Depreciation_Acct(); - - } - - // Update original Asset - Asset.setA_QTY_Current(v_QTY_Org); - Asset.saveEx(); - - // Update original asset for the split - MAssetAddition assetaddold = new MAssetAddition (getCtx(), 0, null); - assetaddold.setA_Asset_ID(Asset.getA_Asset_ID()); - assetaddold.setAssetValueAmt(v_CostBalance_New.multiply( new BigDecimal(-1))); - assetaddold.setDescription("Split to Asset #" + v_AssetNumber); - assetaddold.setA_CapvsExp("Cap"); - assetaddold.setA_SourceType("MAN"); - assetaddold.setA_QTY_Current(v_QTY_New.multiply( new BigDecimal(-1))); - assetaddold.setPostingType(AssetSplit.getPostingType()); - assetaddold.setM_InOutLine_ID(1); - assetaddold.saveEx(); - - //Update the Original Asset in the Account File - assetacct.setA_Salvage_Value(v_SalvageValue_Org); - assetacct.setA_Depreciation_Manual_Amount(v_ManDep_Org); - assetacct.saveEx(); - - //Update the Original Asset in the Deprecation Workfile - assetwk.setA_Asset_Cost(v_CostBalance_Org); - assetwk.setA_Accumulated_Depr(v_AccumBalance_Org); - assetwk.setA_Salvage_Value(v_SalvageValue_Org); - assetwk.setA_QTY_Current(v_QTY_Org); - assetwk.saveEx(); - - MAssetChange change1 = new MAssetChange (getCtx(), 0, null); - change1.setChangeType("SPL"); - change1.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "SPL")); - change1.setAssetValueAmt(v_CostBalance_New.multiply(new BigDecimal(-1))); - change1.setPostingType(assetacct.getPostingType()); - if (assetacct.getA_Reval_Cal_Method() == null) - change1.setA_Reval_Cal_Method(" "); - else - change1.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - if (assetacct.getA_Depreciation_Manual_Period() == null) - change1.setA_Depreciation_Manual_Period(" "); - else - change1.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change1.setA_Asset_ID(Asset.getA_Asset_ID()); - change1.setAssetAccumDepreciationAmt(v_AccumBalance_New.multiply(new BigDecimal(-1))); - change1.setA_Salvage_Value(v_SalvageValue_New.multiply(new BigDecimal(-1))); - change1.setA_QTY_Current(v_QTY_New.multiply(new BigDecimal(-1))); - change1.saveEx(); - - //Create Journal Entries for the split - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - //Create JV for the accumulated depreciation of the asset - depexp2.setPostingType(AssetSplit.getPostingType()); - depexp2.setA_Asset_ID(v_AssetNumber); - depexp2.setExpense(v_AccumBalance_New.multiply(new BigDecimal(-1))); - depexp2.setDateAcct(AssetSplit.getDateAcct()); - depexp2.setA_Account_Number(A_Accumdepreciation_Acct); - depexp2.setDescription("Asset Split Accum Dep"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(AssetSplit.getC_Period_ID()); - depexp2.setA_Entry_Type("SPL"); - depexp2.saveEx(); - - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setPostingType(AssetSplit.getPostingType()); - depexp3.setA_Asset_ID(AssetSplit.getA_Asset_ID()); - depexp3.setExpense(v_AccumBalance_New); - depexp3.setDateAcct(AssetSplit.getDateAcct()); - depexp3.setA_Account_Number(assetacct.getA_Accumdepreciation_Acct()); - depexp3.setDescription("Asset Split Accum Dep"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(AssetSplit.getC_Period_ID()); - depexp3.setA_Entry_Type("SPL"); - depexp3.saveEx(); - - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, null); - //Create JV for the Cost of the asset - depexp4.setPostingType(AssetSplit.getPostingType()); - depexp4.setA_Asset_ID(v_AssetNumber); - depexp4.setExpense(v_CostBalance_New); - depexp4.setDateAcct(AssetSplit.getDateAcct()); - depexp4.setA_Account_Number(A_Cost_Acct); - depexp4.setDescription("Asset Split Cost"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(AssetSplit.getC_Period_ID()); - depexp4.setA_Entry_Type("SPL"); - depexp4.saveEx(); - - X_A_Depreciation_Exp depexp5 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp5.setPostingType(AssetSplit.getPostingType()); - depexp5.setA_Asset_ID(AssetSplit.getA_Asset_ID()); - depexp5.setExpense(v_CostBalance_New.multiply(new BigDecimal(-1))); - depexp5.setDateAcct(AssetSplit.getDateAcct()); - depexp5.setA_Account_Number(assetacct.getA_Asset_Acct()); - depexp5.setDescription("Asset Split Cost"); - depexp5.setIsDepreciated(false); - depexp5.setA_Period(AssetSplit.getC_Period_ID()); - depexp5.setA_Entry_Type("SPL"); - depexp5.saveEx(); - - - String sql = null; - log.info("doIt - Finishing Split = " + no); - - sql = "SELECT A_ASSET_ID, CHANGEAMT " - + "FROM A_ASSET_CHANGE " - + "WHERE A_ASSET_CHANGE.A_ASSET_ID = " + AssetSplit.getA_Asset_ID() - + " AND A_ASSET_CHANGE.POSTINGTYPE = '" + AssetSplit.getPostingType() - + "' AND A_ASSET_CHANGE.CHANGETYPE= 'D' " - + "AND TRUNC(A_ASSET_CHANGE.DATEACCT, 'YY') = TRUNC( " + DB.TO_DATE(AssetSplit.getDateAcct()) + ", 'YY') " - + "AND TRUNC(A_ASSET_CHANGE.DATEACCT, 'MM') <= TRUNC( " + DB.TO_DATE(AssetSplit.getDateAcct()) + ", 'MM') " - + "AND A_ASSET_CHANGE.C_VALIDCOMBINATION_ID = " + assetacct.getA_Depreciation_Acct(); - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql,null); - log.info("doIt - SQL=" + sql); - BigDecimal v_Balance = new BigDecimal("0.0"); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - if (AssetSplit.isA_Transfer_Balance_IS()==true) - { - while (rs.next()); - v_Balance = v_Balance.add(rs.getBigDecimal("ChangeAmt")); - - // Create JV for YTD Depreciation Expense - X_A_Depreciation_Exp depexp0 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp0.setPostingType(AssetSplit.getPostingType()); - depexp0.setA_Asset_ID(v_AssetNumber); - depexp0.setExpense(v_Balance.multiply(v_multiplier_New)); - depexp0.setDateAcct(AssetSplit.getDateAcct()); - depexp0.setA_Account_Number(A_DepExp_Acct); - depexp0.setDescription("Asset Split YTD Depreciation Expense"); - depexp0.setIsDepreciated(false); - depexp0.setA_Period(AssetSplit.getC_Period_ID()); - depexp0.setA_Entry_Type("SPL"); - depexp0.saveEx(); - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setPostingType(AssetSplit.getPostingType()); - depexp1.setA_Asset_ID(AssetSplit.getA_Asset_ID()); - depexp1.setExpense(v_Balance.multiply(new BigDecimal(-1)).multiply(v_multiplier_New)); - depexp1.setDateAcct(AssetSplit.getDateAcct()); - depexp1.setA_Account_Number(assetacct.getA_Depreciation_Acct()); - depexp1.setDescription("Asset Split YTD Depreciation Expense"); - depexp1.setIsDepreciated(false); - depexp1.setA_Period(AssetSplit.getC_Period_ID()); - depexp1.setA_Entry_Type("SPL"); - depexp1.saveEx(); - } - - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("AssetSplit"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return ""; - } // doIt - -} // AssetSplit diff --git a/org.adempiere.base/src/org/compiere/FA/AssetTransfer.java b/org.adempiere.base/src/org/compiere/FA/AssetTransfer.java deleted file mode 100644 index df0f2c7d21..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/AssetTransfer.java +++ /dev/null @@ -1,273 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.model.MAssetChange; -import org.compiere.model.MAssetTransfer; -import org.compiere.model.MRefList; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Asset Transfer - * - * @author Rob Klein - * @version $Id: AssetTransfer.java,v 1.0 $ - */ -public class AssetTransfer extends SvrProcess -{ - /** Record ID */ - private int p_Asset_Transfer_ID = 0; - private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("DeleteOld")) - m_DeleteOld = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - p_Asset_Transfer_ID = getRecord_ID(); - } // prepare - - - /** - * Build Depreciation Workfile - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Asset_Transfer_ID=" + p_Asset_Transfer_ID); - if (p_Asset_Transfer_ID == 0) - throw new IllegalArgumentException("No Record"); - - // - int no = 0; - BigDecimal v_Balance = new BigDecimal("0.0"); - - MAssetTransfer AssetTransfer = new MAssetTransfer (getCtx(), p_Asset_Transfer_ID, null); - //X_C_Period Period = new X_C_Period (getCtx(), AssetTransfer.getC_Period_ID(), null); - - String sql = null; - log.info("doIt - Starting Transfer = " + no); - - sql = "SELECT A_ASSET_ID, CHANGEAMT " - + "FROM A_ASSET_CHANGE " - + "WHERE A_ASSET_CHANGE.A_ASSET_ID = " + AssetTransfer.getA_Asset_ID() - + " AND A_ASSET_CHANGE.POSTINGTYPE = '" + AssetTransfer.getPostingType() - + "' AND A_ASSET_CHANGE.CHANGETYPE= 'D' " - + "AND TRUNC(A_ASSET_CHANGE.DATEACCT, 'YY') = TRUNC( " + DB.TO_DATE(AssetTransfer.getDateAcct()) + ", 'YY') " - + "AND TRUNC(A_ASSET_CHANGE.DATEACCT, 'MM') <= TRUNC( " + DB.TO_DATE(AssetTransfer.getDateAcct()) + ", 'MM') " - + "AND A_ASSET_CHANGE.C_VALIDCOMBINATION_ID = " + AssetTransfer.getA_Depreciation_Acct(); - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql,null); - log.info("doIt - SQL=" + sql); - ResultSet rs = null; - //X_A_Depreciation_Exp depexp = new X_A_Depreciation_Exp (getCtx(), 0, null); - - String clientCheck = " AND AD_Client_ID=" + AssetTransfer.getAD_Client_ID(); - - if (m_DeleteOld) - { - sql = "DELETE A_DEPRECIATION_EXP " - + "WHERE Processed='Y'" - + " AND A_Entry_Type = 'TRN'" + clientCheck; - - no = DB.executeUpdate (sql,null); - log.info ("doIt - Delete old processed entries =" + no); - } - try { - - rs = pstmt.executeQuery(); - if (AssetTransfer.isA_Transfer_Balance_IS()==true) - { - while (rs.next()); - v_Balance = v_Balance.add(rs.getBigDecimal("ChangeAmt")); - - // Create JV for the Income Statement Amounts - X_A_Depreciation_Exp depexp0 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp0.setPostingType(AssetTransfer.getPostingType()); - depexp0.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp0.setExpense(v_Balance); - depexp0.setDateAcct(AssetTransfer.getDateAcct()); - depexp0.setA_Account_Number(AssetTransfer.getA_Depreciation_Acct_New()); - depexp0.setDescription("Asset Transfer"); - depexp0.setIsDepreciated(false); - depexp0.setA_Period(AssetTransfer.getC_Period_ID()); - depexp0.setA_Entry_Type("TRN"); - depexp0.saveEx(); - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setPostingType(AssetTransfer.getPostingType()); - depexp1.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp1.setExpense(v_Balance.multiply(new BigDecimal(-1))); - depexp1.setDateAcct(AssetTransfer.getDateAcct()); - depexp1.setA_Account_Number(AssetTransfer.getA_Depreciation_Acct_New()); - depexp1.setDescription("Asset Transfer"); - depexp1.setIsDepreciated(false); - depexp1.setA_Period(AssetTransfer.getC_Period_ID()); - depexp1.setA_Entry_Type("TRN"); - depexp1.saveEx(); - } - } - catch (Exception e) - { - log.info("getDeliveries"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - - sql = null; - - sql = "SELECT A_ASSET_COST, A_ACCUMULATED_DEPR " - + "FROM A_DEPRECIATION_WORKFILE " - + "WHERE A_ASSET_ID = " + AssetTransfer.getA_Asset_ID() - + " AND POSTINGTYPE = '" + AssetTransfer.getPostingType() - + "' AND AD_CLIENT_ID = " + AssetTransfer.getAD_Client_ID() - + " AND AD_ORG_ID = " + AssetTransfer.getAD_Org_ID(); - - pstmt = null; - pstmt = DB.prepareStatement (sql,ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE,null); - - try { - rs = pstmt.executeQuery(); - rs.first(); - - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - - // Create JV for the accumulated depreciation of the asset - depexp2.setPostingType(AssetTransfer.getPostingType()); - depexp2.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp2.setExpense(rs.getBigDecimal("A_ACCUMULATED_DEPR")); - depexp2.setDateAcct(AssetTransfer.getDateAcct()); - depexp2.setA_Account_Number(AssetTransfer.getA_Accumdepreciation_Acct_New()); - depexp2.setDescription("Asset Transfer Accum Dep"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(AssetTransfer.getC_Period_ID()); - depexp2.setA_Entry_Type("TRN"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setPostingType(AssetTransfer.getPostingType()); - depexp3.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp3.setExpense(rs.getBigDecimal("A_ACCUMULATED_DEPR").multiply(new BigDecimal(-1))); - depexp3.setDateAcct(AssetTransfer.getDateAcct()); - depexp3.setA_Account_Number(AssetTransfer.getA_Accumdepreciation_Acct()); - depexp3.setDescription("Asset Transfer Accum Dep"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(AssetTransfer.getC_Period_ID()); - depexp3.setA_Entry_Type("TRN"); - depexp3.saveEx(); - - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, null); -// Create JV for the Cost of the asset - depexp4.setPostingType(AssetTransfer.getPostingType()); - depexp4.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp4.setExpense(rs.getBigDecimal("A_Asset_Cost")); - depexp4.setDateAcct(AssetTransfer.getDateAcct()); - depexp4.setA_Account_Number(AssetTransfer.getA_Asset_Acct_New()); - depexp4.setDescription("Asset Transfer Cost"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(AssetTransfer.getC_Period_ID()); - depexp4.setA_Entry_Type("TRN"); - depexp4.saveEx(); - - X_A_Depreciation_Exp depexp5 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp5.setPostingType(AssetTransfer.getPostingType()); - depexp5.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - depexp5.setExpense(rs.getBigDecimal("A_Asset_Cost").multiply(new BigDecimal(-1))); - depexp5.setDateAcct(AssetTransfer.getDateAcct()); - depexp5.setA_Account_Number(AssetTransfer.getA_Asset_Acct()); - depexp5.setDescription("Asset Transfer Cost"); - depexp5.setIsDepreciated(false); - depexp5.setA_Period(AssetTransfer.getC_Period_ID()); - depexp5.setA_Entry_Type("TRN"); - depexp5.saveEx(); - - - // Update Asset Setup for New Accounts - sql = null; - - sql = "UPDATE A_ASSET_ACCT " - + "SET A_DEPRECIATION_ACCT = " + AssetTransfer.getA_Depreciation_Acct_New() - + ", A_ACCUMDEPRECIATION_ACCT = " + AssetTransfer.getA_Accumdepreciation_Acct_New() - + ", A_DISPOSAL_LOSS = " + AssetTransfer.getA_Disposal_Loss_New() - + ", A_DISPOSAL_REVENUE = " + AssetTransfer.getA_Disposal_Revenue_New() - + ", A_ASSET_ACCT = "+ AssetTransfer.getA_Asset_Acct_New() - + " WHERE A_ASSET_ID = " + AssetTransfer.getA_Asset_ID() - + " AND POSTINGTYPE = '" + AssetTransfer.getPostingType() - + "' AND A_PERIOD_START = " + AssetTransfer.getA_Period_Start() - + " AND A_PERIOD_END = " + AssetTransfer.getA_Period_End(); - - - MAssetChange change = new MAssetChange (getCtx(), 0, null); - change.setChangeType("TRN"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "TRN")); - change.setPostingType(AssetTransfer.getPostingType()); - change.setA_Split_Percent(AssetTransfer.getA_Split_Percent()); - change.setA_Asset_ID(AssetTransfer.getA_Asset_ID()); - change.setA_Period_Start(AssetTransfer.getA_Period_Start()); - change.setA_Period_End(AssetTransfer.getA_Period_End()); - change.setA_Asset_Acct(AssetTransfer.getA_Asset_Acct_New()); - change.setC_AcctSchema_ID(AssetTransfer.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(AssetTransfer.getA_Accumdepreciation_Acct_New()); - change.setA_Depreciation_Acct(AssetTransfer.getA_Depreciation_Acct_New()); - change.setA_Disposal_Revenue(AssetTransfer.getA_Disposal_Revenue_New()); - change.setA_Disposal_Loss(AssetTransfer.getA_Disposal_Loss_New()); - change.setAssetAccumDepreciationAmt(rs.getBigDecimal("A_ACCUMULATED_DEPR")); - change.setAssetBookValueAmt(rs.getBigDecimal("A_Asset_Cost")); - change.setChangeAmt(v_Balance); - change.saveEx(); - - DB.executeUpdate(sql,null); - - AssetTransfer.setIsActive(false); - AssetTransfer.saveEx(); - - // Remove Entry from Processing file - - } - catch (Exception e) - { - log.info("TransferAssets"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return ""; - } // doIt - -} // AssetTransfer diff --git a/org.adempiere.base/src/org/compiere/FA/BuildDepForecastFile.java b/org.adempiere.base/src/org/compiere/FA/BuildDepForecastFile.java deleted file mode 100644 index e602b45134..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/BuildDepForecastFile.java +++ /dev/null @@ -1,388 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.Timestamp; -import java.util.Calendar; -import java.util.GregorianCalendar; - -import org.compiere.model.X_A_Depreciation; -import org.compiere.model.X_A_Depreciation_Convention; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.model.X_A_Depreciation_Forecast; -import org.compiere.model.X_A_Depreciation_Method; -import org.compiere.model.X_A_Depreciation_Workfile; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Build Depreciation Forecast File - * - * @author Rob Klein - * @version $Id: BuildDepForecastFile.java,v 1.0 $ - */ - -public class BuildDepForecastFile extends SvrProcess -{ - /** Record ID */ - private int p_Depreciation_Build_ID = 0; - private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("DeleteOld")) - m_DeleteOld = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - p_Depreciation_Build_ID = getRecord_ID(); - } // prepare - - - /** - * Build Depreciation Workfile - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Depreciation_Build_ID=" + p_Depreciation_Build_ID); - if (p_Depreciation_Build_ID == 0) - throw new IllegalArgumentException("No Record"); - String clientCheck = " AND AD_Client_ID=" + getAD_Client_ID(); - // - int no = 0; - - if (m_DeleteOld) - { - String sql = "DELETE A_DEPRECIATION_EXP " - + "WHERE A_Entry_Type = 'FOR'" + clientCheck; - - no = DB.executeUpdate (sql,null); - log.info ("doIt - Delete old processed entries =" + no); - } - - - X_A_Depreciation_Forecast DepBuild = new X_A_Depreciation_Forecast (getCtx(), p_Depreciation_Build_ID, null); - String sql = null; - sql = "DELETE FROM A_DEPRECIATION_EXP WHERE PostingType" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " >= " + DepBuild.getA_Start_Asset_ID() + " and A_Asset_ID " - + " <= " + DepBuild.getA_End_Asset_ID() - + " and A_Entry_Type = 'FOR'" - + clientCheck; - - no = DB.executeUpdate(sql,null); - log.info("doIt - Clear DepExpense = " + no); - - sql = null; - sql = "UPDATE A_DEPRECIATION_WORKFILE SET A_CURR_DEP_EXP = 0, A_CURRENT_PERIOD = 0 WHERE POSTINGTYPE" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " >= " + DepBuild.getA_Start_Asset_ID() + " and A_Asset_ID " - + " <= " + DepBuild.getA_End_Asset_ID() - + clientCheck; - - no = DB.executeUpdate(sql,null); - log.info("doIt - DepExpense Reset= " + no); - - sql = null; - sql =" SELECT A_ASSET.A_ASSET_ID, A_ASSET.USELIFEYEARS, A_ASSET.USELIFEMONTHS, A_ASSET.LIFEUSEUNITS, " - +" A_ASSET.USEUNITS, A_ASSET.ISOWNED, A_ASSET.ISDISPOSED,A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED, " - +" A_DEPRECIATION_WORKFILE.A_CURR_DEP_EXP, A_ASSET.ASSETDEPRECIATIONDATE, A_ASSET.ISFULLYDEPRECIATED, " - +" A_ASSET.ASSETSERVICEDATE, A_DEPRECIATION_WORKFILE.A_ASSET_ID as v_Asset_ID, A_DEPRECIATION_WORKFILE.POSTINGTYPE, " - +" A_DEPRECIATION_FORECAST.A_START_ASSET_ID, A_DEPRECIATION_FORECAST.A_END_ASSET_ID, A_DEPRECIATION_WORKFILE.A_ACCUMULATED_DEPR," - +" A_DEPRECIATION_FORECAST.AD_CLIENT_ID, A_DEPRECIATION_FORECAST.AD_ORG_ID, A_DEPRECIATION_WORKFILE.A_SALVAGE_VALUE," - +" A_DEPRECIATION_FORECAST.CREATEDBY, A_DEPRECIATION_FORECAST.UPDATEDBY, A_DEPRECIATION_FORECAST.POSTINGTYPE as v_PostingType," - +" A_DEPRECIATION_WORKFILE.A_DEPRECIATION_WORKFILE_ID, A_DEPRECIATION_FORECAST.DATEDOC, A_DEPRECIATION_WORKFILE.A_ASSET_COST" - +" FROM A_DEPRECIATION_WORKFILE, A_ASSET, A_DEPRECIATION_FORECAST " - +" WHERE A_ASSET.A_ASSET_ID = A_DEPRECIATION_WORKFILE.A_ASSET_ID AND A_ASSET.ISOWNED = 'Y' AND A_DEPRECIATION_FORECAST.A_START_ASSET_ID <= A_ASSET.A_ASSET_ID" - +" AND A_DEPRECIATION_FORECAST.A_END_ASSET_ID >= A_ASSET.A_ASSET_ID AND A_ASSET.ISFULLYDEPRECIATED = 'N' AND A_ASSET.ISDEPRECIATED = 'Y'" - +" AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = ? "; - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE,null); - try { - - pstmt.setString(1, DepBuild.getPostingType()); - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs.getInt("A_DEPRECIATION_WORKFILE_ID"), null); - String sql2 = null; - sql2 =" SELECT * FROM A_ASSET_ACCT WHERE PostingType" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " = " + rs.getInt("A_ASSET_ID"); - - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement (sql2, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE,null); - try { - - ResultSet rs2 = pstmt2.executeQuery(); - //CallableStatement cs; - BigDecimal v_Dep_Exp_Inception = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Inception2 = new BigDecimal("0.0"); - BigDecimal v_HalfYearConv = new BigDecimal("0.0"); - BigDecimal v_HalfYearConv_Adj = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Adjustment = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Monthly = new BigDecimal("0.0"); - BigDecimal v_total_adjustment = new BigDecimal("0.0"); - int asset_id_current = 0; - double v_current=0; - BigDecimal v_current_adj = new BigDecimal(0.0); - - while (rs2.next()){ - //X_A_Asset_Acct assetacct = new X_A_Asset_Acct (getCtx(), rs2.getInt("A_ASSET_ACCT_ID"), null); - X_A_Depreciation depreciation = new X_A_Depreciation (getCtx(), rs2.getInt("A_DEPRECIATION_ID"), null); - X_A_Depreciation_Convention depreciation_conv = new X_A_Depreciation_Convention (getCtx(), rs2.getInt("A_DEPRECIATION_CONV_ID"), null); - X_A_Depreciation_Exp depexp = new X_A_Depreciation_Exp (getCtx(), 0, null); - //Date d1,d2; - //d1 = rs.getDate("ASSETSERVICEDATE"); - //d2 = rs.getDate("DATEDOC"); - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEDOC")); - int DateAcctYear = calendar.get(Calendar.YEAR); - int DateAcctMonth = calendar.get(Calendar.MONTH); - - double v_period = (Math.ceil(DateAcctMonth)+ (Math.floor(DateAcctYear) - Math.floor(AssetServiceDateYear))*12 - Math.floor(AssetServiceDateMonth)) ; - //Record booked depreciation expense - if (rs2.getInt("A_ASSET_ID")!=asset_id_current ) - { - v_current_adj = new BigDecimal(0.0); - depexp.setPostingType(DepBuild.getPostingType()); - depexp.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp.setPostingType(rs.getString("PostingType")); - depexp.setExpense(assetwk.getA_Accumulated_Depr().setScale(5, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp.setDescription("Actual Depreciation Expense Booked"); - depexp.setA_Period(rs.getInt("A_Period_Posted")); - depexp.setIsDepreciated(true); - depexp.setDateAcct(assetwk.getAssetDepreciationDate()); - depexp.setA_Entry_Type("FOR"); - depexp.saveEx(); - } - else - { - v_current_adj = v_current_adj.subtract(new BigDecimal(0.0)); - } - int method = 0; - method = rs2.getInt("A_DEPRECIATION_METHOD_ID"); - - //Set depreciation date and record in workfile - Calendar cal = GregorianCalendar.getInstance(); - Timestamp ts; - ts =(rs.getTimestamp("ASSETSERVICEDATE")); - cal.setTime(ts); - assetwk.setDateAcct(ts); - assetwk.setA_Period_Forecast(new BigDecimal(assetwk.getA_Period_Posted())); - assetwk.saveEx(); - - - //Calculate life to date depreciation - while (v_current < v_period ){ - v_Dep_Exp_Inception2 = Depreciation.Dep_Type(depreciation.getDepreciationType(),rs2.getInt("A_Asset_ID"),v_current, rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), v_Dep_Exp_Inception); - //cs = DB.prepareCall("{ ? = call "+ depreciation.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") + "," + (v_current) + ",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + "," + v_Dep_Exp_Inception + ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Inception2 = cs.getBigDecimal(1); - //cs.close(); - v_HalfYearConv_Adj = new BigDecimal(Conventions.Dep_Convention(depreciation_conv.getConventionType(),rs2.getInt("A_Asset_ID"), rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), 1, (v_current -1 ))); - //cs = DB.prepareCall("{ ? = call " + depreciation_conv.getConventionType() + "(" + rs2.getInt("A_Asset_ID") + ",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + ", 1 ," + (v_current -1 )+ ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_HalfYearConv_Adj = cs.getBigDecimal(1); - //cs.close(); - v_HalfYearConv = v_HalfYearConv.add(v_HalfYearConv_Adj); - cal.add(Calendar.MONTH, 1); - cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH)); - ts.setTime(cal.getTimeInMillis()); - assetwk.setDateAcct(ts); - v_current_adj = v_current_adj.add((v_HalfYearConv_Adj)); - assetwk.setA_Period_Forecast(v_current_adj); - assetwk.saveEx(); - v_Dep_Exp_Inception = v_Dep_Exp_Inception .add(v_Dep_Exp_Inception2.multiply(v_HalfYearConv_Adj)); - v_current = v_current + 1; - } - - //log.info("doIt - Booked Expense= "+assetwk.getA_Accumulated_Depr()); - //log.info("doIt - Calculated Expense= "+v_Dep_Exp_Inception); - - - //Calculate necessary adjustment per period - X_A_Depreciation_Method depreciation_method = new X_A_Depreciation_Method (getCtx(), method, null); - if (v_Dep_Exp_Inception.compareTo( assetwk.getA_Accumulated_Depr())!=0) - { - v_Dep_Exp_Adjustment = DepreciationAdj.Dep_Adj(depreciation_method.getDepreciationType(),rs2.getInt("A_Asset_ID") , (v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr())) , (Math.floor(DateAcctMonth)), rs2.getString("PostingType") , rs2.getInt("A_ASSET_ACCT_ID")); - //cs = DB.prepareCall("{ ? = call " + depreciation_method.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") + "," + (v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr())) + "," + (Math.floor(d2.getMonth()))+ ",'" + rs2.getString("PostingType") + "'," +rs2.getInt("A_ASSET_ACCT_ID") +")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Adjustment = cs.getBigDecimal(1); - //cs.close(); - v_total_adjustment = v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr()); - } - - v_current = v_current+1; - //v_Dep_Exp_Inception = (rs.getBigDecimal("A_ACCUMULATED_DEPR")); - BigDecimal v_period_adj = new BigDecimal(rs2.getInt("A_PERIOD_END")); - int lastdepexp2=0; - - while (v_current_adj.compareTo(v_period_adj)<0){ - //Calculation depreciation expense - v_Dep_Exp_Monthly = Depreciation.Dep_Type(depreciation.getDepreciationType(),rs2.getInt("A_Asset_ID"),v_current-1, rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), v_Dep_Exp_Inception); - //cs = DB.prepareCall("{ ? = call " + depreciation.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") +", "+ (v_current-1) +" ,'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + " , " + (v_Dep_Exp_Inception) + ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Monthly = cs.getBigDecimal(1); - //cs.close(); - //Adjust for half year convention - //log.info(depreciation_conv.getConventionType()); - //log.info(""+rs2.getInt("A_Asset_ID")); - v_HalfYearConv_Adj = new BigDecimal(Conventions.Dep_Convention(depreciation_conv.getConventionType(),rs2.getInt("A_Asset_ID"), rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), 0, 1 )); - //log.info(""+v_HalfYearConv_Adj); - //cs = DB.prepareCall("{ ? = call " + depreciation_conv.getConventionType() + "(" + rs2.getInt("A_Asset_ID") +",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + " , 0, 1)}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_HalfYearConv_Adj = cs.getBigDecimal(1); - //cs.close(); - v_Dep_Exp_Monthly = v_Dep_Exp_Monthly.multiply((v_HalfYearConv_Adj)); - v_HalfYearConv = v_HalfYearConv.add( v_HalfYearConv_Adj); - - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - if (v_total_adjustment.setScale(2, BigDecimal.ROUND_HALF_UP).compareTo(new BigDecimal (0.00))!=0) - { - - //Record necessary adjustments - - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setA_Entry_Type("FOR"); - depexp1.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp1.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp1.setPostingType(rs.getString("PostingType")); - depexp1.setExpense(v_Dep_Exp_Adjustment.setScale(5, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp1.setDescription("Forecasted Depreciation Expense Adj."); - depexp1.setA_Period((int)v_current); - depexp1.setIsDepreciated(true); - depexp1.setDateAcct(ts); - depexp1.saveEx(); - v_total_adjustment = v_total_adjustment.setScale(5, BigDecimal.ROUND_HALF_UP).subtract(v_Dep_Exp_Adjustment.setScale(5, BigDecimal.ROUND_HALF_UP)); - - //Record adjusted expense - depexp2.setPostingType(DepBuild.getPostingType()); - depexp2.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp2.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setExpense((v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp2.setDescription("Forecasted Depreciation Expense"); - depexp2.setA_Period((int)v_current); - depexp2.setIsDepreciated(true); - depexp2.setDateAcct(ts); - depexp2.setA_Entry_Type("FOR"); - depexp2.saveEx(); - v_Dep_Exp_Inception = v_Dep_Exp_Inception.add((v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP))).setScale(2, BigDecimal.ROUND_HALF_UP); - } - else - { - //Record expense - depexp2.setPostingType(DepBuild.getPostingType()); - depexp2.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp2.setExpense(v_Dep_Exp_Adjustment.setScale(2, BigDecimal.ROUND_HALF_UP)); - depexp2.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setExpense(v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp2.setDescription("Forecasted Depreciation Expense"); - depexp2.setA_Period((int)v_current); - depexp2.setIsDepreciated(true); - depexp2.setDateAcct(ts); - depexp2.setA_Entry_Type("FOR"); - depexp2.saveEx(); - v_Dep_Exp_Inception = v_Dep_Exp_Inception.add(v_Dep_Exp_Monthly).setScale(2, BigDecimal.ROUND_HALF_UP); - } - lastdepexp2 = depexp2.get_ID(); - //Advance calender - cal.add(Calendar.MONTH, 1); - cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH)); - ts.setTime(cal.getTimeInMillis()); - v_current_adj = v_current_adj.add((v_HalfYearConv_Adj)).setScale(2, BigDecimal.ROUND_HALF_UP); - - //record in workfile - assetwk.setA_Period_Forecast(v_current_adj); - assetwk.setDateAcct(ts); - assetwk.saveEx(); - v_current = v_current + 1; - } - //adjust last entry for rounding errors - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), lastdepexp2, null); - depexp2.setExpense(depexp2.getExpense().add(((rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE").subtract(v_total_adjustment))).subtract(v_Dep_Exp_Inception)).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent"))))); - depexp2.saveEx(); - asset_id_current = rs2.getInt("A_ASSET_ID"); - log.info("Asset #"+asset_id_current); - } - rs2.close(); - pstmt2.close(); - pstmt2 = null; - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - try - { - if (pstmt2 != null) - pstmt2.close (); - } - catch (Exception e) - {} - pstmt2 = null; - } - } - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - - return ""; - } // doIt - -} // BuildDepForecastFile diff --git a/org.adempiere.base/src/org/compiere/FA/BuildDepWorkFile.java b/org.adempiere.base/src/org/compiere/FA/BuildDepWorkFile.java deleted file mode 100644 index 1ef52a3bda..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/BuildDepWorkFile.java +++ /dev/null @@ -1,431 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.Timestamp; -import java.util.Calendar; -import java.util.GregorianCalendar; - -import org.compiere.model.X_A_Depreciation; -import org.compiere.model.X_A_Depreciation_Build; -import org.compiere.model.X_A_Depreciation_Convention; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.model.X_A_Depreciation_Method; -import org.compiere.model.X_A_Depreciation_Workfile; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Build Depreciation Work File - * - * @author Rob Klein - * @version $Id: BuildDepWorkFile.java,v 1.0 $ - */ - -public class BuildDepWorkFile extends SvrProcess -{ - /** Record ID */ - private int p_Depreciation_Build_ID = 0; - private boolean m_DeleteOld = false; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("DeleteOld")) - m_DeleteOld = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - p_Depreciation_Build_ID = getRecord_ID(); - } // prepare - - - /** - * Build Depreciation Workfile - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("doIt - Depreciation_Build_ID=" + p_Depreciation_Build_ID); - if (p_Depreciation_Build_ID == 0) - throw new IllegalArgumentException("No Record"); - String clientCheck = " AND AD_Client_ID=" + getAD_Client_ID(); - // - int no = 0; - - //if (m_DeleteOld) - //{ - // String sql = "DELETE A_DEPRECIATION_EXP " - // + "WHERE A_Entry_Type = 'FOR'" + clientCheck; - // - // no = DB.executeUpdate (sql); - // log.info ("doIt - Delete old processed entries =" + no); - //} - - - X_A_Depreciation_Build DepBuild = new X_A_Depreciation_Build (getCtx(), p_Depreciation_Build_ID, null); - String sql = null; - sql = "DELETE FROM A_DEPRECIATION_EXP WHERE PostingType" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " >= " + DepBuild.getA_Start_Asset_ID() + " and A_Asset_ID " - + " <= " + DepBuild.getA_End_Asset_ID() - + " AND A_Entry_Type = 'DEP'" - + clientCheck; - - no = DB.executeUpdate(sql,null); - log.info("doIt - Clear DepExpense = " + no); - - sql = null; - sql = "UPDATE A_DEPRECIATION_WORKFILE SET A_CURR_DEP_EXP = 0, A_CURRENT_PERIOD = 0 WHERE POSTINGTYPE" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " >= " + DepBuild.getA_Start_Asset_ID() + " and A_Asset_ID " - + " <= " + DepBuild.getA_End_Asset_ID() - + clientCheck; - - no = DB.executeUpdate(sql,null); - log.info("doIt - DepExpense Reset= " + no); - - sql = null; - sql =" SELECT A_ASSET.A_ASSET_ID, A_ASSET.USELIFEYEARS, A_ASSET.USELIFEMONTHS, A_ASSET.LIFEUSEUNITS, " - + "A_ASSET.USEUNITS, A_ASSET.ISOWNED, A_ASSET.ISDISPOSED,A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED, " - + " A_DEPRECIATION_WORKFILE.A_CURR_DEP_EXP, A_ASSET.ASSETDEPRECIATIONDATE, A_ASSET.ISFULLYDEPRECIATED, " - + " A_ASSET.ASSETSERVICEDATE, A_DEPRECIATION_WORKFILE.A_ASSET_ID as v_Asset_ID, A_DEPRECIATION_WORKFILE.POSTINGTYPE, " - + " A_DEPRECIATION_BUILD.A_START_ASSET_ID, A_DEPRECIATION_BUILD.A_END_ASSET_ID, A_DEPRECIATION_WORKFILE.A_ACCUMULATED_DEPR, " - + " A_DEPRECIATION_BUILD.PERIODNO, A_DEPRECIATION_BUILD.AD_CLIENT_ID, A_DEPRECIATION_BUILD.AD_ORG_ID, " - + " A_DEPRECIATION_BUILD.CREATEDBY, A_DEPRECIATION_BUILD.UPDATEDBY, A_DEPRECIATION_BUILD.POSTINGTYPE as v_PostingType, " - + " A_DEPRECIATION_BUILD.DATEACCT, A_DEPRECIATION_BUILD.C_PERIOD_ID, A_DEPRECIATION_WORKFILE.A_DEPRECIATION_WORKFILE_ID, " - + " A_DEPRECIATION_BUILD.DATEDOC " - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET, A_DEPRECIATION_BUILD " - + " WHERE A_ASSET.A_ASSET_ID = A_DEPRECIATION_WORKFILE.A_ASSET_ID AND A_ASSET.ISOWNED = 'Y' AND " - + " A_DEPRECIATION_BUILD.DATEACCT >= A_ASSET.ASSETSERVICEDATE AND A_DEPRECIATION_BUILD.A_START_ASSET_ID <= A_ASSET.A_ASSET_ID " - + " AND A_DEPRECIATION_BUILD.A_END_ASSET_ID >= A_ASSET.A_ASSET_ID AND A_ASSET.ISFULLYDEPRECIATED = 'N' AND A_ASSET.ISDEPRECIATED = 'Y' " - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = ? "; - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE,null); - ResultSet rs = null; - try { - - pstmt.setString(1, DepBuild.getPostingType()); - rs = pstmt.executeQuery(); - while (rs.next()){ - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs.getInt("A_DEPRECIATION_WORKFILE_ID"), null); - String sql2 = null; - sql2 =" SELECT * FROM A_ASSET_ACCT WHERE PostingType" - + " = '" + DepBuild.getPostingType() + "' and A_Asset_ID" - + " = " + rs.getInt("A_ASSET_ID"); - - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement (sql2, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE,null); - ResultSet rs2 = null; - try { - - rs2 = pstmt2.executeQuery(); - //CallableStatement cs; - BigDecimal v_Dep_Exp_Inception = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Inception2 = new BigDecimal("0.0"); - BigDecimal v_HalfYearConv = new BigDecimal("0.0"); - BigDecimal v_HalfYearConv_Adj = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Adjustment = new BigDecimal("0.0"); - BigDecimal v_Dep_Exp_Monthly = new BigDecimal("0.0"); - BigDecimal v_total_adjustment = new BigDecimal("0.0"); - int asset_id_current = 0; - double v_current=0; - BigDecimal v_current_adj = new BigDecimal(0.0); - - while (rs2.next()){ - //X_A_Asset_Acct assetacct = new X_A_Asset_Acct (getCtx(), rs2.getInt("A_ASSET_ACCT_ID"), null); - X_A_Depreciation depreciation = new X_A_Depreciation (getCtx(), rs2.getInt("A_DEPRECIATION_ID"), null); - X_A_Depreciation_Convention depreciation_conv = new X_A_Depreciation_Convention (getCtx(), rs2.getInt("A_DEPRECIATION_CONV_ID"), null); - //X_A_Depreciation_Exp depexp = new X_A_Depreciation_Exp (getCtx(), 0, null); - //Date d1,d2; - //d1 = rs.getDate("ASSETSERVICEDATE"); - //d2 = rs.getDate("DATEACCT"); - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - int DateAcctMonth = calendar.get(Calendar.MONTH); - double v_period = (Math.ceil(DateAcctMonth)+ (Math.floor(DateAcctYear) - Math.floor(AssetServiceDateYear))*12 - Math.floor(AssetServiceDateMonth)) ; - //Record booked depreciation expense - - if (rs2.getInt("A_ASSET_ID")!=asset_id_current ) - { - v_current_adj = new BigDecimal(0.0); - //depexp.setPostingType(DepBuild.getPostingType()); - //depexp.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - //depexp.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - //depexp.setPostingType(rs.getString("PostingType")); - //depexp.setExpense(assetwk.getA_Accumulated_Depr().setScale(5, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - //depexp.setDescription("Actual Depreciation Expense Booked"); - //depexp.setA_Period(rs.getInt("A_Period_Posted")); - //depexp.setIsDepreciated(true); - //depexp.setDateAcct(assetwk.getAssetDepreciationDate()); - //depexp.setA_Entry_Type("DEP"); - //depexp.saveEx(); - } - else - { - v_current_adj = v_current_adj.subtract(new BigDecimal(0.0)); - } - - int method = 0; - method = rs2.getInt("A_DEPRECIATION_METHOD_ID"); - - //Set depreciation date and record in workfile - Calendar cal = GregorianCalendar.getInstance(); - Timestamp ts; - ts =(rs.getTimestamp("ASSETSERVICEDATE")); - cal.setTime(ts); - assetwk.setDateAcct(ts); - assetwk.setA_Period_Forecast(new BigDecimal(assetwk.getA_Period_Posted())); - assetwk.saveEx(); - - - //Calculate life to date depreciation - while (v_current < v_period ){ - v_Dep_Exp_Inception2 = Depreciation.Dep_Type(depreciation.getDepreciationType(),rs2.getInt("A_Asset_ID"),v_current, rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), v_Dep_Exp_Inception); - //cs = DB.prepareCall("{ ? = call "+ depreciation.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") + "," + (v_current) + ",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + "," + v_Dep_Exp_Inception + ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Inception2 = cs.getBigDecimal(1); - //cs.close(); - v_HalfYearConv_Adj = new BigDecimal(Conventions.Dep_Convention(depreciation_conv.getConventionType(),rs2.getInt("A_Asset_ID"), rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), 1, (v_current -1 ))); - //cs = DB.prepareCall("{ ? = call " + depreciation_conv.getConventionType() + "(" + rs2.getInt("A_Asset_ID") + ",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + ", 1 ," + (v_current -1 )+ ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_HalfYearConv_Adj = cs.getBigDecimal(1); - //cs.close(); - v_HalfYearConv = v_HalfYearConv.add(v_HalfYearConv_Adj); - cal.add(Calendar.MONTH, 1); - cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH)); - ts.setTime(cal.getTimeInMillis()); - assetwk.setDateAcct(ts); - v_current_adj = v_current_adj.add((v_HalfYearConv_Adj)); - assetwk.setA_Period_Forecast(v_current_adj); - assetwk.saveEx(); - v_Dep_Exp_Inception = v_Dep_Exp_Inception .add(v_Dep_Exp_Inception2.multiply(v_HalfYearConv_Adj)); - v_current = v_current + 1; - } - - //log.info("doIt - Booked Expense= "+assetwk.getA_Accumulated_Depr()); - //log.info("doIt - Calculated Expense= "+v_Dep_Exp_Inception); - - - //Calculate necessary adjustment per period - X_A_Depreciation_Method depreciation_method = new X_A_Depreciation_Method (getCtx(), method, null); - if (v_Dep_Exp_Inception.compareTo( assetwk.getA_Accumulated_Depr())!=0) - { - v_Dep_Exp_Adjustment = DepreciationAdj.Dep_Adj(depreciation_method.getDepreciationType(),rs2.getInt("A_Asset_ID") , (v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr())) , (Math.floor(DateAcctMonth)), rs2.getString("PostingType") , rs2.getInt("A_ASSET_ACCT_ID")); - //cs = DB.prepareCall("{ ? = call " + depreciation_method.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") + "," + (v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr())) + "," + (Math.floor(d2.getMonth()))+ ",'" + rs2.getString("PostingType") + "'," +rs2.getInt("A_ASSET_ACCT_ID") +")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Adjustment = cs.getBigDecimal(1); - //cs.close(); - //log.info("doIt - callable statement #3= "+v_Dep_Exp_Adjustment); - v_total_adjustment = v_Dep_Exp_Inception.subtract(assetwk.getA_Accumulated_Depr()); - } - - - //Record necessary adjustments - if (v_Dep_Exp_Adjustment.setScale(2, BigDecimal.ROUND_HALF_UP).compareTo(new BigDecimal (0.00))!=0) - { - X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp1.setA_Entry_Type("DEP"); - depexp1.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp1.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp1.setPostingType(rs.getString("PostingType")); - depexp1.setExpense(v_Dep_Exp_Adjustment.setScale(2, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp1.setDescription("Depreciation Expense Adj."); - depexp1.setA_Period(rs.getInt("C_Period_ID")); - depexp1.setIsDepreciated(true); - depexp1.setDateAcct(rs.getTimestamp("DateAcct")); - depexp1.saveEx(); - - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp2.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp2.setA_Account_Number(rs2.getInt("A_AccumDepreciation_Acct")); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setExpense(v_Dep_Exp_Adjustment.setScale(2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(-1 * rs2.getFloat("A_Split_Percent")))); - depexp2.setDescription("Depreciation Expense Adj."); - depexp2.setA_Period(rs.getInt("C_Period_ID")); - depexp2.setIsDepreciated(false); - depexp2.setDateAcct(rs.getTimestamp("DateAcct")); - depexp2.setA_Entry_Type("DEP"); - depexp2.saveEx(); - - v_total_adjustment = v_total_adjustment.setScale(5, BigDecimal.ROUND_HALF_UP).subtract(v_Dep_Exp_Adjustment.setScale(5, BigDecimal.ROUND_HALF_UP)); - } - v_current = v_current+1; - //v_Dep_Exp_Inception = (rs.getBigDecimal("A_ACCUMULATED_DEPR")); - //BigDecimal v_period_adj = new BigDecimal(rs2.getInt("A_PERIOD_END")); - int lastdepexp2=0; - - - //Calculation depreciation expense - v_Dep_Exp_Monthly = Depreciation.Dep_Type(depreciation.getDepreciationType(),rs2.getInt("A_Asset_ID"),v_current-1, rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), v_Dep_Exp_Inception); - //cs = DB.prepareCall("{ ? = call " + depreciation.getDepreciationType() + "(" + rs2.getInt("A_Asset_ID") +", "+ (v_current-1) +" ,'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + " , " + (v_Dep_Exp_Inception) + ")}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_Dep_Exp_Monthly = cs.getBigDecimal(1); - //cs.close(); - //log.info("This is v_Dep_Exp_Monthly "+v_Dep_Exp_Monthly); - //Adjust for half year convention - v_HalfYearConv_Adj = new BigDecimal(Conventions.Dep_Convention(depreciation_conv.getConventionType(),rs2.getInt("A_Asset_ID"), rs2.getString("PostingType"), rs2.getInt("A_ASSET_ACCT_ID"), 0, 1 )); - //cs = DB.prepareCall("{ ? = call " + depreciation_conv.getConventionType() + "(" + rs2.getInt("A_Asset_ID") +",'" + rs2.getString("PostingType") + "'," + rs2.getInt("A_ASSET_ACCT_ID") + " , 0, 1)}"); - //cs.registerOutParameter(1, java.sql.Types.DECIMAL); - //cs.execute(); - //v_HalfYearConv_Adj = cs.getBigDecimal(1); - //cs.close(); - //log.info("This is v_HalfYearConv_Adj "+v_HalfYearConv_Adj); - v_Dep_Exp_Monthly = v_Dep_Exp_Monthly.multiply((v_HalfYearConv_Adj)); - //log.info("This is v_Dep_Exp_Monthly "+v_Dep_Exp_Monthly); - v_HalfYearConv = v_HalfYearConv.add( v_HalfYearConv_Adj); - - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, null); - if (v_total_adjustment.setScale(2, BigDecimal.ROUND_HALF_UP).compareTo(new BigDecimal (0.00))!=0) - { - - //Record necessary adjustments - //X_A_Depreciation_Exp depexp1 = new X_A_Depreciation_Exp (getCtx(), 0, null); - //depexp1.setA_Entry_Type("FOR"); - //depexp1.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - //depexp1.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - //depexp1.setPostingType(rs.getString("PostingType")); - //depexp1.setExpense(v_Dep_Exp_Adjustment.setScale(5, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - //depexp1.setDescription("Forecasted Depreciation Expense Adj."); - //depexp1.setA_Period((int)v_current); - //depexp1.setIsDepreciated(true); - //depexp1.setDateAcct(ts); - //depexp1.saveEx(); - - - v_total_adjustment = v_total_adjustment.setScale(5, BigDecimal.ROUND_HALF_UP).subtract(v_Dep_Exp_Adjustment.setScale(5, BigDecimal.ROUND_HALF_UP)); - - //Record adjusted expense - depexp2.setPostingType(DepBuild.getPostingType()); - depexp2.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp2.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setExpense((v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp2.setDescription("Depreciation Expense"); - depexp2.setA_Period(rs.getInt("C_Period_ID")); - depexp2.setIsDepreciated(true); - depexp2.setDateAcct(rs.getTimestamp("DateAcct")); - depexp2.setA_Entry_Type("DEP"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp3.setA_Account_Number(rs2.getInt("A_AccumDepreciation_Acct")); - depexp3.setPostingType(rs.getString("PostingType")); - depexp3.setExpense(v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(-1 * rs2.getFloat("A_Split_Percent")))); - depexp3.setDescription("Depreciation Expense"); - depexp3.setA_Period(rs.getInt("C_Period_ID")); - depexp3.setIsDepreciated(false); - depexp3.setDateAcct(rs.getTimestamp("DateAcct")); - depexp3.setA_Entry_Type("DEP"); - depexp3.saveEx(); - - v_Dep_Exp_Inception = v_Dep_Exp_Inception.add((v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP))).setScale(2, BigDecimal.ROUND_HALF_UP); - } - else - { - //Record expense - depexp2.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp2.setA_Account_Number(rs2.getInt("A_Depreciation_Acct")); - depexp2.setPostingType(rs.getString("PostingType")); - depexp2.setExpense(v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(rs2.getFloat("A_Split_Percent")))); - depexp2.setDescription("Depreciation Expense"); - depexp2.setA_Period(rs.getInt("C_Period_ID")); - depexp2.setIsDepreciated(true); - depexp2.setDateAcct(rs.getTimestamp("DateAcct")); - depexp2.setA_Entry_Type("DEP"); - depexp2.saveEx(); - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, null); - depexp3.setA_Asset_ID(rs.getInt("A_ASSET_ID")); - depexp3.setA_Account_Number(rs2.getInt("A_AccumDepreciation_Acct")); - depexp3.setPostingType(rs.getString("PostingType")); - depexp3.setExpense(v_Dep_Exp_Monthly.setScale(2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(-1 * rs2.getFloat("A_Split_Percent")))); - depexp3.setDescription("Depreciation Expense"); - depexp3.setA_Period(rs.getInt("C_Period_ID")); - depexp3.setIsDepreciated(false); - depexp3.setDateAcct(rs.getTimestamp("DateAcct")); - depexp3.setA_Entry_Type("DEP"); - depexp3.saveEx(); - - - v_Dep_Exp_Inception = v_Dep_Exp_Inception.add(v_Dep_Exp_Monthly).setScale(2, BigDecimal.ROUND_HALF_UP); - - } - lastdepexp2 = depexp2.get_ID(); - - //Advance calender - cal.add(Calendar.MONTH, 1); - cal.set(Calendar.DAY_OF_MONTH, cal.getActualMaximum(Calendar.DAY_OF_MONTH)); - ts.setTime(cal.getTimeInMillis()); - v_current_adj = v_current_adj.add((v_HalfYearConv_Adj)).setScale(2, BigDecimal.ROUND_HALF_UP); - - //record in workfile - assetwk.setA_Period_Forecast(v_current_adj); - assetwk.setDateAcct(ts); - assetwk.setA_Current_Period((int)v_current); - assetwk.saveEx(); - - asset_id_current = rs2.getInt("A_ASSET_ID"); - log.info(""+asset_id_current); - } - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - DB.close(rs, pstmt); - rs2 = null; pstmt2 = null; - } - } - - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - - return ""; - } // doIt - -} // InvoiceCreateInOut diff --git a/org.adempiere.base/src/org/compiere/FA/Conventions.java b/org.adempiere.base/src/org/compiere/FA/Conventions.java deleted file mode 100644 index 410ce56f7c..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/Conventions.java +++ /dev/null @@ -1,407 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert Klein. robeklein@hotmail.com - * _____________________________________________ - *****************************************************************************/ -package org.compiere.FA; - -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.Calendar; -import java.util.GregorianCalendar; - -import org.compiere.util.DB; - -/** - * Fixed Asset Conventions - * - * @author Rob Klein - * @version $Id: Conventions.java,v 1.0 $ - * - */ -public class Conventions { - - /** - * - * - */ - static public double Dep_Convention(String Type,int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - - if(Type.compareTo("FMCON")==0) - return FMCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else if(Type.compareTo("FYCON")==0) - return FYCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else if(Type.compareTo("DYCON")==0) - return DYCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else if(Type.compareTo("MMCON")==0) - return MMCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else if(Type.compareTo("MQCON")==0) - return MQCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else if(Type.compareTo("HYCON")==0) - return HYCON(p_A_ASSET_ID, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Flag, p_Period); - else - return 0.0; - - } - - - /** - * - * - */ - static public double FMCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - return 1.0; - - } - - static public double HYCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - int v_adj=0; - StringBuffer sqlB = new StringBuffer ("SELECT A_ASSET.ASSETSERVICEDATE, A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED," - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD," - + " A_DEPRECIATION_WORKFILE.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET" - + " WHERE A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE+"'"); - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - - - int v_Months_of_Half_Year = (12-(AssetServiceDateMonth)+1); - - //ADJUST PERIOD FOR MID-MONTH CONVENTION - if(DateAcctYear == AssetServiceDateYear) - v_adj = 6/v_Months_of_Half_Year; - else - v_adj = 1; - - if(p_Flag == 2){ - //ADJUST COST CORRECTIONS FOR HALF-YEAR CONVENTION - if (p_Period == AssetServiceDateYear) - v_adj = 6/v_Months_of_Half_Year; - else - v_adj = 1; - } - } - } - catch (Exception e) - { - System.out.println("HYCON"+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return v_adj; - - } - - static public double FYCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - int v_adj=0; - StringBuffer sqlB = new StringBuffer ("SELECT A_ASSET.ASSETSERVICEDATE," - + " A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED," - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD," - + " A_DEPRECIATION_WORKFILE.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET" - + " WHERE A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE+"'"); - - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - - int v_Months_of_Full_Year = 12 - AssetServiceDateMonth; - if(p_Flag < 2){ - //ADJUST PERIOD FOR FULL-YEAR CONVENTION - if(DateAcctYear == AssetServiceDateYear) - v_adj = 12/v_Months_of_Full_Year; - else - v_adj = 1; - } - if(p_Flag == 2){ - //ADJUST COST CORRECTIONS FOR FULL-YEAR CONVENTION - v_adj = 12/v_Months_of_Full_Year; - } - - - } - - } - catch (Exception e) - { - System.out.println("FYCON"+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - - return v_adj; - - } - - static public double DYCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - int v_adj=0; - StringBuffer sqlB = new StringBuffer ("SELECT A_ASSET.ASSETSERVICEDATE," - + " A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED," - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD," - + " A_DEPRECIATION_WORKFILE.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET" - + " WHERE A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE+"'"); - - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - int AssetServiceDateDay = calendar.get(Calendar.DAY_OF_YEAR); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - int DateAcctMonth = calendar.get(Calendar.MONTH); - - if(p_Flag ==0){ - - //ADJUST PERIOD FOR DAY CONVENTION - if(DateAcctYear == AssetServiceDateYear){ - return ((365-(double)AssetServiceDateDay)/365); - } - else if ((DateAcctYear*12 + DateAcctMonth) == (AssetServiceDateYear+rs.getInt("A_ASSET_LIFE_YEARS"))*12 + AssetServiceDateMonth) - return ((double)AssetServiceDateDay/365); - else if ((DateAcctYear*12 + DateAcctMonth) > (AssetServiceDateYear+rs.getInt("A_ASSET_LIFE_YEARS"))*12 + AssetServiceDateMonth) - return ((double)AssetServiceDateDay/365); - else - return 1; - } - - if(p_Flag ==1){ - //ADJUST PERIOD FOR DAY CONVENTION - if(DateAcctYear == AssetServiceDateYear){ - return ((365-(double)AssetServiceDateDay)/365); - } - if(DateAcctYear == (AssetServiceDateYear+rs.getInt("A_ASSET_LIFE_YEARS")+1)) - return ((double)AssetServiceDateDay/365); - else - return 1; - } - - if(p_Flag == 2){ - //ADJUST PERIOD FOR DAY CONVENTION - return ((365-(double)AssetServiceDateDay)/365); - } - } - } - catch (Exception e) - { - System.out.println("DYCON"+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - - return v_adj; - - } - static public double MMCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - int v_adj=0; - StringBuffer sqlB = new StringBuffer ("SELECT A_ASSET.ASSETSERVICEDATE," - + " A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED," - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD," - + " A_DEPRECIATION_WORKFILE.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET" - + " WHERE A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE+"'"); - - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctMonth = calendar.get(Calendar.MONTH); - if(p_Flag ==0){ - if(DateAcctMonth - AssetServiceDateMonth >1) - return 1; - else - return .5; - } - if(p_Flag ==1){ - if(p_Period == 0) - return .5; - else - return 1; - } - if(p_Flag == 2){ - if (p_Period - AssetServiceDateMonth >1) - return 1; - else - return .5; - } - } - } - catch (Exception e) - { - System.out.println("MMCON"+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - return v_adj; - } - - static public double MQCON(int p_A_ASSET_ID, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, int p_Flag, double p_Period) - { - int v_adj=0; - StringBuffer sqlB = new StringBuffer ("SELECT A_ASSET.ASSETSERVICEDATE," - + " A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED," - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD," - + " A_DEPRECIATION_WORKFILE.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET" - + " WHERE A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE+"'"); - - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - int DateAcctMonth = calendar.get(Calendar.MONTH); - if(p_Flag <2){ - - //ADJUST PERIOD FOR MID-QUARTER CONVENTION - if(DateAcctYear == AssetServiceDateYear){ - if(AssetServiceDateMonth < 4 ) - return .875; - else if (AssetServiceDateMonth < 7 ) - return .625; - else if (AssetServiceDateMonth < 10 ) - return .375; - else if (AssetServiceDateMonth > 9 ) - return .125; - } - else if(DateAcctYear*12 + DateAcctMonth >= ((AssetServiceDateYear+rs.getInt("A_ASSET_LIFE_YEARS"))*12 + AssetServiceDateMonth)){ - if(AssetServiceDateMonth < 4 ) - return .125; - else if (AssetServiceDateMonth < 7 ) - return .375; - else if (AssetServiceDateMonth < 10 ) - return .625; - else if (AssetServiceDateMonth > 9 ) - return .875; - } - else - return 1; - } - - if(p_Flag == 2){ - if(AssetServiceDateMonth< 4 ) - return .875; - else if (AssetServiceDateMonth < 7 ) - return .625; - else if (AssetServiceDateMonth < 10 ) - return .375; - else if (AssetServiceDateMonth > 9 ) - return .125; - } - } - } - catch (Exception e) - { - System.out.println("MQCON"+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - return v_adj; - } - - - }// Conventions - diff --git a/org.adempiere.base/src/org/compiere/FA/CreateGLAsset.java b/org.adempiere.base/src/org/compiere/FA/CreateGLAsset.java deleted file mode 100644 index 30891abfcf..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/CreateGLAsset.java +++ /dev/null @@ -1,383 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.model.MAssetAcct; -import org.compiere.model.MAssetChange; -import org.compiere.model.MRefList; -import org.compiere.model.X_A_Asset; -import org.compiere.model.X_A_Asset_Addition; -import org.compiere.model.X_A_Asset_Group_Acct; -import org.compiere.model.X_A_Depreciation_Workfile; -import org.compiere.model.X_GL_JournalLine; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Create Asset from FA GL Process - * - * @author Rob Klein - * @version $Id: CreateGLAsset.java,v 1.0 $ - */ -public class CreateGLAsset extends SvrProcess -{ - - private int p_client = 0; - //private int p_org = 0; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("AD_Client_ID")) - p_client = para[i].getParameterAsInt(); - else - log.info("prepare - Unknown Parameter: " + name); - } - } // prepare - - - /** - * Process Invoices - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("Starting inbound invoice process"); -// int uselifemonths = 0; -// int uselifeyears = 0; - - String sql =" SELECT * FROM GL_JOURNALLINE WHERE A_Processed <> 'Y' and AD_Client_ID = ?" - + " and A_CreateAsset = 'Y' and Processed = 'Y'"; - log.info(sql); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement(sql,get_TrxName()); - ResultSet rs = null; - try { - pstmt.setInt(1, p_client); - rs = pstmt.executeQuery(); - - while (rs.next()){ - - X_A_Asset asset = new X_A_Asset (getCtx(), rs.getInt("A_Asset_ID"), get_TrxName()); - X_GL_JournalLine JVLine = new X_GL_JournalLine (getCtx(), rs.getInt("GL_JournalLine_ID"), get_TrxName()); - String sql2 ="SELECT C.AccountType FROM GL_JournalLine A, C_ValidCombination B, C_ElementValue C WHERE A.GL_JournalLine_ID = ?" + - " and A.C_ValidCombination_ID = B.C_ValidCombination_ID and B.Account_ID = C.C_ElementValue_ID"; - String acctType = DB.getSQLValueString(get_TrxName(),sql2, JVLine.getGL_JournalLine_ID()); - if (acctType.equals("A")){ - sql ="SELECT * FROM A_Asset_Group_Acct WHERE A_Asset_Group_ID = ? AND IsActive='Y'"; - log.info("yes"); - pstmt = null; - pstmt = DB.prepareStatement(sql,get_TrxName()); - if(asset.getA_Asset_ID()==0) { - int groupId = JVLine.getA_Asset_Group_ID(); - pstmt.setInt(1, groupId); - } else - pstmt.setInt(1, asset.getA_Asset_Group_ID()); - ResultSet rs2 = pstmt.executeQuery(); - - while (rs2.next()){ - - X_A_Asset_Group_Acct assetgrpacct = new X_A_Asset_Group_Acct (getCtx(), rs2,get_TrxName()); - MAssetAcct assetacct = new MAssetAcct (getCtx(), 0, get_TrxName()); - if (assetgrpacct.isProcessing()== true){ - sql2 = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=? and" - + " PostingType = '"+assetgrpacct.getPostingType()+"'"; - if (DB.getSQLValue(get_TrxName(),sql2, asset.getA_Asset_ID())== 0) - { - asset.setIsOwned(true); - asset.setIsDepreciated(assetgrpacct.isProcessing()); - asset.setA_Asset_CreateDate(JVLine.getDateAcct()); - asset.setIsInPosession(true); - if(JVLine.getDescription()!= null) - asset.setName(JVLine.getDescription()); - else - asset.setName("Asset created from JV"); - asset.setHelp("Created from JV #" + JVLine.getGL_Journal_ID() + " on line #" + JVLine.getLine()); - asset.setDescription(JVLine.getDescription()); - asset.setUseLifeMonths(assetgrpacct.getUseLifeMonths()); - asset.setUseLifeYears(assetgrpacct.getUseLifeYears()); - asset.setA_Asset_Group_ID(assetgrpacct.getA_Asset_Group_ID()); - asset.setA_QTY_Current(JVLine.getQty()); - asset.setA_QTY_Original(JVLine.getQty()); - asset.saveEx(); - asset.setA_Parent_Asset_ID(asset.getA_Asset_ID()); - asset.saveEx(); - - boolean isdepreciate = assetgrpacct.isProcessing(); - - if (isdepreciate == true) - { - assetacct.setPostingType(assetgrpacct.getPostingType()); - assetacct.setA_Split_Percent(assetgrpacct.getA_Split_Percent()); - assetacct.setA_Depreciation_Conv_ID(assetgrpacct.getConventionType()); - assetacct.setA_Asset_ID(asset.getA_Asset_ID()); - assetacct.setA_Depreciation_ID(assetgrpacct.getDepreciationType()); - assetacct.setA_Asset_Spread_ID(assetgrpacct.getA_Asset_Spread_Type()); - assetacct.setA_Period_Start(1); - - if (asset.getUseLifeMonths() == 0 & asset.getUseLifeYears() == 0){ - assetacct.setA_Period_End(assetgrpacct.getUseLifeMonths()); - asset.setUseLifeYears(assetgrpacct.getUseLifeYears()); - asset.setUseLifeMonths(assetgrpacct.getUseLifeMonths()); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); -// uselifemonths = assetgrpacct.getUseLifeMonths(); -// uselifeyears = assetgrpacct.getUseLifeYears(); - - } - else if(asset.getUseLifeMonths() == 0){ - assetacct.setA_Period_End(asset.getUseLifeYears()*12); - asset.setUseLifeMonths(asset.getUseLifeYears()*12); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); -// uselifemonths = asset.getUseLifeYears()*12; -// uselifeyears = asset.getUseLifeYears(); - } - else{ - assetacct.setA_Period_End(asset.getUseLifeMonths()); -// uselifemonths = asset.getUseLifeMonths(); -// uselifeyears = asset.getUseLifeYears(); - } - - assetacct.setA_Depreciation_Method_ID(assetgrpacct.getA_Depreciation_Calc_Type()); - assetacct.setA_Asset_Acct(assetgrpacct.getA_Asset_Acct()); - assetacct.setC_AcctSchema_ID(assetgrpacct.getC_AcctSchema_ID()); - assetacct.setA_Salvage_Value(new BigDecimal (0.0)); - assetacct.setA_Accumdepreciation_Acct(assetgrpacct.getA_Accumdepreciation_Acct()); - assetacct.setA_Depreciation_Acct(assetgrpacct.getA_Depreciation_Acct()); - assetacct.setA_Disposal_Revenue(assetgrpacct.getA_Disposal_Revenue()); - assetacct.setA_Disposal_Loss(assetgrpacct.getA_Disposal_Loss()); - assetacct.setA_Reval_Accumdep_Offset_Cur(assetgrpacct.getA_Reval_Accumdep_Offset_Cur()); - assetacct.setA_Reval_Accumdep_Offset_Prior(assetgrpacct.getA_Reval_Accumdep_Offset_Prior()); - assetacct.setA_Reval_Cal_Method(assetgrpacct.getA_Reval_Cal_Method()); - assetacct.setA_Reval_Cost_Offset(assetgrpacct.getA_Reval_Cost_Offset()); - assetacct.setA_Reval_Cost_Offset_Prior(assetgrpacct.getA_Reval_Cost_Offset_Prior()); - assetacct.setA_Reval_Depexp_Offset(assetgrpacct.getA_Reval_Depexp_Offset()); - assetacct.setA_Depreciation_Manual_Amount(assetgrpacct.getA_Depreciation_Manual_Amount()); - assetacct.setA_Depreciation_Manual_Period(assetgrpacct.getA_Depreciation_Manual_Period()); - assetacct.setA_Depreciation_Table_Header_ID(assetgrpacct.getA_Depreciation_Table_Header_ID()); - assetacct.setA_Depreciation_Variable_Perc(assetgrpacct.getA_Depreciation_Variable_Perc()); - assetacct.setProcessing(false); - assetacct.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setPostingType(assetacct.getPostingType()); - change.setA_Split_Percent(assetacct.getA_Split_Percent()); - change.setConventionType(assetacct.getA_Depreciation_Conv_ID()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setDepreciationType(assetacct.getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(assetacct.getA_Asset_Spread_ID()); - change.setA_Period_Start(assetacct.getA_Period_Start()); - change.setA_Period_End(assetacct.getA_Period_End()); - change.setIsInPosession(asset.isOwned()); - change.setIsDisposed(asset.isDisposed()); - change.setIsDepreciated(asset.isDepreciated()); - change.setIsFullyDepreciated(asset.isFullyDepreciated()); - change.setA_Depreciation_Calc_Type(assetacct.getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - change.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - change.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(assetacct.getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(assetacct.getA_Reval_Accumdep_Offset_Prior()); - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(assetacct.getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(assetacct.getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(assetacct.getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(assetacct.getA_Depreciation_Manual_Amount()); - change.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(assetacct.getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(assetacct.getA_Depreciation_Variable_Perc()); - change.setA_Parent_Asset_ID(asset.getA_Parent_Asset_ID()); - change.setChangeType("CRT"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "CRT")); - change.setIsInPosession(asset.isOwned()); - change.setIsDisposed(asset.isDisposed()); - change.setIsDepreciated(asset.isDepreciated()); - change.setIsFullyDepreciated(asset.isFullyDepreciated()); - change.setLot(asset.getLot()); - change.setSerNo(asset.getSerNo()); - change.setVersionNo(asset.getVersionNo()); - change.setUseLifeMonths(asset.getUseLifeMonths()); - change.setUseLifeYears(asset.getUseLifeYears()); - change.setLifeUseUnits(asset.getLifeUseUnits()); - change.setAssetDisposalDate(asset.getAssetDisposalDate()); - change.setAssetServiceDate(asset.getAssetServiceDate()); - change.setC_BPartner_Location_ID(asset.getC_BPartner_Location_ID()); - change.setC_BPartner_ID(asset.getC_BPartner_ID()); - change.setAssetValueAmt(JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr())); - change.setA_Asset_CreateDate(asset.getA_Asset_CreateDate()); - change.setAD_User_ID(asset.getAD_User_ID()); - change.setC_Location_ID(asset.getC_Location_ID()); - change.saveEx(); - } - - - - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), 0, get_TrxName()); - assetwk.setA_Asset_ID(asset.getA_Asset_ID()); - assetwk.setA_Life_Period(assetgrpacct.getUseLifeMonths()); - assetwk.setA_Asset_Life_Years(assetgrpacct.getUseLifeYears()); - assetwk.setA_Asset_Cost(assetwk.getA_Asset_Cost().add(JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr()))); - assetwk.setA_Accumulated_Depr(new BigDecimal (0.0)); - assetwk.setA_Salvage_Value(new BigDecimal (0.0)); - assetwk.setA_Period_Posted(0); - assetwk.setA_Asset_Life_Current_Year(new BigDecimal (0.0)); - assetwk.setA_Curr_Dep_Exp(new BigDecimal (0.0)); - assetwk.setA_QTY_Current(JVLine.getQty()); - assetwk.setIsDepreciated(assetgrpacct.isProcessing()); - assetwk.setPostingType(assetgrpacct.getPostingType()); - assetwk.saveEx(); - - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt(JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr())); - assetadd.setA_SourceType("JRN"); - assetadd.setA_CapvsExp("Cap"); - assetadd.setA_QTY_Current(JVLine.getQty()); - assetadd.setDocumentNo(""+JVLine.getGL_Journal_ID()); - assetadd.setGL_JournalBatch_ID(JVLine.getGL_Journal_ID()); - assetadd.setLine(JVLine.getLine()); - assetadd.setDescription(JVLine.getDescription()); - assetadd.setPostingType(assetwk.getPostingType()); - assetadd.saveEx(); - - } - else - { - sql2 ="SELECT * FROM A_Depreciation_Workfile WHERE A_Asset_ID = ? and PostingType = ?"; - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement(sql2,get_TrxName()); - ResultSet rs3 = null; - log.info("no"); - try { - pstmt2.setInt(1, asset.getA_Asset_ID()); - pstmt2.setString(2, assetgrpacct.getPostingType()); - rs3 = pstmt2.executeQuery(); - while (rs3.next()){ - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs3, get_TrxName()); - assetwk.setA_Asset_ID(asset.getA_Asset_ID()); - assetwk.setA_Life_Period(assetgrpacct.getUseLifeMonths()); - assetwk.setA_Asset_Life_Years(assetgrpacct.getUseLifeYears()); - assetwk.setA_Asset_Cost(assetwk.getA_Asset_Cost().add(JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr()))); - assetwk.setA_QTY_Current(assetwk.getA_QTY_Current().add(JVLine.getQty())); - assetwk.setIsDepreciated(assetgrpacct.isProcessing()); - assetwk.saveEx(); - - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt((JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr()))); - assetadd.setA_SourceType("JRN"); - assetadd.setA_CapvsExp("Cap"); - assetadd.setA_QTY_Current(JVLine.getQty()); - assetadd.setDocumentNo(""+JVLine.getGL_Journal_ID()); - assetadd.setGL_JournalBatch_ID(JVLine.getGL_Journal_ID()); - assetadd.setLine(JVLine.getLine()); - assetadd.setDescription(JVLine.getDescription()); - assetadd.setPostingType(assetwk.getPostingType()); - assetadd.saveEx(); - - - asset.setA_QTY_Original(assetadd.getA_QTY_Current().add(asset.getA_QTY_Original())); - asset.setA_QTY_Current(assetadd.getA_QTY_Current().add(asset.getA_QTY_Current())); - asset.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setChangeType("ADD"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "ADD")); - change.setPostingType(assetwk.getPostingType()); - change.setAssetValueAmt(assetadd.getAssetValueAmt()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.saveEx(); - - } - } - catch (Exception e) - { - log.info("getAssets "+ e); - } - finally - { - DB.close(rs3, pstmt2); - rs3 = null; pstmt2 = null; - } - - } - } - } - } - else if (acctType.equals("E")) - { - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt((JVLine.getAmtAcctDr().subtract(JVLine.getAmtAcctCr()))); - assetadd.setA_SourceType("JRN"); - assetadd.setA_CapvsExp("Exp"); - assetadd.setA_QTY_Current(JVLine.getQty()); - assetadd.setDocumentNo(""+JVLine.getGL_Journal_ID()); - assetadd.setGL_JournalBatch_ID(JVLine.getGL_Journal_ID()); - assetadd.setLine(JVLine.getLine()); - assetadd.setDescription(JVLine.getDescription()); - assetadd.setPostingType("A"); - assetadd.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.setChangeType("EXP"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "EXP")); - assetadd.setPostingType("A"); - change.setAssetValueAmt(assetadd.getAssetValueAmt()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.saveEx(); - } - JVLine.set_ValueOfColumn(I_CustomColumn.A_Processed, Boolean.TRUE); - JVLine.saveEx(); - } - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("getAssets "+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return ""; - } // doIt - -} // CreateGLAsset diff --git a/org.adempiere.base/src/org/compiere/FA/CreateInvoicedAsset.java b/org.adempiere.base/src/org/compiere/FA/CreateInvoicedAsset.java deleted file mode 100644 index ffde8c307c..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/CreateInvoicedAsset.java +++ /dev/null @@ -1,648 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * Portions created by Jorg Janke are Copyright (C) 1999-2004 Jorg Janke, parts - * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.util.logging.Level; - -import org.compiere.model.MAssetAcct; -import org.compiere.model.MAssetChange; -import org.compiere.model.MRefList; -import org.compiere.model.X_A_Asset; -import org.compiere.model.X_A_Asset_Addition; -import org.compiere.model.X_A_Asset_Group_Acct; -import org.compiere.model.X_A_Depreciation_Exp; -import org.compiere.model.X_A_Depreciation_Workfile; -import org.compiere.model.X_C_BPartner; -import org.compiere.model.X_C_Invoice; -import org.compiere.model.X_C_InvoiceLine; -import org.compiere.model.X_M_Product; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Create Asset from Invoice Process - * - * @author Rob Klein - * - */ -public class CreateInvoicedAsset extends SvrProcess -{ - - private int p_client = 0; - //private int p_org = 0; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (para[i].getParameter() == null) - ; - else if (name.equals("AD_Client_ID")) - p_client = para[i].getParameterAsInt(); - else - log.info("prepare - Unknown Parameter: " + name); - } - } // prepare - - - /** - * Process Invoices - * @return info - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("Starting inbound invoice process"); - int uselifemonths = 0; - int uselifeyears = 0; - int C_Period_ID=0; - int invoiceAcct=0; - //Yvonne: add in recordInsertedCount - int recordInsertedCount = 0; - //Yvonne: changed A_Processed is null to A_Processed='N' - String sql =" SELECT * FROM C_InvoiceLine WHERE A_Processed='N' and AD_Client_ID = ?" - + " and A_CreateAsset = 'Y' and Processed = 'Y'"; - - log.info("sql"+sql+p_client); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement(sql,get_TrxName()); - ResultSet rs = null; - try { - pstmt.setInt(1, p_client); - rs = pstmt.executeQuery(); - int i=0; - - while (rs.next()){ - i=i+1; - log.info("here is the counter "+i); - X_A_Asset asset = new X_A_Asset (getCtx(), rs.getInt("A_Asset_ID"), get_TrxName()); - - X_C_Invoice Invoice = new X_C_Invoice (getCtx(), rs.getInt("C_Invoice_ID"), get_TrxName()); - X_C_InvoiceLine InvoiceLine = new X_C_InvoiceLine (getCtx(), rs, get_TrxName()); - X_M_Product product = new X_M_Product (getCtx(), InvoiceLine.getM_Product_ID(), get_TrxName()); - //X_M_Product_Category productcat = new X_M_Product_Category (getCtx(), product.getM_Product_Category_ID(), get_TrxName()); - - - //X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0); - X_C_BPartner business = new X_C_BPartner (getCtx(), Invoice.getC_BPartner_ID(), get_TrxName()); - - if (rs.getString("A_CapvsExp").equals("Cap")){ - String sqla ="SELECT * FROM A_Asset_Group_Acct WHERE A_Asset_Group_ID = ? AND IsActive='Y'"; - - PreparedStatement pstmt1 = null; - pstmt1 = DB.prepareStatement(sqla,get_TrxName()); - if(asset.getA_Asset_ID()==0) { - int groupId = InvoiceLine.getA_Asset_Group_ID(); - pstmt1.setInt(1, groupId); - } else - pstmt1.setInt(1, asset.getA_Asset_Group_ID()); - ResultSet rs2 = pstmt1.executeQuery(); - - while (rs2.next()){ - - X_A_Asset_Group_Acct assetgrpacct = new X_A_Asset_Group_Acct (getCtx(), rs2,get_TrxName()); - MAssetAcct assetacct = new MAssetAcct (getCtx(), 0, get_TrxName()); - if (assetgrpacct.isProcessing()== true){ - String sql2 = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=? and" - + " PostingType = '"+assetgrpacct.getPostingType()+"'"; - if (DB.getSQLValue(get_TrxName(),sql2, asset.getA_Asset_ID())== 0) - { - - asset.setIsOwned(true); - asset.setIsDepreciated(assetgrpacct.isProcessing()); - asset.setA_Asset_CreateDate(Invoice.getDateInvoiced()); - asset.setIsInPosession(true); - if (InvoiceLine.getM_Product_ID()>0) - asset.setName(product.getName()+"-"+business.getName()+"-"+Invoice.getDocumentNo()); - else - asset.setName(business.getName()+"-"+Invoice.getDocumentNo()); - asset.setHelp("Created from Invoice #" + rs.getInt("C_Invoice_ID") + " on line #" + InvoiceLine.getLine()); - asset.setDescription(InvoiceLine.getDescription()); - asset.setUseLifeMonths(assetgrpacct.getUseLifeMonths()); - asset.setUseLifeYears(assetgrpacct.getUseLifeYears()); - asset.setA_Asset_Group_ID(assetgrpacct.getA_Asset_Group_ID()); - asset.setA_QTY_Current(InvoiceLine.getQtyEntered()); - asset.setA_QTY_Original(InvoiceLine.getQtyEntered()); - asset.saveEx(); - asset.setA_Parent_Asset_ID(asset.getA_Asset_ID()); - asset.saveEx(); - - boolean isdepreciate = assetgrpacct.isProcessing(); - - if (isdepreciate == true) - { - assetacct.setPostingType(assetgrpacct.getPostingType()); - assetacct.setA_Split_Percent(assetgrpacct.getA_Split_Percent()); - assetacct.setA_Depreciation_Conv_ID(assetgrpacct.getConventionType()); - assetacct.setA_Asset_ID(asset.getA_Asset_ID()); - assetacct.setA_Depreciation_ID(assetgrpacct.getDepreciationType()); - assetacct.setA_Asset_Spread_ID(assetgrpacct.getA_Asset_Spread_Type()); - assetacct.setA_Period_Start(1); - - if (asset.getUseLifeMonths() == 0 & asset.getUseLifeYears() == 0){ - assetacct.setA_Period_End(assetgrpacct.getUseLifeMonths()); - asset.setUseLifeYears(assetgrpacct.getUseLifeYears()); - asset.setUseLifeMonths(assetgrpacct.getUseLifeMonths()); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); - uselifemonths = assetgrpacct.getUseLifeMonths(); - uselifeyears = assetgrpacct.getUseLifeYears(); - - } - else if(asset.getUseLifeMonths() == 0){ - assetacct.setA_Period_End(asset.getUseLifeYears()*12); - asset.setUseLifeMonths(asset.getUseLifeYears()*12); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); - uselifemonths = asset.getUseLifeYears()*12; - uselifeyears = asset.getUseLifeYears(); - } - else{ - assetacct.setA_Period_End(asset.getUseLifeMonths()); - uselifemonths = asset.getUseLifeMonths(); - uselifeyears = asset.getUseLifeYears();} - - assetacct.setA_Depreciation_Method_ID(assetgrpacct.getA_Depreciation_Calc_Type()); - assetacct.setA_Asset_Acct(assetgrpacct.getA_Asset_Acct()); - assetacct.setC_AcctSchema_ID(assetgrpacct.getC_AcctSchema_ID()); - assetacct.setA_Accumdepreciation_Acct(assetgrpacct.getA_Accumdepreciation_Acct()); - assetacct.setA_Depreciation_Acct(assetgrpacct.getA_Depreciation_Acct()); - assetacct.setA_Disposal_Revenue(assetgrpacct.getA_Disposal_Revenue()); - assetacct.setA_Disposal_Loss(assetgrpacct.getA_Disposal_Loss()); - assetacct.setA_Salvage_Value(new BigDecimal(0.0)); - assetacct.setA_Reval_Accumdep_Offset_Cur(assetgrpacct.getA_Reval_Accumdep_Offset_Cur()); - assetacct.setA_Reval_Accumdep_Offset_Prior(assetgrpacct.getA_Reval_Accumdep_Offset_Prior()); - assetacct.setA_Reval_Cal_Method(assetgrpacct.getA_Reval_Cal_Method()); - assetacct.setA_Reval_Cost_Offset(assetgrpacct.getA_Reval_Cost_Offset()); - assetacct.setA_Reval_Cost_Offset_Prior(assetgrpacct.getA_Reval_Cost_Offset_Prior()); - assetacct.setA_Reval_Depexp_Offset(assetgrpacct.getA_Reval_Depexp_Offset()); - assetacct.setA_Depreciation_Manual_Amount(assetgrpacct.getA_Depreciation_Manual_Amount()); - assetacct.setA_Depreciation_Manual_Period(assetgrpacct.getA_Depreciation_Manual_Period()); - assetacct.setA_Depreciation_Table_Header_ID(assetgrpacct.getA_Depreciation_Table_Header_ID()); - assetacct.setA_Depreciation_Variable_Perc(assetgrpacct.getA_Depreciation_Variable_Perc()); - assetacct.setProcessing(false); - assetacct.getAD_Client_ID(); - assetacct.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setPostingType(assetacct.getPostingType()); - change.setA_Split_Percent(assetacct.getA_Split_Percent()); - change.setConventionType(assetacct.getA_Depreciation_Conv_ID()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setDepreciationType(assetacct.getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(assetacct.getA_Asset_Spread_ID()); - change.setA_Period_Start(assetacct.getA_Period_Start()); - change.setA_Period_End(assetacct.getA_Period_End()); - change.setIsInPosession(asset.isOwned()); - change.setIsDisposed(asset.isDisposed()); - change.setIsDepreciated(asset.isDepreciated()); - change.setIsFullyDepreciated(asset.isFullyDepreciated()); - change.setA_Depreciation_Calc_Type(assetacct.getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - change.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - change.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(assetacct.getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(assetacct.getA_Reval_Accumdep_Offset_Prior()); - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(assetacct.getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(assetacct.getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(assetacct.getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(assetacct.getA_Depreciation_Manual_Amount()); - change.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(assetacct.getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(assetacct.getA_Depreciation_Variable_Perc()); - change.setA_Parent_Asset_ID(asset.getA_Parent_Asset_ID()); - change.setChangeType("CRT"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "CRT")); - change.setIsInPosession(asset.isOwned()); - change.setIsDisposed(asset.isDisposed()); - change.setIsDepreciated(asset.isDepreciated()); - change.setIsFullyDepreciated(asset.isFullyDepreciated()); - change.setLot(asset.getLot()); - change.setSerNo(asset.getSerNo()); - change.setVersionNo(asset.getVersionNo()); - change.setUseLifeMonths(asset.getUseLifeMonths()); - change.setUseLifeYears(asset.getUseLifeYears()); - change.setLifeUseUnits(asset.getLifeUseUnits()); - change.setAssetDisposalDate(asset.getAssetDisposalDate()); - change.setAssetServiceDate(asset.getAssetServiceDate()); - change.setC_BPartner_Location_ID(asset.getC_BPartner_Location_ID()); - change.setC_BPartner_ID(asset.getC_BPartner_ID()); - change.setAssetValueAmt(InvoiceLine.getLineTotalAmt()); - change.setA_QTY_Current(InvoiceLine.getQtyEntered()); - change.setA_QTY_Original(InvoiceLine.getQtyEntered()); - change.setA_Asset_CreateDate(asset.getA_Asset_CreateDate()); - change.setAD_User_ID(asset.getAD_User_ID()); - change.setC_Location_ID(asset.getC_Location_ID()); - change.saveEx(); - } - - - - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), 0, get_TrxName()); - assetwk.setA_Asset_ID(asset.getA_Asset_ID()); - assetwk.setA_Life_Period(assetgrpacct.getUseLifeMonths()); - assetwk.setA_Asset_Life_Years(assetgrpacct.getUseLifeYears()); - assetwk.setA_Asset_Cost(assetwk.getA_Asset_Cost().add(InvoiceLine.getLineTotalAmt())); - assetwk.setA_QTY_Current(InvoiceLine.getQtyEntered()); - assetwk.setIsDepreciated(assetgrpacct.isProcessing()); - assetwk.setPostingType(assetgrpacct.getPostingType()); - assetwk.setA_Accumulated_Depr(new BigDecimal (0.0)); - assetwk.setA_Period_Posted(0); - assetwk.setA_Asset_Life_Current_Year(new BigDecimal (0.0)); - assetwk.setA_Curr_Dep_Exp(new BigDecimal (0.0)); - assetwk.saveEx(); - - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt(InvoiceLine.getLineTotalAmt()); - assetadd.setA_SourceType("INV"); - assetadd.setA_CapvsExp("Cap"); - assetadd.setM_InOutLine_ID(rs.getInt("C_Invoice_ID")); - assetadd.setC_Invoice_ID(rs.getInt("C_Invoice_ID")); - assetadd.setDocumentNo(Invoice.getDocumentNo()); - assetadd.setLine(InvoiceLine.getLine()); - assetadd.setDescription(InvoiceLine.getDescription()); - assetadd.setA_QTY_Current(InvoiceLine.getQtyEntered()); - assetadd.setPostingType(assetwk.getPostingType()); - assetadd.saveEx(); - - String sql1 = "SELECT C_Period_ID " - + "FROM C_Period " - + "WHERE C_Year_ID IN " - + " (SELECT C_Year_ID FROM C_Year WHERE C_Calendar_ID =" - + " (SELECT C_Calendar_ID FROM AD_ClientInfo WHERE AD_Client_ID=?))" - + " AND ? BETWEEN StartDate AND EndDate" - + " AND PeriodType='S'"; - - try - { - PreparedStatement pstmt4 = DB.prepareStatement(sql1,get_TrxName()); - pstmt4.setInt(1, asset.getAD_Client_ID()); - pstmt4.setTimestamp(2, Invoice.getDateAcct()); - ResultSet rs4 = pstmt4.executeQuery(); - if (rs4.next()) - C_Period_ID = rs4.getInt(1); - DB.close(rs4, pstmt4); - pstmt4 = null; - } - catch (SQLException e) - { - log.log(Level.SEVERE, "Journal_Period - DateAcct", e); - return e.getLocalizedMessage(); - } - - /**Code below is for future functionality - int DocumentNo = MSequence.getNextID (Env.getAD_Client_ID(Env.getCtx()), "DocumentNo_M_InOut", get_TrxName()); - - - //Adjust Inventory Quantity - X_M_InOut mInOut = new X_M_InOut (getCtx(), 0, get_TrxName()); - mInOut.setC_BPartner_ID (Invoice.getC_BPartner_ID()); - mInOut.setC_BPartner_Location_ID (Invoice.getC_BPartner_Location_ID()); - mInOut.setC_DocType_ID (Invoice.getC_DocType_ID()); - mInOut.setDateAcct (new Timestamp(System.currentTimeMillis())); // @#Date@ - mInOut.setDeliveryRule ("A"); // A - mInOut.setDeliveryViaRule ("P"); // P - mInOut.setDocAction ("CO"); // CO - mInOut.setDocStatus ("DR"); // DR - mInOut.setDescription("Invoice transfered to assets"); - mInOut.setDocumentNo (""+DocumentNo); - mInOut.setFreightCostRule ("I"); // I - mInOut.setPriorityRule("5"); - mInOut.setIsApproved (false); - mInOut.setIsInDispute (false); - mInOut.setIsInTransit (false); - mInOut.setIsPrinted (false); - mInOut.setIsSOTrx (false); // @IsSOTrx@ - mInOut.setM_InOut_ID (0); - mInOut.setM_Warehouse_ID (0); - mInOut.setMovementDate (new Timestamp(System.currentTimeMillis())); // @#Date@ - mInOut.setMovementType ("V-"); - mInOut.setPosted (false); - mInOut.setProcessed (false); - mInOut.setSendEMail (false); - mInOut.saveEx(); - - X_M_InOutLine mInOutLine = new X_M_InOutLine (getCtx(), 0, get_TrxName()); - mInOutLine.setC_UOM_ID (InvoiceLine.getC_UOM_ID()); // @#C_UOM_ID@ - mInOutLine.setIsDescription (false); // N - mInOutLine.setIsInvoiced (false); - mInOutLine.setLine (10); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@ - mInOutLine.setM_AttributeSetInstance_ID (InvoiceLine.getM_AttributeSetInstance_ID()); - mInOutLine.setM_InOut_ID (mInOut.getM_InOut_ID()); - mInOutLine.setM_Locator_ID (0); // @M_Locator_ID@ - mInOutLine.setM_Product_ID (InvoiceLine.getM_Product_ID()); - mInOutLine.setMovementQty (InvoiceLine.getQtyInvoiced()); // 1 - mInOutLine.setProcessed (false); - mInOutLine.setQtyEntered (Env.ZERO); // 1 - **/ - - //Determine non tax accounts to credit - invoiceAcct = determineAcct (assetacct.getC_AcctSchema_ID(), InvoiceLine.getM_Product_ID(), InvoiceLine.getC_Charge_ID(), InvoiceLine.getLineNetAmt()); - - //Create Journal Entries for the new asset - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp2.setPostingType(assetacct.getPostingType()); - depexp2.setA_Asset_ID(asset.getA_Asset_ID()); - depexp2.setExpense(InvoiceLine.getLineTotalAmt()); - depexp2.setDateAcct(Invoice.getDateAcct()); - depexp2.setA_Account_Number(assetacct.getA_Asset_Acct()); - depexp2.setDescription("Create Asset from Invoice"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(C_Period_ID); - depexp2.setA_Entry_Type("NEW"); - depexp2.saveEx(); - recordInsertedCount++; - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp3.setPostingType(assetacct.getPostingType()); - depexp3.setA_Asset_ID(asset.getA_Asset_ID()); - depexp3.setExpense(InvoiceLine.getLineNetAmt().multiply(new BigDecimal (-1))); - depexp3.setDateAcct(Invoice.getDateAcct()); - depexp3.setA_Account_Number(invoiceAcct); - depexp3.setDescription("Create Asset from Invoice"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(C_Period_ID); - depexp3.setA_Entry_Type("NEW"); - depexp3.saveEx(); - recordInsertedCount++; - - //Determine if tax adjustment is necessary - if (InvoiceLine.getTaxAmt().compareTo(new BigDecimal (0))!=0){ - - invoiceAcct = determineTaxAcct (assetacct.getC_AcctSchema_ID(), InvoiceLine.getC_Tax_ID()); - - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp4.setPostingType(assetacct.getPostingType()); - depexp4.setA_Asset_ID(asset.getA_Asset_ID()); - depexp4.setExpense(InvoiceLine.getTaxAmt().multiply(new BigDecimal (-1))); - depexp4.setDateAcct(Invoice.getDateAcct()); - depexp4.setA_Account_Number(invoiceAcct); - depexp4.setDescription("Create Asset from Invoice"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(C_Period_ID); - depexp4.setA_Entry_Type("NEW"); - depexp4.saveEx(); - recordInsertedCount++; - - } - } - else - { - sql2 ="SELECT * FROM A_Depreciation_Workfile WHERE A_Asset_ID = ? and PostingType = ?"; - PreparedStatement pstmt2 = null; - pstmt2 = DB.prepareStatement(sql2,get_TrxName()); - ResultSet rs3 = null; - try { - pstmt2.setInt(1, asset.getA_Asset_ID()); - pstmt2.setString(2, assetgrpacct.getPostingType()); - rs3 = pstmt2.executeQuery(); - while (rs3.next()){ - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs3, get_TrxName()); - assetwk.setA_Asset_ID(asset.getA_Asset_ID()); - assetwk.setA_Life_Period(assetgrpacct.getUseLifeMonths()); - assetwk.setA_Asset_Life_Years(assetgrpacct.getUseLifeYears()); - assetwk.setA_Asset_Cost(assetwk.getA_Asset_Cost().add(InvoiceLine.getLineTotalAmt())); - assetwk.setIsDepreciated(assetgrpacct.isProcessing()); - assetwk.setA_QTY_Current(InvoiceLine.getQtyEntered()); - assetwk.saveEx(); - - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt(InvoiceLine.getLineTotalAmt()); - assetadd.setA_SourceType("INV"); - assetadd.setA_CapvsExp("Cap"); - assetadd.setM_InOutLine_ID(rs.getInt("C_Invoice_ID")); - assetadd.setC_Invoice_ID(rs.getInt("C_Invoice_ID")); - assetadd.setDocumentNo(Invoice.getDocumentNo()); - assetadd.setLine(InvoiceLine.getLine()); - assetadd.setDescription(InvoiceLine.getDescription()); - assetadd.setA_QTY_Current(InvoiceLine.getQtyEntered()); - assetadd.setPostingType(assetwk.getPostingType()); - assetadd.saveEx(); - - - asset.setA_QTY_Original(assetadd.getA_QTY_Current().add(asset.getA_QTY_Original())); - asset.setA_QTY_Current(assetadd.getA_QTY_Current().add(asset.getA_QTY_Current())); - asset.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.setChangeType("ADD"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "ADD")); - change.setPostingType(assetwk.getPostingType()); - change.setAssetValueAmt(assetadd.getAssetValueAmt()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.saveEx(); - - - - - //Determine non tax accounts to credit - invoiceAcct = determineAcct (assetacct.getC_AcctSchema_ID(), InvoiceLine.getM_Product_ID(), InvoiceLine.getC_Charge_ID(), InvoiceLine.getLineNetAmt()); - - //Create Journal Entries for the new asset - X_A_Depreciation_Exp depexp2 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp2.setPostingType(assetacct.getPostingType()); - depexp2.setA_Asset_ID(asset.getA_Asset_ID()); - depexp2.setExpense(InvoiceLine.getLineTotalAmt()); - depexp2.setDateAcct(Invoice.getDateAcct()); - depexp2.setA_Account_Number(assetacct.getA_Asset_Acct()); - depexp2.setDescription("Create Asset from Invoice"); - depexp2.setIsDepreciated(false); - depexp2.setA_Period(C_Period_ID); - depexp2.setA_Entry_Type("NEW"); - depexp2.saveEx(); - recordInsertedCount++; - - X_A_Depreciation_Exp depexp3 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp3.setPostingType(assetacct.getPostingType()); - depexp3.setA_Asset_ID(asset.getA_Asset_ID()); - depexp3.setExpense(InvoiceLine.getLineNetAmt().multiply(new BigDecimal (-1))); - depexp3.setDateAcct(Invoice.getDateAcct()); - depexp3.setA_Account_Number(invoiceAcct); - depexp3.setDescription("Create Asset from Invoice"); - depexp3.setIsDepreciated(false); - depexp3.setA_Period(C_Period_ID); - depexp3.setA_Entry_Type("NEW"); - depexp3.saveEx(); - recordInsertedCount++; - - //Determine if tax adjustment is necessary - if (InvoiceLine.getTaxAmt().compareTo(new BigDecimal (0))!=0){ - - invoiceAcct = determineTaxAcct (assetacct.getC_AcctSchema_ID(), InvoiceLine.getC_Tax_ID()); - - X_A_Depreciation_Exp depexp4 = new X_A_Depreciation_Exp (getCtx(), 0, get_TrxName()); - depexp4.setPostingType(assetacct.getPostingType()); - depexp4.setA_Asset_ID(asset.getA_Asset_ID()); - depexp4.setExpense(InvoiceLine.getTaxAmt().multiply(new BigDecimal (-1))); - depexp4.setDateAcct(Invoice.getDateAcct()); - depexp4.setA_Account_Number(invoiceAcct); - depexp4.setDescription("Create Asset from Invoice"); - depexp4.setIsDepreciated(false); - depexp4.setA_Period(C_Period_ID); - depexp4.setA_Entry_Type("NEW"); - depexp4.saveEx(); - recordInsertedCount++; - } - - } - } - catch (Exception e) - { - log.info("getAssets "+ e); - } - finally - { - DB.close(rs3, pstmt2); - pstmt2 = null; - } - } - } - - } - DB.close(rs2, pstmt1); - pstmt1 = null; - } - else if (rs.getString("A_CapvsExp").equals("Exp")) - { - X_A_Asset_Addition assetadd = new X_A_Asset_Addition (getCtx(), 0, get_TrxName()); - assetadd.setA_Asset_ID(asset.getA_Asset_ID()); - assetadd.setAssetValueAmt(InvoiceLine.getLineTotalAmt()); - assetadd.setA_SourceType("INV"); - assetadd.setA_CapvsExp("Exp"); - assetadd.setM_InOutLine_ID(rs.getInt("C_Invoice_ID")); - assetadd.setC_Invoice_ID(rs.getInt("C_Invoice_ID")); - assetadd.setDocumentNo(Invoice.getDocumentNo()); - assetadd.setLine(InvoiceLine.getLine()); - assetadd.setDescription(InvoiceLine.getDescription()); - assetadd.setA_QTY_Current(InvoiceLine.getQtyEntered()); - assetadd.setPostingType("A"); - assetadd.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setA_Asset_ID(asset.getA_Asset_ID()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.setChangeType("EXP"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "EXP")); - assetadd.setPostingType("A"); - change.setAssetValueAmt(assetadd.getAssetValueAmt()); - change.setA_QTY_Current(assetadd.getA_QTY_Current()); - change.saveEx(); - } - InvoiceLine.set_ValueOfColumn(I_CustomColumn.A_Processed, Boolean.TRUE); - InvoiceLine.saveEx(); - } - - } - catch (Exception e) - { - log.info("getAssets "+ e); - } - finally - { - DB.close(rs, pstmt); - pstmt = null; - } - - if (recordInsertedCount > 0) - { - return recordInsertedCount + " record(s) inserted."; - } - else - { - return "Zero record inserted."; - } - } // doIt - - /** - * Get non tax posting accounts for invoice. - * - * - */ - private int determineAcct (int C_AcctSchema_ID, int M_Product_ID, int C_Charge_ID, BigDecimal lineAmt) - { - int invoiceAcct =0; - if (M_Product_ID == 0 && C_Charge_ID != 0) - { - String sqlb = "SELECT CH_Expense_Acct FROM C_Charge_Acct WHERE C_Charge_ID=? and C_AcctSchema_ID=?"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,C_Charge_ID,C_AcctSchema_ID); - } - - else if(M_Product_ID != 0){ - if(lineAmt.signum() > 0){ - String sqlb = "SELECT P_Expense_Acct FROM M_Product_Acct WHERE M_Product_ID=? and C_AcctSchema_ID=?"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,M_Product_ID,C_AcctSchema_ID); - } - else{ - String sqlb = "SELECT P_Revenue_Acct FROM M_Product_Acct WHERE M_Product_ID=? and C_AcctSchema_ID=?"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,M_Product_ID,C_AcctSchema_ID); - } - } - else{ - if(lineAmt.signum() > 0){ - String sqlb = "SELECT P_Expense_Acct " - + "FROM M_Product_Category pc, M_Product_Category_Acct pca " - + "WHERE pc.M_Product_Category_ID=pca.M_Product_Category_ID" - + " AND pca.C_AcctSchema_ID=? " - + "ORDER BY pc.IsDefault DESC, pc.Created"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,C_AcctSchema_ID); - } - else{ - String sqlb = "SELECT P_Revenue_Acct " - + "FROM M_Product_Category pc, M_Product_Category_Acct pca " - + "WHERE pc.M_Product_Category_ID=pca.M_Product_Category_ID" - + " AND pca.C_AcctSchema_ID=? " - + "ORDER BY pc.IsDefault DESC, pc.Created"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,C_AcctSchema_ID); - } - - } - return invoiceAcct; - } - - /** - * Get tax posting accounts for invoice. - * - * - */ - private int determineTaxAcct (int C_AcctSchema_ID, int C_Tax_ID) - { - int invoiceAcct =0; - - String sqlb = "SELECT T_Expense_Acct FROM C_Tax_Acct WHERE C_AcctSchema_ID=? and C_Tax_ID=?"; - invoiceAcct = DB.getSQLValue(get_TrxName(),sqlb,C_AcctSchema_ID,C_Tax_ID); - - return invoiceAcct; - } - -} // InvoiceCreateInOut diff --git a/org.adempiere.base/src/org/compiere/FA/Depreciation.java b/org.adempiere.base/src/org/compiere/FA/Depreciation.java deleted file mode 100644 index 94b0da2c3d..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/Depreciation.java +++ /dev/null @@ -1,918 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert Klein. robeklein@hotmail.com - * _____________________________________________ - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.Calendar; -import java.util.GregorianCalendar; - -import org.compiere.util.DB; -/** - * Fixed Asset Depreciation - * - * @author Rob Klein - * @version $Id: Conventions.java,v 1.0 $ - * - */ -public class Depreciation { - - /** - * - * - */ - static public BigDecimal Dep_Type(String Type,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal A_Period_Exp = new BigDecimal(0.0); - if(Type.compareTo("DB150")==0){ - A_Period_Exp = DB150( 0, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("DB150 Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("DB1SL")==0){ - A_Period_Exp = DB150( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("DB1SL Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("DB200")==0){ - A_Period_Exp = DB200( 0, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("DB200 Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("DB2SL")==0){ - A_Period_Exp = DB200( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("DB2SL Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("VAR")==0){ - A_Period_Exp = DBVAR( 0, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("VAR Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("VARSL")==0){ - A_Period_Exp = DBVAR( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("VARSL Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("MAN")==0){ - A_Period_Exp = MAN( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("MAN Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("SL")==0){ - A_Period_Exp = SL( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("SL Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("SYD")==0){ - A_Period_Exp = SYD( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("SYD Main: "+A_Period_Exp); - return A_Period_Exp; - } - else if(Type.compareTo("TAB")==0){ - A_Period_Exp = TAB( 1, p_A_ASSET_ID, p_A_CURRENT_PERIOD, p_POSTINGTYPE, p_A_ASSET_ACCT_ID, p_Accum_Dep); - //System.out.println("TAB Main: "+A_Period_Exp); - return A_Period_Exp; - } - else - return new BigDecimal(0.0); - - } - - - static public BigDecimal DB150(int p_SL, int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal v_DB = new BigDecimal(0.0); - BigDecimal v_Accum_Dep = new BigDecimal(0.0); - BigDecimal v_SL = new BigDecimal(0.0); - BigDecimal A_Period_Exp = new BigDecimal(0.0); - int v_counter = 0; - double v_months = 0; - int v_firstyr = 0; - double v_monthadj = 0; - BigDecimal v_adj = new BigDecimal(0.0); - BigDecimal v_Base_Amount = new BigDecimal(0.0); - BigDecimal v_Salvage_Amount = new BigDecimal(0.0); - double v_Life_Periods = 0; - double v_Life_Years = 0; - String v_con_type = null; - - StringBuffer sqlB = new StringBuffer ("SELECT A.A_ASSET_COST, A.A_SALVAGE_VALUE, A.A_LIFE_PERIOD, A.A_ASSET_LIFE_YEARS, A.DATEACCT," - + " D.ASSETSERVICEDATE, C.CONVENTIONTYPE " - + " FROM A_DEPRECIATION_WORKFILE A, A_ASSET_ACCT B,A_ASSET D,A_DEPRECIATION_CONVENTION C " - + " WHERE A.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_PERIOD_POSTED+1 >= A_PERIOD_START AND A_PERIOD_POSTED+1 <= A_PERIOD_END " - + " AND A.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID - + " AND D.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_DEPRECIATION_CONV_ID = C.A_DEPRECIATION_CONVENTION_ID"); - //System.out.println("DB150: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - - v_Base_Amount = rs.getBigDecimal("A_ASSET_COST"); - v_Salvage_Amount = rs.getBigDecimal("A_SALVAGE_VALUE"); - v_Life_Periods = rs.getDouble("A_LIFE_PERIOD"); - v_Life_Years = rs.getDouble("A_ASSET_LIFE_YEARS"); - v_con_type = rs.getString("CONVENTIONTYPE"); - - double v_period = DateAcctYear - AssetServiceDateYear; - while (v_counter <= v_period){ - if(v_firstyr == 0){ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(1.5/v_Life_Years)); - v_months = 12 - AssetServiceDateMonth +1; - if (v_con_type.compareTo("HYCON") ==0){ - v_adj = new BigDecimal(Conventions.HYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 6-v_months; - } - else if (v_con_type.compareTo("FYCON") ==0){ - v_adj = new BigDecimal(Conventions.FYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,0,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 12-v_months; - } - else if (v_con_type.compareTo("DYCON") ==0){ - v_adj = new BigDecimal(Conventions.DYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MQCON") ==0){ - v_adj = new BigDecimal(Conventions.MQCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(v_months),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("FMCON") ==0){ - v_adj = new BigDecimal(Conventions.FMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(new BigDecimal(v_months))); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MMCON") ==0){ - - v_Accum_Dep = v_Accum_Dep.add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(.5)).add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(v_months-1)); - v_adj = new BigDecimal(Conventions.MMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateMonth+1)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(v_adj); - v_monthadj = 0; - } - v_firstyr = 1; - } - else{ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(1.5/v_Life_Years)); - v_Accum_Dep = v_Accum_Dep.add(v_DB); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - } - v_counter = v_counter+1; - } - A_Period_Exp = v_DB; - - if (p_SL ==1 ){ - if (v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)>0 ) - v_SL = ((v_Base_Amount.subtract(v_Salvage_Amount).subtract(p_Accum_Dep)).divide(new BigDecimal(v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)),2, BigDecimal.ROUND_HALF_UP)); - - if (A_Period_Exp.compareTo(v_SL)==-1) - A_Period_Exp = v_SL; - - if (v_Base_Amount.subtract(p_Accum_Dep).subtract(A_Period_Exp).compareTo(v_Salvage_Amount)==-1 ) - A_Period_Exp =v_Base_Amount.subtract(p_Accum_Dep).subtract(v_Salvage_Amount); - } - - } - //System.out.println("DB150: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("DB150: "+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - return A_Period_Exp; - } - - static public BigDecimal DB200(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal v_DB = new BigDecimal(0.0); - BigDecimal v_Accum_Dep = new BigDecimal(0.0); - BigDecimal v_SL = new BigDecimal(0.0); - BigDecimal A_Period_Exp = new BigDecimal(0.0); - int v_counter = 0; - double v_months = 0; - int v_firstyr = 0; - double v_monthadj = 0; - BigDecimal v_adj = new BigDecimal(0.0); - BigDecimal v_Base_Amount = new BigDecimal(0.0); - BigDecimal v_Salvage_Amount = new BigDecimal(0.0); - double v_Life_Periods = 0; - double v_Life_Years = 0; - String v_con_type = null; - - StringBuffer sqlB = new StringBuffer ("SELECT A.A_ASSET_COST, A.A_SALVAGE_VALUE, A.A_LIFE_PERIOD, A.A_ASSET_LIFE_YEARS, A.DATEACCT," - + " D.ASSETSERVICEDATE, C.CONVENTIONTYPE " - + " FROM A_DEPRECIATION_WORKFILE A, A_ASSET_ACCT B,A_ASSET D,A_DEPRECIATION_CONVENTION C " - + " WHERE A.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_PERIOD_POSTED+1 >= A_PERIOD_START AND A_PERIOD_POSTED+1 <= A_PERIOD_END " - + " AND A.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID - + " AND D.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_DEPRECIATION_CONV_ID = C.A_DEPRECIATION_CONVENTION_ID"); - //System.out.println("DB200: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - v_counter = 0; - v_months = 0; - v_firstyr = 0; - v_monthadj = 0; - v_adj = new BigDecimal(0.0); - v_Base_Amount = rs.getBigDecimal("A_ASSET_COST"); - v_Salvage_Amount = rs.getBigDecimal("A_SALVAGE_VALUE"); - v_Life_Periods = rs.getDouble("A_LIFE_PERIOD"); - v_Life_Years = rs.getDouble("A_ASSET_LIFE_YEARS"); - v_con_type = rs.getString("CONVENTIONTYPE"); - - double v_period = DateAcctYear - AssetServiceDateYear; - while (v_counter <= v_period){ - if(v_firstyr == 0){ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(2/v_Life_Years)); - v_months = 12 - AssetServiceDateMonth +1; - if (v_con_type.compareTo("HYCON") ==0){ - v_adj = new BigDecimal(Conventions.HYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 6-v_months; - } - else if (v_con_type.compareTo("FYCON") ==0){ - - v_adj = new BigDecimal(Conventions.FYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,0,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 12-v_months; - } - else if (v_con_type.compareTo("DYCON") ==0){ - v_adj = new BigDecimal(Conventions.DYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MQCON") ==0){ - v_adj = new BigDecimal(Conventions.MQCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(v_months),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("FMCON") ==0){ - v_adj = new BigDecimal(Conventions.FMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(new BigDecimal(v_months))); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MMCON") ==0){ - - v_Accum_Dep = v_Accum_Dep.add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(.5)).add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(v_months-1)); - v_adj = new BigDecimal(Conventions.MMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateMonth+1)); - v_DB = (v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(v_adj); - v_monthadj = 0; - } - v_firstyr = 1; - } - else{ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(2/v_Life_Years)); - v_Accum_Dep = v_Accum_Dep.add(v_DB); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - } - v_counter = v_counter+1; - } - A_Period_Exp = v_DB; - if (p_SL ==1 ){ - if (v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)>0 ) - v_SL = ((v_Base_Amount.subtract(v_Salvage_Amount).subtract(p_Accum_Dep)).divide(new BigDecimal(v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)),2, BigDecimal.ROUND_HALF_UP)); - - if (A_Period_Exp.compareTo(v_SL)==-1) - A_Period_Exp = v_SL; - - if (v_Base_Amount.subtract(p_Accum_Dep).subtract(A_Period_Exp).compareTo(v_Salvage_Amount)==-1 ) - A_Period_Exp =v_Base_Amount.subtract(p_Accum_Dep).subtract(v_Salvage_Amount); - } - } - //System.out.println("DB200: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("DB200: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - - static public BigDecimal DBVAR(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal v_DB = new BigDecimal(0.0); - BigDecimal v_Accum_Dep = new BigDecimal(0.0); - BigDecimal v_SL = new BigDecimal(0.0); - BigDecimal A_Period_Exp = new BigDecimal(0.0); - double v_Var = 0.0; - int v_counter = 0; - double v_months = 0; - int v_firstyr = 0; - double v_monthadj = 0; - BigDecimal v_adj = new BigDecimal(0.0); - BigDecimal v_Base_Amount = new BigDecimal(0.0); - BigDecimal v_Salvage_Amount = new BigDecimal(0.0); - double v_Life_Periods = 0; - double v_Life_Years = 0; - String v_con_type = null; - - StringBuffer sqlB = new StringBuffer ("SELECT A.A_ASSET_COST, A.A_SALVAGE_VALUE, A.A_LIFE_PERIOD, A.A_ASSET_LIFE_YEARS, A.DATEACCT," - + " D.ASSETSERVICEDATE, C.CONVENTIONTYPE, A_DEPRECIATION_VARIABLE_PERC " - + " FROM A_DEPRECIATION_WORKFILE A, A_ASSET_ACCT B,A_ASSET D,A_DEPRECIATION_CONVENTION C " - + " WHERE A.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_PERIOD_POSTED+1 >= A_PERIOD_START AND A_PERIOD_POSTED+1 <= A_PERIOD_END " - + " AND A.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.POSTINGTYPE = '" + p_POSTINGTYPE - + "' AND B.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID - + " AND D.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_DEPRECIATION_CONV_ID = C.A_DEPRECIATION_CONVENTION_ID"); - //System.out.println("DBVAR: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - v_counter = 0; - v_months = 0; - v_firstyr = 0; - v_monthadj = 0; - v_Var=rs.getDouble("A_DEPRECIATION_VARIABLE_PERC"); - v_adj = new BigDecimal(0.0); - v_Base_Amount = rs.getBigDecimal("A_ASSET_COST"); - v_Salvage_Amount = rs.getBigDecimal("A_SALVAGE_VALUE"); - v_Life_Periods = rs.getDouble("A_LIFE_PERIOD"); - v_Life_Years = rs.getDouble("A_ASSET_LIFE_YEARS"); - v_con_type = rs.getString("CONVENTIONTYPE"); - Calendar calendar = new GregorianCalendar(); - calendar.setTime(rs.getDate("ASSETSERVICEDATE")); - int AssetServiceDateYear = calendar.get(Calendar.YEAR); - int AssetServiceDateMonth = calendar.get(Calendar.MONTH); - calendar.setTime(rs.getDate("DATEACCT")); - int DateAcctYear = calendar.get(Calendar.YEAR); - - double v_period = DateAcctYear - AssetServiceDateYear; - while (v_counter <= v_period){ - if(v_firstyr == 0){ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(v_Var/v_Life_Years)); - v_months = 12 - AssetServiceDateMonth +1; - if (v_con_type.compareTo("HYCON") ==0){ - v_adj = new BigDecimal(Conventions.HYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 6-v_months; - } - else if (v_con_type.compareTo("FYCON") ==0){ - v_adj = new BigDecimal(Conventions.FYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,0,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj).multiply(new BigDecimal(v_months))); - v_monthadj = 12-v_months; - } - else if (v_con_type.compareTo("DYCON") ==0){ - v_adj = new BigDecimal(Conventions.DYCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MQCON") ==0){ - v_adj = new BigDecimal(Conventions.MQCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(v_adj)); - v_DB =(v_DB.divide(new BigDecimal(v_months),2, BigDecimal.ROUND_HALF_UP)); - v_monthadj = 0; - } - else if (v_con_type.compareTo("FMCON") ==0){ - v_adj = new BigDecimal(Conventions.FMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateYear)); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - v_Accum_Dep = v_Accum_Dep.add(v_DB.multiply(new BigDecimal(v_months))); - v_monthadj = 0; - } - else if (v_con_type.compareTo("MMCON") ==0){ - - v_Accum_Dep = v_Accum_Dep.add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(.5)).add(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)).multiply(new BigDecimal(v_months-1)); - v_adj = new BigDecimal(Conventions.MMCON(p_A_ASSET_ID,p_POSTINGTYPE,p_A_ASSET_ACCT_ID,2,AssetServiceDateMonth+1)); - v_DB = (v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP).multiply(v_adj)); - v_monthadj = 0; - } - v_firstyr = 1; - } - else{ - v_DB = (v_Base_Amount.subtract(v_Accum_Dep).subtract(v_Salvage_Amount)).multiply(new BigDecimal(v_Var/v_Life_Years)); - v_Accum_Dep = v_Accum_Dep.add(v_DB); - v_DB =(v_DB.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP)); - } - v_counter = v_counter+1; - } - A_Period_Exp = v_DB; - if (p_SL ==1 ){ - if (v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)>0 ) - v_SL = ((v_Base_Amount.subtract(v_Salvage_Amount).subtract(p_Accum_Dep)).divide(new BigDecimal(v_Life_Periods-(p_A_CURRENT_PERIOD+v_monthadj)),2, BigDecimal.ROUND_HALF_UP)); - - if (A_Period_Exp.compareTo(v_SL)==-1) - A_Period_Exp = v_SL; - - if (v_Base_Amount.subtract(p_Accum_Dep).subtract(A_Period_Exp).compareTo(v_Salvage_Amount)==-1 ) - A_Period_Exp =v_Base_Amount.subtract(p_Accum_Dep).subtract(v_Salvage_Amount); - } - } - //System.out.println("DBVAR: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("DBVAR: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - - static public BigDecimal MAN(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - int v_Dep_Mon = 0; - BigDecimal v_Dep_Sprd = new BigDecimal(0.0); - BigDecimal A_Period_Exp = new BigDecimal(0.0); - - StringBuffer sqlB = new StringBuffer ("SELECT B.A_ASSET_COST, B.A_SALVAGE_VALUE, B.A_LIFE_PERIOD, " - + " A_ASSET_LIFE_YEARS, A_ASSET_LIFE_CURRENT_YEAR,A_ACCUMULATED_DEPR, A_DEPRECIATION_MANUAL_AMOUNT, " - + " A_ASSET_SPREAD_ID, A_DEPRECIATION_MANUAL_PERIOD, A.AD_Client_ID " - + " FROM A_DEPRECIATION_WORKFILE B, A_ASSET_ACCT A " - + " WHERE B.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID); - //System.out.println("MAN: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - if (rs.getString("A_DEPRECIATION_MANUAL_PERIOD").compareTo("PR")==0) - A_Period_Exp = rs.getBigDecimal("A_DEPRECIATION_MANUAL_AMOUNT"); - else if (rs.getString("A_DEPRECIATION_MANUAL_PERIOD").compareTo("YR")==0){ - if (p_A_CURRENT_PERIOD == -1){ - //System.out.println("MAN YR - A_CURRENT_PERIOD = -1 "); - StringBuffer sql3 = new StringBuffer("SELECT PeriodNo" - + " FROM C_Period WHERE C_Period_ID = 183 " - + " AND AD_Client_ID = ? "); - v_Dep_Mon = DB.getSQLValue(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else{ - //System.out.println("MAN YR - A_CURRENT_PERIOD = " + p_A_CURRENT_PERIOD); - v_Dep_Mon = (int)p_A_CURRENT_PERIOD - (int)(Math.ceil((double)p_A_CURRENT_PERIOD/12)*12-12) ; - } - //System.out.println("MAN v_Dep_Mon: "+v_Dep_Mon); - if (v_Dep_Mon==1){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_1" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==2){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_2" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==3){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_3" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==4){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_4" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==5){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_5" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==6){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_6" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==7){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_7" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==8){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_8" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==9){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_9" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==10){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_10" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==11) - { - StringBuffer sql3 = new StringBuffer("SELECT A_Period_11" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==12){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_12" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else if (v_Dep_Mon==13){ - StringBuffer sql3 = new StringBuffer("SELECT A_Period_13" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - else - { - StringBuffer sql3 = new StringBuffer("SELECT A_Period_14" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("A_ASSET_SPREAD_ID")); - //System.out.println("MAN YR - SpreadAmnt = " + sql3.toString()); - } - //System.out.println("MAN v_Dep_Sprd: "+v_Dep_Sprd); - A_Period_Exp = rs.getBigDecimal("A_DEPRECIATION_MANUAL_AMOUNT").multiply(v_Dep_Sprd); - } - - } - //System.out.println("MAN: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("MAN: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - static public BigDecimal SL(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal A_Period_Exp = new BigDecimal(0.0); - StringBuffer sqlB = new StringBuffer ("SELECT A_DEPRECIATION_WORKFILE.A_ASSET_COST, " - + " A_DEPRECIATION_WORKFILE.A_SALVAGE_VALUE, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET_ACCT" - + " WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_ASSET_ACCT.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID); - - //System.out.println("SL: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - A_Period_Exp = ((rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE"))).divide( rs.getBigDecimal("A_LIFE_PERIOD"),2, BigDecimal.ROUND_HALF_UP)); - } - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("SL: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - - static public BigDecimal UOP(int p_SL,int p_A_ASSET_ID, int p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal A_Period_Exp = new BigDecimal(0.0); - StringBuffer sqlB = new StringBuffer ("SELECT A_DEPRECIATION_WORKFILE.A_ASSET_COST, " - + " A_DEPRECIATION_WORKFILE.A_SALVAGE_VALUE, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD" - + " A_ASSET.LIFEUSEUNITS, A_ASSET.USEUNITS, A_DEPRECIATION_WORKFILE.A_ACCUMULATED_DEPR" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET_ACCT" - + " WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_ASSET_ACCT.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID); - //System.out.println("UOP: "+sqlB.toString()); - PreparedStatement pstmt = null; - ResultSet rs = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - A_Period_Exp = (rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE")) - .multiply(new BigDecimal(rs.getDouble("USEUNITS")/rs.getDouble("LIFEUSEUNITS"))) - .subtract(rs.getBigDecimal("A_ACCUMULATED_DEPR"))); - } - //System.out.println("UOP: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("UOP: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - static public BigDecimal SYD(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal A_Period_Exp = new BigDecimal(0.0); - StringBuffer sqlB = new StringBuffer ("SELECT A_DEPRECIATION_WORKFILE.A_ASSET_COST, " - + " A_DEPRECIATION_WORKFILE.A_SALVAGE_VALUE, A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD, " - + " A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_CURRENT_YEAR, A_DEPRECIATION_WORKFILE.A_ASSET_LIFE_YEARS, " - + " A_ASSET.ASSETSERVICEDATE, A_DEPRECIATION_BUILD.DATEACCT" - + " FROM A_DEPRECIATION_WORKFILE, A_ASSET_ACCT, A_ASSET, A_DEPRECIATION_BUILD" - + " WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_ASSET_ACCT.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_ASSET.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_PERIOD_POSTED+1 >= A_PERIOD_START AND A_PERIOD_POSTED+1 <= A_PERIOD_END " - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND A_ASSET_ACCT.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID); - - //System.out.println("SYD: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - int v_life_current_year = (int)(p_A_CURRENT_PERIOD/(12))+1; - - - A_Period_Exp = ((rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE"))) - .multiply(new BigDecimal(2*(rs.getInt("A_ASSET_LIFE_YEARS")-v_life_current_year+1))) - .divide(new BigDecimal(rs.getInt("A_ASSET_LIFE_YEARS")*(rs.getInt("A_ASSET_LIFE_YEARS")+1)),2, BigDecimal.ROUND_HALF_UP)); - A_Period_Exp = A_Period_Exp.divide(new BigDecimal(12.0),2, BigDecimal.ROUND_HALF_UP); - - } - //System.out.println("SYD: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("SYD: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return A_Period_Exp; - } - - static public BigDecimal TAB(int p_SL,int p_A_ASSET_ID, double p_A_CURRENT_PERIOD, String p_POSTINGTYPE, - int p_A_ASSET_ACCT_ID, BigDecimal p_Accum_Dep) - { - BigDecimal A_Period_Exp = new BigDecimal(0.0); - BigDecimal v_Dep_Rate = new BigDecimal(0.0); - BigDecimal v_Dep_Sprd = new BigDecimal(0.0); - int v_Dep_Mon = 0; - int v_Dep_Per = 0; - StringBuffer sqlB = new StringBuffer ("SELECT A.A_ASSET_COST, A.A_SALVAGE_VALUE, A.A_LIFE_PERIOD," - + " B.A_DEPRECIATION_TABLE_HEADER_ID, A.AD_Client_ID, C.A_TERM, C.A_Depreciation_Table_Code " - + " FROM A_DEPRECIATION_WORKFILE A, A_ASSET_ACCT B, A_Depreciation_Table_Header C" - + " WHERE A.A_ASSET_ID = " + p_A_ASSET_ID - + " AND B.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND B.POSTINGTYPE = '"+p_POSTINGTYPE - + "' AND B.A_ASSET_ACCT_ID = " + p_A_ASSET_ACCT_ID - + "' AND C.A_DEPRECIATION_TABLE_HEADER_ID = A_DEPRECIATION_TABLE_HEADER_ID"); - - //System.out.println("TAB: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - ResultSet rs = null; - try { - rs = pstmt.executeQuery(); - while (rs.next()){ - - - if (rs.getString("A_TERM").compareTo("PR")==0){ - StringBuffer sql3 = new StringBuffer("SELECT A_Depreciation_Rate" - + " FROM A_Depreciation_Table_Detail WHERE A_DEPRECIATION_TABLE_CODE = " + rs.getString("A_Depreciation_Table_Code") - + " AND A_Period = ? "); - v_Dep_Rate = DB.getSQLValueBD(null, sql3.toString(), (int)p_A_CURRENT_PERIOD); - A_Period_Exp = (rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE")).multiply(v_Dep_Rate)); - } - else if (rs.getString("A_TERM").compareTo("YR")==0){ - StringBuffer sql3 = new StringBuffer("SELECT A_Depreciation_Rate" - + " FROM A_Depreciation_Table_Detail WHERE A_DEPRECIATION_TABLE_CODE = " + rs.getString("A_Depreciation_Table_Code") - + " AND A_Period = ? "); - v_Dep_Rate = DB.getSQLValueBD(null, sql3.toString(), (int)(Math.ceil((double)p_A_CURRENT_PERIOD+1)/12)); - - sql3 = new StringBuffer("SELECT C_Period_ID" - + " FROM A_Depreciation_Build "); - v_Dep_Per = DB.getSQLValue(null, sql3.toString()); - - if (p_A_CURRENT_PERIOD == -1){ - sql3 = new StringBuffer("SELECT PeriodNo" - + " FROM C_Period WHERE C_Period_ID = " + v_Dep_Per - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else - - v_Dep_Mon = (int)p_A_CURRENT_PERIOD - (int)(Math.ceil((double)p_A_CURRENT_PERIOD)/12*12-12) ; - - if (v_Dep_Mon==1){ - sql3 = new StringBuffer("SELECT A_Period_1" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==2){ - sql3 = new StringBuffer("SELECT A_Period_2" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==3){ - sql3 = new StringBuffer("SELECT A_Period_3" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==4){ - sql3 = new StringBuffer("SELECT A_Period_4" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==5){ - sql3 = new StringBuffer("SELECT A_Period_5" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==6){ - sql3 = new StringBuffer("SELECT A_Period_6" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==7){ - sql3 = new StringBuffer("SELECT A_Period_7" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==8){ - sql3 = new StringBuffer("SELECT A_Period_8" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==9){ - sql3 = new StringBuffer("SELECT A_Period_9" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==10){ - sql3 = new StringBuffer("SELECT A_Period_10" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==11){ - sql3 = new StringBuffer("SELECT A_Period_11" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==12){ - sql3 = new StringBuffer("SELECT A_Period_12" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else if (v_Dep_Mon==13){ - sql3 = new StringBuffer("SELECT A_Period_13" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - else{ - sql3 = new StringBuffer("SELECT A_Period_14" - + " FROM A_Asset_Spread WHERE A_Asset_Spread_ID = " + rs.getString("A_Depreciation_Table_Code") - + " AND AD_Client_ID = ? "); - v_Dep_Sprd = DB.getSQLValueBD(null, sql3.toString(), rs.getInt("AD_Client_ID")); - } - - A_Period_Exp = (rs.getBigDecimal("A_ASSET_COST").subtract(rs.getBigDecimal("A_SALVAGE_VALUE")).multiply(v_Dep_Rate).multiply(v_Dep_Sprd)); - } - - } - //System.out.println("TAB: "+A_Period_Exp); - return A_Period_Exp; - } - catch (Exception e) - { - System.out.println("TAB: "+e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - - } - return A_Period_Exp; - } - - }// Depreciation diff --git a/org.adempiere.base/src/org/compiere/FA/DepreciationAdj.java b/org.adempiere.base/src/org/compiere/FA/DepreciationAdj.java deleted file mode 100644 index 6c5a317bc8..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/DepreciationAdj.java +++ /dev/null @@ -1,149 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert Klein. robeklein@hotmail.com - * _____________________________________________ - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; - -import org.compiere.util.DB; -/** - * Fixed Asset Depreciation - * - * @author Rob Klein - * @version $Id: Conventions.java,v 1.0 $ - * - */ -public class DepreciationAdj { - - /** - * - * - */ - static public BigDecimal Dep_Adj(String Type, int p_A_ASSET_ID, BigDecimal p_A_ASSET_ADJUSTMENT, double p_A_PERIODNO, - String p_POSTINGTYPE,int p_A_ASSET_ACCT_ID) - { - BigDecimal A_Dep_Adj = new BigDecimal(0.0); - if(Type.compareTo("MDI")==0){ - A_Dep_Adj = MDI( p_A_ASSET_ID, p_A_ASSET_ADJUSTMENT, p_A_PERIODNO, - p_POSTINGTYPE, p_A_ASSET_ACCT_ID); - //System.out.println("MDI Main: "+A_Dep_Adj); - return A_Dep_Adj; - } - else if(Type.compareTo("LDI")==0){ - A_Dep_Adj = LDI( p_A_ASSET_ID, p_A_ASSET_ADJUSTMENT, p_A_PERIODNO, - p_POSTINGTYPE, p_A_ASSET_ACCT_ID); - //System.out.println("LDI Main: "+A_Dep_Adj); - return A_Dep_Adj; - } - else if(Type.compareTo("YDI")==0){ - A_Dep_Adj = YDI( p_A_ASSET_ID, p_A_ASSET_ADJUSTMENT, p_A_PERIODNO, - p_POSTINGTYPE, p_A_ASSET_ACCT_ID); - //System.out.println("YDI Main: "+A_Dep_Adj); - return A_Dep_Adj; - } - else - return new BigDecimal(0.0); - - } - - - static public BigDecimal LDI( int p_A_ASSET_ID, BigDecimal p_A_ASSET_ADJUSTMENT, double p_A_PERIODNO, - String p_POSTINGTYPE,int p_A_ASSET_ACCT_ID) - { - - BigDecimal A_Dep_Adj = new BigDecimal(0.0); - - StringBuffer sqlB = new StringBuffer ("SELECT A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD, A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED" - + " FROM A_DEPRECIATION_WORKFILE" - + " WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE +"'"); - - //System.out.println("LDI: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - A_Dep_Adj = p_A_ASSET_ADJUSTMENT.divide(new BigDecimal(rs.getDouble("A_LIFE_PERIOD")-rs.getDouble("A_PERIOD_POSTED")+1),2, BigDecimal.ROUND_HALF_UP); - - } - //System.out.println("LDI: "+A_Period_Exp); - return A_Dep_Adj; - } - catch (Exception e) - { - System.out.println("LDI: "+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - return A_Dep_Adj; - } - - static public BigDecimal MDI( int p_A_ASSET_ID, BigDecimal p_A_ASSET_ADJUSTMENT, double p_A_PERIODNO, - String p_POSTINGTYPE,int p_A_ASSET_ACCT_ID) - { - return p_A_ASSET_ADJUSTMENT; - } - - static public BigDecimal YDI( int p_A_ASSET_ID, BigDecimal p_A_ASSET_ADJUSTMENT, double p_A_PERIODNO, - String p_POSTINGTYPE,int p_A_ASSET_ACCT_ID) - { - - BigDecimal A_Dep_Adj = new BigDecimal(0.0); - - StringBuffer sqlB = new StringBuffer ("SELECT A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD, A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED" - + " FROM A_DEPRECIATION_WORKFILE" - + " WHERE A_DEPRECIATION_WORKFILE.A_ASSET_ID = " + p_A_ASSET_ID - + " AND A_DEPRECIATION_WORKFILE.POSTINGTYPE = '" + p_POSTINGTYPE +"'"); - - //System.out.println("DB150: "+sqlB.toString()); - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlB.toString(),null); - try { - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - A_Dep_Adj = p_A_ASSET_ADJUSTMENT.divide(new BigDecimal(12-p_A_PERIODNO),2, BigDecimal.ROUND_HALF_UP); - } - //System.out.println("LDI: "+A_Period_Exp); - return A_Dep_Adj; - } - catch (Exception e) - { - System.out.println("LDI: "+e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - return A_Dep_Adj; - } - - }// Depreciation diff --git a/org.adempiere.base/src/org/compiere/FA/I_CustomColumn.java b/org.adempiere.base/src/org/compiere/FA/I_CustomColumn.java deleted file mode 100644 index 2c05fc50a8..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/I_CustomColumn.java +++ /dev/null @@ -1,12 +0,0 @@ -package org.compiere.FA; - -/** - * Column name constant for fixed asset customization to core tables. - * @author Low Heng Sin - * - */ -public interface I_CustomColumn { - - public final static String A_Asset_Group_ID = "A_Asset_Group_ID"; - public final static String A_Processed = "A_Processed"; -} diff --git a/org.adempiere.base/src/org/compiere/FA/ImportAsset.java b/org.adempiere.base/src/org/compiere/FA/ImportAsset.java deleted file mode 100644 index 7af976fa6c..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/ImportAsset.java +++ /dev/null @@ -1,485 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Timestamp; - -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; - -/** - * Import Assets - * - * @author Rob Klein - * @version $Id: ImportAsset.java,v 1.0 $ - */ -public class ImportAsset extends SvrProcess -{ - /** - * Import Asset - */ - public ImportAsset() - { - super(); - - } // ImportAsset - - /** Client to be imported to */ - private int m_AD_Client_ID = 0; - /** Delete old Imported */ - private boolean m_deleteOldImported = false; - - /** Organization to be imported to */ - private int m_AD_Org_ID = 0; - /** Effective */ - private Timestamp m_DateValue = null; - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - if (name.equals("AD_Client_ID")) - m_AD_Client_ID = (para[i].getParameterAsInt()); - else if (name.equals("DeleteOldImported")) - m_deleteOldImported = "Y".equals(para[i].getParameter()); - else - log.info("ImportAsset.prepare - Unknown Parameter: " + name); - } - m_DateValue = new Timestamp (System.currentTimeMillis()); - //java.util.Date today = new java.util.Date(); - //m_DateValue = new java.sql.Date(today.getTime()); - - } // prepare - - - /** - * Perform process. - * @return Message - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - StringBuffer sql = null; - int no = 0; - String clientCheck = " AND AD_Client_ID=" + m_AD_Client_ID; - - // **** Prepare **** - - // Delete Old Imported - /**if (m_deleteOldImported) - { - sql = new StringBuffer ("DELETE I_Asset " - + "WHERE I_IsImported='Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString()); - }**/ - - // Set Client, Org, IaActive, Created/Updated, ProductType - sql = new StringBuffer ("UPDATE I_Asset " - + "SET AD_Client_ID = COALESCE (AD_Client_ID, ").append(m_AD_Client_ID).append(")," - + " AD_Org_ID = COALESCE (AD_Org_ID, 0)," - + " IsActive = COALESCE (IsActive, 'Y')," - + " CreatedBy = COALESCE (CreatedBy, 0)," - + " UpdatedBy = COALESCE (UpdatedBy, 0)," - + " I_ErrorMsg = NULL," - + " I_IsImported = 'N' " - + "WHERE I_IsImported<>'Y' OR I_IsImported IS NULL"); - no = DB.executeUpdate(sql.toString(),null); - - - // Set Currency - /**sql = new StringBuffer ("UPDATE I_Asset i " - + "SET ISO_Code=(SELECT ISO_Code FROM C_Currency c" - + " INNER JOIN C_AcctSchema a ON (a.C_Currency_ID=c.C_Currency_ID)" - + " INNER JOIN AD_ClientInfo ci ON (a.C_AcctSchema_ID=ci.C_AcctSchema1_ID)" - + " WHERE ci.AD_Client_ID=i.AD_Client_ID) " - + "WHERE C_Currency_ID IS NULL AND ISO_Code IS NULL" - + " AND I_IsImported<>'Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString()); - Log.trace(Log.l5_DData, "ImportAsset.doIt", "Set Currency Default=" + no); - // - sql = new StringBuffer ("UPDATE I_Asset i " - + "SET C_Currency_ID=(SELECT C_Currency_ID FROM C_Currency c" - + " WHERE i.ISO_Code=c.ISO_Code AND c.AD_Client_ID IN (0,i.AD_Client_ID)) " - + "WHERE C_Currency_ID IS NULL" - + " AND I_IsImported<>'Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString()); - Log.trace(Log.l5_DData, "ImportAsset.doIt", "Set Currency=" + no); - // - sql = new StringBuffer ("UPDATE I_Asset " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Currency,' " - + "WHERE C_Currency_ID IS NULL" - + " AND I_IsImported<>'Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString()); - Log.trace(Log.l3_Util, "ImportAsset.doIt", "Invalid Currency=" + no); - **/ - - // ------------------------------------------------------------------- - int noInsert = 0; - int noUpdate = 0; - //int noInsertPO = 0; - //int noUpdatePO = 0; - - // Go through Records - sql = new StringBuffer ("SELECT I_Asset_ID, A_Asset_ID " - + "FROM I_Asset WHERE I_IsImported='N'").append(clientCheck).append(" Order By I_Asset_ID"); -// Connection conn = DB.createConnection(false, Connection.TRANSACTION_READ_COMMITTED); - try - { - // Insert Asset from Import - StringBuffer sqlA = new StringBuffer ("INSERT INTO A_Asset (A_Asset_ID," - + "AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "Value,Name,Description,Help," - + "A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate," - + "AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths," - + "LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession," - + "LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID," - + "C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID," - + "M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original," - + "A_QTY_Current) " - + "SELECT ?," - + "AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "Value,Name,Description,Help," - + "A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate," - + "AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths," - + "LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession," - + "LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID," - + "C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID," - + "M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original," - + "A_QTY_Current " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?"); - PreparedStatement pstmt_insertProduct = DB.prepareStatement(sqlA.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // Update Assets from Import - StringBuffer sqlB = new StringBuffer ("UPDATE A_Asset " - + "SET (A_Asset_ID," - + "AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "Value,Name,Description,Help," - + "A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate," - + "AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths," - + "LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession," - + "LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID," - + "C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID," - + "M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original," - + "A_QTY_Current) = " - + "(SELECT A_Asset_ID," - + "AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "Value,Name,Description,Help," - + "A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate," - + "AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths," - + "LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession," - + "LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID," - + "C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID," - + "M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original," - + "A_QTY_Current " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?) " - + "WHERE A_Asset_ID=?"); - PreparedStatement pstmt_updateProduct = DB.prepareStatement(sqlB.toString(), ResultSet.TYPE_SCROLL_SENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // Insert Asset Accounts from Import - StringBuffer sqlC = new StringBuffer ("INSERT INTO A_Asset_Acct (" - + "A_ASSET_ID, C_ACCTSCHEMA_ID, AD_CLIENT_ID," - + "AD_ORG_ID,ISACTIVE, CREATED, CREATEDBY, UPDATED ,UPDATEDBY," - + "A_DEPRECIATION_ID, A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT," - + "A_DISPOSAL_LOSS, A_DISPOSAL_REVENUE, A_ASSET_ACCT,A_ASSET_SPREAD_ID," - + "A_DEPRECIATION_METHOD_ID,A_PERIOD_START,A_PERIOD_END, A_DEPRECIATION_CONV_ID," - + "A_SALVAGE_VALUE, POSTINGTYPE, A_SPLIT_PERCENT, A_DEPRECIATION_MANUAL_AMOUNT, " - + "A_DEPRECIATION_MANUAL_PERIOD, A_DEPRECIATION_VARIABLE_PERC, A_ASSET_ACCT_ID) " - + "SELECT ?,C_ACCTSCHEMA_ID," - + "AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "DEPRECIATIONTYPE, A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT," - + "A_DISPOSAL_LOSS, A_DISPOSAL_REVENUE, A_ASSET_ACCT,A_ASSET_SPREAD_TYPE," - + "A_DEPRECIATION_CALC_TYPE,A_PERIOD_START,A_PERIOD_END, CONVENTIONTYPE," - + "A_SALVAGE_VALUE, POSTINGTYPE, A_SPLIT_PERCENT, A_DEPRECIATION_MANUAL_AMOUNT," - + "A_DEPRECIATION_MANUAL_PERIOD, A_DEPRECIATION_VARIABLE_PERC, ? " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?"); - PreparedStatement pstmt_insertAssetAcct = DB.prepareStatement(sqlC.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // Insert Asset Balances from Import - StringBuffer sqlD = new StringBuffer ("INSERT INTO A_DEPRECIATION_WORKFILE (" - + "A_DEPRECIATION_WORKFILE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE," - + "CREATED, CREATEDBY, UPDATED, UPDATEDBY, A_ASSET_ID, A_ASSET_COST," - + "A_ACCUMULATED_DEPR, A_CALC_ACCUMULATED_DEPR, A_LIFE_PERIOD," - + "A_PERIOD_POSTED, A_CURRENT_PERIOD, A_PRIOR_YEAR_ACCUMULATED_DEPR," - + "A_BASE_AMOUNT, A_SALVAGE_VALUE, A_CURR_DEP_EXP, A_ASSET_LIFE_YEARS," - + "A_ASSET_LIFE_CURRENT_YEAR, ISDEPRECIATED, POSTINGTYPE, A_QTY_CURRENT" - + ")" - + "SELECT " - + "?, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE," - + "CREATED, CREATEDBY, UPDATED, UPDATEDBY, ?, A_ASSET_COST," - + "A_ACCUMULATED_DEPR, A_CALC_ACCUMULATED_DEPR, A_LIFE_PERIOD," - + "A_PERIOD_POSTED, A_CURRENT_PERIOD, A_PRIOR_YEAR_ACCUMULATED_DEPR," - + "A_BASE_AMOUNT, A_SALVAGE_VALUE, A_CURR_DEP_EXP, A_ASSET_LIFE_YEARS," - + "A_ASSET_LIFE_CURRENT_YEAR, ISDEPRECIATED, POSTINGTYPE, A_QTY_CURRENT" - + " " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?"); - PreparedStatement pstmt_insertAssetBal = DB.prepareStatement(sqlD.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // Insert Asset Additions from Import - StringBuffer sqlE = new StringBuffer ("INSERT INTO A_Asset_Addition (" - + " A_ASSET_ADDITION_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE," - + " CREATED, CREATEDBY, UPDATED, UPDATEDBY, A_ASSET_ID," - + " ASSETVALUEAMT, DESCRIPTION, M_INOUTLINE_ID, " - + " POSTINGTYPE, A_QTY_CURRENT, A_SOURCETYPE, A_CAPVSEXP) " - + "SELECT " - + " ?, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE," - + " CREATED, CREATEDBY, UPDATED, UPDATEDBY, ?," - + " A_ASSET_COST, 'Imported Asset', '1', " - + " POSTINGTYPE, A_QTY_CURRENT, 'IMP', 'Cap' " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?"); - PreparedStatement pstmt_insertAssetAdd = DB.prepareStatement(sqlE.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // Insert Asset Additions from Import - StringBuffer sqlF = new StringBuffer ("INSERT INTO A_Asset_Change (" - + "A_ASSET_CHANGE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, " - + "CREATED, CREATEDBY, UPDATED, UPDATEDBY, A_ASSET_ID, " - + "CHANGETYPE, USELIFEYEARS, " - + "USELIFEMONTHS, LIFEUSEUNITS, ASSETDEPRECIATIONDATE, " - + "A_ASSET_ADDITION_ID, SERNO," - + "LOT, VERSIONNO, ASSETACCUMDEPRECIATIONAMT, TEXTDETAILS, " - + "ASSETSERVICEDATE, ASSETBOOKVALUEAMT, ASSETMARKETVALUEAMT, " - + "ASSETVALUEAMT, ASSETDISPOSALDATE, A_PARENT_ASSET_ID, " - + "C_BPARTNER_ID, C_BPARTNER_LOCATION_ID, C_LOCATION_ID, " - + "A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT, A_DISPOSAL_LOSS, " - + "A_DISPOSAL_REVENUE, A_ASSET_ACCT, A_ASSET_SPREAD_TYPE, " - + "A_DEPRECIATION_CALC_TYPE, A_PERIOD_START, A_PERIOD_END, " - + "A_SALVAGE_VALUE, POSTINGTYPE, A_ASSET_ACCT_ID, CONVENTIONTYPE, " - + "A_SPLIT_PERCENT, DEPRECIATIONTYPE, A_QTY_CURRENT, ISDEPRECIATED, " - + "ISFULLYDEPRECIATED, ISINPOSESSION, ISDISPOSED, ISOWNED) " - + "SELECT " - + "?, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, " - + "CREATED, CREATEDBY, UPDATED, UPDATEDBY, ?, " - + "'IMP', USELIFEYEARS, " - + "USELIFEMONTHS, LIFEUSEUNITS, ASSETDEPRECIATIONDATE, " - + "?, SERNO, " - + "LOT, VERSIONNO, A_ACCUMULATED_DEPR, 'Imported Fixed Asset', " - + "ASSETSERVICEDATE, A_BASE_AMOUNT, ASSETMARKETVALUEAMT, " - + "A_ASSET_COST, ASSETDISPOSALDATE, A_PARENT_ASSET_ID, " - + "C_BPARTNER_ID, C_BPARTNER_LOCATION_ID, C_LOCATION_ID, " - + "A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT, A_DISPOSAL_LOSS, " - + "A_DISPOSAL_REVENUE, A_ASSET_ACCT, A_ASSET_SPREAD_TYPE, " - + "A_DEPRECIATION_CALC_TYPE, A_PERIOD_START, A_PERIOD_END, " - + "A_SALVAGE_VALUE, POSTINGTYPE, ?, CONVENTIONTYPE, " - + "A_SPLIT_PERCENT, DEPRECIATIONTYPE, A_QTY_CURRENT, ISDEPRECIATED, " - + "ISFULLYDEPRECIATED, ISINPOSESSION, ISDISPOSED, ISOWNED " - + "FROM I_Asset " - + "WHERE I_Asset_ID=?"); - PreparedStatement pstmt_insertAssetChg = DB.prepareStatement(sqlF.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); -/* - // Update Asset Accounts from Import - PreparedStatement pstmt_updateAssetAcct = conn.prepareStatement - ("UPDATE A_Asset_Acct " - + "SET(" - + "A_ASSET_ID, C_ACCTSCHEMA_ID, AD_CLIENT_ID" - + "AD_ORG_ID,ISACTIVE, CREATED, CREATEDBY, UPDATED ,UPDATEDBY" - + "A_DEPRECIATION_ID, A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT" - + "A_DISPOSAL_LOSS, A_DISPOSAL_REVENUE, A_ASSET_ACCT,A_ASSET_SPREAD_ID" - + "A_DEPRECIATION_METHOD_ID,A_PERIOD_START,A_PERIOD_END" - + "A_SALVAGE_VALUE, POSTINGTYPE, A_SPLIT_PERCENT) = " - + "(SELECT ?,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy," - + "DEPRECIATIONTYPE, A_DEPRECIATION_ACCT, A_ACCUMDEPRECIATION_ACCT" - + "A_DISPOSAL_LOSS, A_DISPOSAL_REVENUE, A_ASSET_ACCT,A_ASSET_SPREAD_TYPE" - + "A_DEPRECIATION_METHOD_ID,A_PERIOD_START,A_PERIOD_END" - + "A_SALVAGE_VALUE, POSTINGTYPE, A_SPLIT_PERCENT" - + "FROM I_Asset " - + "WHERE I_Asset_ID=?) " - + "WHERE A_Asset_ID=?"); - -*/ - // Set Imported = Y - PreparedStatement pstmt_setImported = DB.prepareStatement - ("UPDATE I_Asset SET I_IsImported='Y', " - //+ "Updated= TO_DATE('"+m_DateValue+"','YYYY-MM-DD HH24:MI:SS.FFF') " - + "Processed='Y' WHERE I_Asset_ID=?",ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - - // - PreparedStatement pstmt = DB.prepareStatement(sql.toString(),ResultSet.TYPE_SCROLL_INSENSITIVE, - ResultSet.CONCUR_UPDATABLE, null); - ResultSet rs = pstmt.executeQuery(); - int x = 0; - - while (rs.next()) - { - x=x+1; - - int I_Asset_ID = rs.getInt(1); - int A_Asset_ID = rs.getInt(2); - int A_Asset_Acct_ID = 0; - int A_DEPRECIATION_WORKFILE_ID = 0; - int A_ASSET_ADDITION_ID = 0; - int A_ASSET_CHANGE_ID = 0; - boolean newAsset = true; - - if (A_Asset_ID == 0) - { - A_Asset_ID = DB.getNextID(m_AD_Client_ID, "A_Asset", null); - A_Asset_Acct_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Acct", null); - A_DEPRECIATION_WORKFILE_ID = DB.getNextID(m_AD_Client_ID, "A_Depreciation_Workfile", null); - A_ASSET_ADDITION_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Addition", null); - A_ASSET_CHANGE_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Change", null); - - newAsset = true; - } - else - { - - // Check to see if Asset_ID exists - int found = DB.getSQLValue(null,"SELECT COUNT(*) FROM A_ASSET WHERE A_ASSET_ID = " + A_Asset_ID + clientCheck); - if (found == 0) - { - - newAsset = true; - A_DEPRECIATION_WORKFILE_ID = DB.getNextID(m_AD_Client_ID, "A_Depreciation_Workfile", null); - A_ASSET_ADDITION_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Addition", null); - A_ASSET_CHANGE_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Change", null); - A_Asset_Acct_ID = DB.getNextID(m_AD_Client_ID, "A_Asset_Acct", null); - } - else - { - - newAsset = false; - } - } - - - // Product - if (newAsset) // Insert new Asset - { - - pstmt_insertProduct.setInt(1, A_Asset_ID); - pstmt_insertProduct.setInt(2, I_Asset_ID); - - pstmt_insertAssetAcct.setInt(1, A_Asset_ID); - pstmt_insertAssetAcct.setInt(2, A_Asset_Acct_ID); - pstmt_insertAssetAcct.setInt(3, I_Asset_ID); - - pstmt_insertAssetBal.setInt(1, A_DEPRECIATION_WORKFILE_ID); - pstmt_insertAssetBal.setInt(2, A_Asset_ID); - pstmt_insertAssetBal.setInt(3, I_Asset_ID); - - pstmt_insertAssetAdd.setInt(1, A_ASSET_ADDITION_ID); - pstmt_insertAssetAdd.setInt(2, A_Asset_ID); - pstmt_insertAssetAdd.setInt(3, I_Asset_ID); - - pstmt_insertAssetChg.setInt(1, A_ASSET_CHANGE_ID); - pstmt_insertAssetChg.setInt(2, A_Asset_ID); - pstmt_insertAssetChg.setInt(3, A_ASSET_ADDITION_ID); - pstmt_insertAssetChg.setInt(4, A_Asset_Acct_ID); - pstmt_insertAssetChg.setInt(5, I_Asset_ID); - - try - { - - no = pstmt_insertProduct.executeUpdate(); - no = pstmt_insertAssetAcct.executeUpdate(); - no = pstmt_insertAssetBal.executeUpdate(); - no = pstmt_insertAssetAdd.executeUpdate(); - no = pstmt_insertAssetChg.executeUpdate(); - - noInsert++; - } - catch (SQLException ex) - { - - sql = new StringBuffer ("UPDATE I_Asset " - + "SET I_IsImported='E', I_ErrorMsg=").append(DB.TO_STRING("Insert Asset: " + ex.toString())) - .append(" WHERE I_Asset_ID=").append(I_Asset_ID); - - DB.executeUpdate(sql.toString(),null); - continue; - } - } - else // Update Asset - { - - pstmt_updateProduct.setInt(1, I_Asset_ID); - pstmt_updateProduct.setInt(2, A_Asset_ID); - - try - { - //String sqlcall = "UPDATE A_Asset SET(AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,Value,Name,Description,Help,A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate,AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths,LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession,LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID,C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID,M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original,A_QTY_Current) = (SELECT AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,Value,Name,Description,Help,A_Asset_Group_ID,M_Product_ID,SerNo,LOT,VersionNo,GuaranteeDate,AssetServiceDate,IsOwned,AssetDepreciationDate, UseLifeYears, UseLifeMonths,LifeUseUnits, UseUnits, Isdisposed, AssetDisposalDate, IsInPosession,LocationComment, M_Locator_ID, C_BPartner_ID, C_BPartner_Location_ID,C_Location_ID, IsDepreciated, IsFullyDepreciated, AD_User_ID,M_AttributeSetInstance_ID, A_Parent_Asset_ID, A_QTY_Original,A_QTY_Current FROM I_Asset WHERE I_Asset_ID=1000000) WHERE A_Asset_ID=2005000"; - //pstmt_updateProduct = prepareStatement(sqlB.toString(), ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE, null); - pstmt_updateProduct.executeUpdate(); - noUpdate++; - } - catch (SQLException ex) - { - - sql = new StringBuffer ("UPDATE I_Asset " - + "SET I_IsImported='E', I_ErrorMsg=").append(DB.TO_STRING("Update Asset: " + ex.toString())) - .append(" WHERE I_Asset_ID=").append(I_Asset_ID); - //DB.executeUpdate(sql.toString()); - continue; - } - } - pstmt_setImported.setInt(1, I_Asset_ID); - no = pstmt_setImported.executeUpdate(); - //conn.commit(); - } // for all I_Asset - rs.close(); - pstmt.close(); - - // - pstmt_insertProduct.close(); - pstmt_updateProduct.close(); - pstmt_setImported.close(); - // - //conn.close(); - //conn = null; - } - catch (SQLException e) - { - - throw new Exception ("ImportAsset3.doIt", e); - } - finally - { - ; - } - - - // Set Error to indicator to not imported - sql = new StringBuffer ("UPDATE I_Asset " - + "SET I_IsImported='N' " - //+ "Updated= TO_DATE('"+m_DateValue+"','YYYY-MM-DD HH24:MI:SS.FFF') " - + "WHERE I_IsImported<>'Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString(),null); - addLog (0, null, new BigDecimal (no), "@Errors@"); - addLog (0, null, new BigDecimal (noInsert), "@A_Asset_ID@: @Inserted@"); - addLog (0, null, new BigDecimal (noUpdate), "@A_Asset_ID@: @Updated@"); - return ""; - } // doIt - -} // ImportAsset diff --git a/org.adempiere.base/src/org/compiere/FA/ImportFAJournal2.java b/org.adempiere.base/src/org/compiere/FA/ImportFAJournal2.java deleted file mode 100644 index 2aa2d5e51e..0000000000 --- a/org.adempiere.base/src/org/compiere/FA/ImportFAJournal2.java +++ /dev/null @@ -1,980 +0,0 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.math.BigDecimal; -import java.sql.CallableStatement; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Timestamp; - -import org.compiere.model.MAccount; -import org.compiere.model.MAssetChange; -import org.compiere.model.MJournal; -import org.compiere.model.MJournalBatch; -import org.compiere.model.MJournalLine; -import org.compiere.model.MXIFAJournal; -import org.compiere.model.X_I_FAJournal; -import org.compiere.process.ProcessInfoParameter; -import org.compiere.process.SvrProcess; -import org.compiere.util.DB; -import org.compiere.util.Env; -import org.compiere.util.TimeUtil; - - -/** - * Import GL Journal Batch/JournalLine from I_FAJournal - * - * @author Rob Klein - * @version $Id: ImportFAJournal2.java,v 1.0 $ - */ -public class ImportFAJournal2 extends SvrProcess -{ - /** Client to be imported to */ - private int m_AD_Client_ID = 0; - /** Organization to be imported to */ - private int m_AD_Org_ID = 0; - /** Acct Schema to be imported to */ - private int m_C_AcctSchema_ID = 0; - /** Default Date */ - private Timestamp m_DateAcct = null; - /** Delete old Imported */ - private boolean m_DeleteOldImported = false; - /** Don't import */ - private boolean m_IsValidateOnly = false; - /** Import if no Errors */ - private boolean m_IsImportOnlyNoErrors = true; - /** Entry Type */ - private String m_EntryType = null; - - /** Record ID */ - private int p_Depreciation_Entry_ID = 0; - - /** - * Prepare - e.g., get Parameters. - */ - - /** - * Prepare - e.g., get Parameters. - */ - protected void prepare() - { - ProcessInfoParameter[] para = getParameter(); - for (int i = 0; i < para.length; i++) - { - String name = para[i].getParameterName(); - - p_Depreciation_Entry_ID = getRecord_ID(); - - if (para[i].getParameter() == null) - ; - else if (name.equals("AD_Client_ID")) - m_AD_Client_ID = ((BigDecimal)para[i].getParameter()).intValue(); - else if (name.equals("AD_Org_ID")) - m_AD_Org_ID = ((BigDecimal)para[i].getParameter()).intValue(); - else if (name.equals("C_AcctSchema_ID")) - m_C_AcctSchema_ID = ((BigDecimal)para[i].getParameter()).intValue(); - else if (name.equals("DateAcct")) - m_DateAcct = (Timestamp)para[i].getParameter(); - else if (name.equals("IsValidateOnly")) - m_IsValidateOnly = "Y".equals(para[i].getParameter()); - else if (name.equals("IsImportOnlyNoErrors")) - m_IsImportOnlyNoErrors = "Y".equals(para[i].getParameter()); - else if (name.equals("DeleteOldImported")) - m_DeleteOldImported = "Y".equals(para[i].getParameter()); - else - log.info("prepare - Unknown Parameter: " + name); - } - } // prepare - - CallableStatement cs; - - /** - * Perform process. - * @return Message - * @throws Exception - */ - protected String doIt() throws java.lang.Exception - { - log.info("IsValidateOnly=" + m_IsValidateOnly + ", IsImportOnlyNoErrors=" + m_IsImportOnlyNoErrors); - StringBuffer sql = null; - int no = 0; - String clientCheck = " AND AD_Client_ID=" + m_AD_Client_ID; - - // Clear imported and processed records - - String sqldel = null; - - sqldel = "SELECT A_ENTRY_TYPE " - + "FROM A_DEPRECIATION_ENTRY " - + "WHERE A_DEPRECIATION_ENTRY.A_DEPRECIATION_ENTRY_ID = ?"; - - m_EntryType = DB.getSQLValueString(get_TrxName(), sqldel, p_Depreciation_Entry_ID); - - if (m_DeleteOldImported) - { - sql = new StringBuffer ("DELETE I_FAJournal " - + "WHERE I_IsImported='Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Delete Old Impored =" + no); - - sql = new StringBuffer ("DELETE A_Depreciation_Exp " - + "WHERE A_Entry_Type = '"+ m_EntryType + "'" - + " AND Processed='Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Delete Old Impored =" + no); - - } - - - // **** Copy from Workfile to Entry File **** - - log.info("doIt - Depreciation_Build_Entry_ID=" + p_Depreciation_Entry_ID); - if (p_Depreciation_Entry_ID == 0) - throw new IllegalArgumentException("No Record"); - // - - //X_A_Depreciation_Build DepBuild = new X_A_Depreciation_Build (getCtx(), p_Depreciation_Entry_ID); - - String sqlst = null; - - sqlst = "SELECT A_DEPRECIATION_EXP.AD_CLIENT_ID, A_DEPRECIATION_EXP.CREATED, A_DEPRECIATION_EXP.CREATEDBY, " - + "A_DEPRECIATION_EXP.UPDATED, A_DEPRECIATION_EXP.UPDATEDBY, A_DEPRECIATION_EXP.DESCRIPTION, " - + "A_DEPRECIATION_EXP.AD_ORG_ID, A_DEPRECIATION_EXP.A_ACCOUNT_NUMBER,A_DEPRECIATION_ENTRY.C_CURRENCY_ID, " - + "A_DEPRECIATION_EXP.EXPENSE, A_DEPRECIATION_EXP.A_ASSET_ID, A_DEPRECIATION_EXP.ISDEPRECIATED, " - + "A_DEPRECIATION_EXP.PROCESSED, A_DEPRECIATION_EXP.A_DEPRECIATION_EXP_ID, A_DEPRECIATION_EXP.A_Period," - + "A_DEPRECIATION_ENTRY.DATEACCT, A_DEPRECIATION_ENTRY.POSTINGTYPE, A_DEPRECIATION_ENTRY.A_ENTRY_TYPE," - + "A_DEPRECIATION_ENTRY.PROCESSED AS ENTRY_PROCESS,A_DEPRECIATION_ENTRY.GL_CATEGORY_ID, " - + "A_DEPRECIATION_ENTRY.C_DOCTYPE_ID,A_DEPRECIATION_ENTRY.C_ACCTSCHEMA_ID, A_DEPRECIATION_ENTRY.A_DEPRECIATION_ENTRY_ID " - + "FROM A_DEPRECIATION_EXP, A_DEPRECIATION_ENTRY " - + "WHERE A_DEPRECIATION_EXP.PROCESSED = 'N' AND A_DEPRECIATION_ENTRY.PROCESSED = 'N' AND " - + "A_DEPRECIATION_EXP.A_PERIOD = A_DEPRECIATION_ENTRY.C_PERIOD_ID " - + "AND A_DEPRECIATION_ENTRY.POSTINGTYPE = A_DEPRECIATION_EXP.POSTINGTYPE AND " - + "A_DEPRECIATION_EXP.A_ENTRY_TYPE = A_DEPRECIATION_ENTRY.A_ENTRY_TYPE"; - - PreparedStatement pstmt = null; - pstmt = DB.prepareStatement (sqlst, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE,get_TrxName()); - ResultSet rs = null; - try { - int v_FirstTime = 0; - String v_C_BatchNo = ""; - BigDecimal v_AMTSOURCEDR ; - BigDecimal v_AMTSOURCECR ; - int v_ID_START = 10; - rs = pstmt.executeQuery(); - while (rs.next()) - { - - X_I_FAJournal FAInsert = new X_I_FAJournal (getCtx (), 0, get_TrxName()); - if (v_FirstTime == 0) - { - v_C_BatchNo = DB.getDocumentNo(rs.getInt("C_DOCTYPE_ID"), get_TrxName(), true, FAInsert); - - v_FirstTime = 1; - } - - String v_Line_Description = rs.getString("DESCRIPTION") + " - FA # " + rs.getInt("A_ASSET_ID"); - - if (rs.getBigDecimal("EXPENSE").compareTo(new BigDecimal("0.0"))== 1) - { - v_AMTSOURCEDR = rs.getBigDecimal("EXPENSE") ; - v_AMTSOURCECR = Env.ZERO; - } - else - { - v_AMTSOURCECR = (rs.getBigDecimal("EXPENSE").multiply(new BigDecimal("-1.0"))); - v_AMTSOURCEDR = Env.ZERO; - } - - FAInsert.setI_IsImported(false); - FAInsert.setProcessed(false); - FAInsert.setBatchDocumentNo(v_C_BatchNo); - FAInsert.setBatchDescription (rs.getString("DESCRIPTION")); - FAInsert.setPostingType(rs.getString("POSTINGTYPE")); - FAInsert.setC_AcctSchema_ID(rs.getInt("C_ACCTSCHEMA_ID")); - FAInsert.setC_DocType_ID( rs.getInt("C_DOCTYPE_ID")); - FAInsert.setGL_Category_ID(rs.getInt("GL_CATEGORY_ID")); - FAInsert.setLine( v_ID_START); - FAInsert.setDateAcct (rs.getTimestamp("DATEACCT")); - FAInsert.setC_Period_ID(rs.getInt("A_Period")); - FAInsert.setDescription ( v_Line_Description); - FAInsert.setAmtSourceDr ( v_AMTSOURCEDR); - FAInsert.setAmtSourceCr ( v_AMTSOURCECR); - FAInsert.setC_Currency_ID ( rs.getInt("C_CURRENCY_ID")); - FAInsert.setQty (Env.ZERO); - FAInsert.setC_ValidCombination_ID ( rs.getInt("A_ACCOUNT_NUMBER")); - FAInsert.setA_Asset_ID ( rs.getInt("A_ASSET_ID")); - FAInsert.setIsDepreciated ( rs.getString("ISDEPRECIATED")); - - v_ID_START = v_ID_START+10; - FAInsert.saveEx(); - - String sql4 = "UPDATE A_DEPRECIATION_EXP SET PROCESSED = 'Y' " - + " WHERE A_DEPRECIATION_EXP_ID = " + rs.getInt("A_DEPRECIATION_EXP_ID"); - no = DB.executeUpdate (sql4,get_TrxName()); - - sql4 = new String ("UPDATE A_DEPRECIATION_ENTRY SET PROCESSED = 'Y', ISACTIVE = 'N' " - + " WHERE A_DEPRECIATION_ENTRY_ID = " + rs.getInt("A_DEPRECIATION_ENTRY_ID")); - no = DB.executeUpdate (sql4,get_TrxName()); - } - } - catch (Exception e) - { - log.info("ImportFAJournal2"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - - // Set IsActive, Created/Updated - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET IsActive = COALESCE (IsActive, 'Y')," - + " Created = COALESCE (Created, SysDate)," - + " CreatedBy = COALESCE (CreatedBy, 0)," - + " Updated = COALESCE (Updated, SysDate)," - + " UpdatedBy = COALESCE (UpdatedBy, 0)," - + " I_ErrorMsg = NULL," - + " I_IsImported = 'N' " - + "WHERE I_IsImported<>'Y' OR I_IsImported IS NULL"); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Reset=" + no); - - // Set Client from Name - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET AD_Client_ID=(SELECT c.AD_Client_ID FROM AD_Client c WHERE c.Value=i.ClientValue) " - + "WHERE (AD_Client_ID IS NULL OR AD_Client_ID=0) AND ClientValue IS NOT NULL" - + " AND I_IsImported<>'Y'"); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Client from Value=" + no); - - // Set Client, Doc Org, AcctSchema, DatAcct - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET AD_Client_ID = COALESCE (AD_Client_ID,").append (m_AD_Client_ID).append (")," - + " AD_OrgDoc_ID = COALESCE (AD_OrgDoc_ID,").append (m_AD_Org_ID).append ("),"); - if (m_C_AcctSchema_ID != 0) - sql.append(" C_AcctSchema_ID = COALESCE (C_AcctSchema_ID,").append (m_C_AcctSchema_ID).append ("),"); - if (m_DateAcct != null) - sql.append(" DateAcct = COALESCE (DateAcct,").append (DB.TO_DATE(m_DateAcct)).append ("),"); - sql.append(" Updated = COALESCE (Updated, SysDate) " - + "WHERE I_IsImported<>'Y' OR I_IsImported IS NULL"); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Client/DocOrg/Default=" + no); - - // Error Doc Org - sql = new StringBuffer ("UPDATE I_FAJournal o " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Doc Org, '" - + "WHERE (AD_OrgDoc_ID IS NULL OR AD_OrgDoc_ID=0" - + " OR EXISTS (SELECT * FROM AD_Org oo WHERE o.AD_Org_ID=oo.AD_Org_ID AND (oo.IsSummary='Y' OR oo.IsActive='N')))" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Doc Org=" + no); - - // Set AcctSchema - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_AcctSchema_ID=(SELECT a.C_AcctSchema_ID FROM C_AcctSchema a" - + " WHERE i.AcctSchemaName=a.Name AND i.AD_Client_ID=a.AD_Client_ID) " - + "WHERE C_AcctSchema_ID IS NULL AND AcctSchemaName IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set AcctSchema from Name=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_AcctSchema_ID=(SELECT c.C_AcctSchema1_ID FROM AD_ClientInfo c WHERE c.AD_Client_ID=i.AD_Client_ID) " - + "WHERE C_AcctSchema_ID IS NULL AND AcctSchemaName IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set AcctSchema from Client=" + no); - // Error AcctSchema - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid AcctSchema, '" - + "WHERE (C_AcctSchema_ID IS NULL OR C_AcctSchema_ID=0" - + " OR NOT EXISTS (SELECT * FROM C_AcctSchema a WHERE i.AD_Client_ID=a.AD_Client_ID))" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid AcctSchema=" + no); - - // Set DateAcct (mandatory) - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET DateAcct=SysDate " - + "WHERE DateAcct IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set DateAcct=" + no); - - // Document Type - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_DocType_ID=(SELECT d.C_DocType_ID FROM C_DocType d" - + " WHERE d.Name=i.DocTypeName AND d.DocBaseType='GLJ' AND i.AD_Client_ID=d.AD_Client_ID) " - + "WHERE C_DocType_ID IS NULL AND DocTypeName IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set DocType=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid DocType, '" - + "WHERE (C_DocType_ID IS NULL OR C_DocType_ID=0" - + " OR NOT EXISTS (SELECT * FROM C_DocType d WHERE i.AD_Client_ID=d.AD_Client_ID AND d.DocBaseType='GLJ'))" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid DocType=" + no); - - // GL Category - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET GL_Category_ID=(SELECT c.GL_Category_ID FROM GL_Category c" - + " WHERE c.Name=i.CategoryName AND i.AD_Client_ID=c.AD_Client_ID) " - + "WHERE GL_Category_ID IS NULL AND CategoryName IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set DocType=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Category, '" - + "WHERE (GL_Category_ID IS NULL OR GL_Category_ID=0)" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Category=" + no); - - // Set Currency - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_Currency_ID=(SELECT c.C_Currency_ID FROM C_Currency c" - + " WHERE c.ISO_Code=i.ISO_Code AND c.AD_Client_ID IN (0,i.AD_Client_ID)) " - + "WHERE C_Currency_ID IS NULL AND ISO_Code IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Currency from ISO=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_Currency_ID=(SELECT a.C_Currency_ID FROM C_AcctSchema a" - + " WHERE a.C_AcctSchema_ID=i.C_AcctSchema_ID AND a.AD_Client_ID=i.AD_Client_ID)" - + "WHERE C_Currency_ID IS NULL AND ISO_Code IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Default Currency=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Currency, '" - + "WHERE (C_Currency_ID IS NULL OR C_Currency_ID=0)" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Currency=" + no); - -// Set Conversion Type - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET ConversionTypeValue='S' " - + "WHERE C_ConversionType_ID IS NULL AND ConversionTypeValue IS NULL" - + " AND I_IsImported='N'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set CurrencyType Value to Spot =" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_ConversionType_ID=(SELECT c.C_ConversionType_ID FROM C_ConversionType c" - + " WHERE c.Value=i.ConversionTypeValue AND c.AD_Client_ID IN (0,i.AD_Client_ID)) " - + "WHERE C_ConversionType_ID IS NULL AND ConversionTypeValue IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set CurrencyType from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid CurrencyType, '" - + "WHERE (C_ConversionType_ID IS NULL OR C_ConversionType_ID=0) AND ConversionTypeValue IS NOT NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid CurrencyTypeValue=" + no); - - - - // Set/Overwrite Home Currency Rate - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET CurrencyRate=1" - + "WHERE EXISTS (SELECT * FROM C_AcctSchema a" - + " WHERE a.C_AcctSchema_ID=i.C_AcctSchema_ID AND a.C_Currency_ID=i.C_Currency_ID)" - + " AND C_Currency_ID IS NOT NULL AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Home CurrencyRate=" + no); - // Set Currency Rate - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET CurrencyRate=(SELECT r.MultiplyRate FROM C_Conversion_Rate r, C_AcctSchema s" - + " WHERE s.C_AcctSchema_ID=i.C_AcctSchema_ID AND s.AD_Client_ID=i.AD_Client_ID" - + " AND r.C_Currency_ID=i.C_Currency_ID AND r.C_Currency_ID_TO=s.C_Currency_ID" - + " AND r.AD_Client_ID=i.AD_Client_ID AND r.AD_Org_ID=i.AD_OrgDoc_ID" - + " AND r.C_ConversionType_ID=i.C_ConversionType_ID" - + " AND i.DateAcct BETWEEN r.ValidFrom AND r.ValidTo AND ROWNUM=1" - // ORDER BY ValidFrom DESC - + ") WHERE CurrencyRate IS NULL OR CurrencyRate=0 AND C_Currency_ID>0" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Org Rate=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET CurrencyRate=(SELECT r.MultiplyRate FROM C_Conversion_Rate r, C_AcctSchema s" - + " WHERE s.C_AcctSchema_ID=i.C_AcctSchema_ID AND s.AD_Client_ID=i.AD_Client_ID" - + " AND r.C_Currency_ID=i.C_Currency_ID AND r.C_Currency_ID_TO=s.C_Currency_ID" - + " AND r.AD_Client_ID=i.AD_Client_ID" - + " AND r.C_ConversionType_ID=i.C_ConversionType_ID" - + " AND i.DateAcct BETWEEN r.ValidFrom AND r.ValidTo AND ROWNUM=1" - // ORDER BY ValidFrom DESC - + ") WHERE CurrencyRate IS NULL OR CurrencyRate=0 AND C_Currency_ID>0" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Client Rate=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=No Rate, '" - + "WHERE CurrencyRate IS NULL OR CurrencyRate=0" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - No Rate=" + no); - - // Set Period - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_Period_ID=(SELECT p.C_Period_ID FROM C_Period p" - + " INNER JOIN C_Year y ON (y.C_Year_ID=p.C_Year_ID)" - + " INNER JOIN AD_ClientInfo c ON (c.C_Calendar_ID=y.C_Calendar_ID)" - + " WHERE c.AD_Client_ID=i.AD_Client_ID" - + " AND i.DateAcct BETWEEN p.StartDate AND p.EndDate AND p.PeriodType='S' AND ROWNUM=1) " - + "WHERE C_Period_ID IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Period=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Period, '" - + "WHERE C_Period_ID IS NULL OR C_Period_ID<>" - + "(SELECT C_Period_ID FROM C_Period p" - + " INNER JOIN C_Year y ON (y.C_Year_ID=p.C_Year_ID)" - + " INNER JOIN AD_ClientInfo c ON (c.C_Calendar_ID=y.C_Calendar_ID) " - + " WHERE c.AD_Client_ID=i.AD_Client_ID" - + " AND i.DateAcct BETWEEN p.StartDate AND p.EndDate AND p.PeriodType='S' AND ROWNUM=1)" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Period=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_ErrorMsg=I_ErrorMsg||'WARN=Period Closed, ' " - + "WHERE C_Period_ID IS NOT NULL AND NOT EXISTS" - + " (SELECT * FROM C_PeriodControl pc WHERE pc.C_Period_ID=i.C_Period_ID AND DocBaseType='GLJ' AND PeriodStatus='O') " - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Period Closed=" + no); - - // Posting Type - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET PostingType='A' " - + "WHERE PostingType IS NULL AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Actual PostingType=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid PostingType, ' " - + "WHERE PostingType IS NULL OR NOT EXISTS" - + " (SELECT * FROM AD_Ref_List r WHERE r.AD_Reference_ID=125 AND i.PostingType=r.Value)" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid PostingTypee=" + no); - - - // ** Account Elements (optional) ** - // (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) - - // Set Org from Name - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET AD_Org_ID=(SELECT o.AD_Org_ID FROM AD_Org o" - + " WHERE o.Value=i.OrgValue AND o.IsSummary='N' AND i.AD_Client_ID=o.AD_Client_ID) " - + "WHERE (AD_Org_ID IS NULL OR AD_Org_ID=0) AND OrgValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'"); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Org from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET AD_Org_ID=AD_OrgDoc_ID " - + "WHERE (AD_Org_ID IS NULL OR AD_Org_ID=0) AND OrgValue IS NULL AND AD_OrgDoc_ID IS NOT NULL AND AD_OrgDoc_ID<>0" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Org from Doc Org=" + no); - // Error Org - sql = new StringBuffer ("UPDATE I_FAJournal o " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Org, '" - + "WHERE (AD_Org_ID IS NULL OR AD_Org_ID=0" - + " OR EXISTS (SELECT * FROM AD_Org oo WHERE o.AD_Org_ID=oo.AD_Org_ID AND (oo.IsSummary='Y' OR oo.IsActive='N')))" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Org=" + no); - - // Set Account - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET Account_ID=(SELECT ev.C_ElementValue_ID FROM C_ElementValue ev" - + " INNER JOIN C_Element e ON (e.C_Element_ID=ev.C_Element_ID)" - + " INNER JOIN C_AcctSchema_Element ase ON (e.C_Element_ID=ase.C_Element_ID AND ase.ElementType='AC')" - + " WHERE ev.Value=i.AccountValue AND ev.IsSummary='N'" - + " AND i.C_AcctSchema_ID=ase.C_AcctSchema_ID AND i.AD_Client_ID=ev.AD_Client_ID AND ROWNUM=1) " - + "WHERE Account_ID IS NULL AND AccountValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Account from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Account, '" - + "WHERE (Account_ID IS NULL OR Account_ID=0)" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Account=" + no); - - // Set BPartner - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_BPartner_ID=(SELECT bp.C_BPartner_ID FROM C_BPartner bp" - + " WHERE bp.Value=i.BPartnerValue AND bp.IsSummary='N' AND i.AD_Client_ID=bp.AD_Client_ID) " - + "WHERE C_BPartner_ID IS NULL AND BPartnerValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set BPartner from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid BPartner, '" - + "WHERE C_BPartner_ID IS NULL AND BPartnerValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid BPartner=" + no); - - // Set Product - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET M_Product_ID=(SELECT p.M_Product_ID FROM M_Product p" - + " WHERE (p.Value=i.ProductValue OR p.UPC=i.UPC OR p.SKU=i.SKU)" - + " AND p.IsSummary='N' AND i.AD_Client_ID=p.AD_Client_ID AND ROWNUM=1) " - + "WHERE M_Product_ID IS NULL AND (ProductValue IS NOT NULL OR UPC IS NOT NULL OR SKU IS NOT NULL)" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Product from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Product, '" - + "WHERE M_Product_ID IS NULL AND (ProductValue IS NOT NULL OR UPC IS NOT NULL OR SKU IS NOT NULL)" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Product=" + no); - - // Set Project - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET C_Project_ID=(SELECT p.C_Project_ID FROM C_Project p" - + " WHERE p.Value=i.ProjectValue AND p.IsSummary='N' AND i.AD_Client_ID=p.AD_Client_ID) " - + "WHERE C_Project_ID IS NULL AND ProjectValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set Project from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Project, '" - + "WHERE C_Project_ID IS NULL AND ProjectValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid Project=" + no); - - // Set TrxOrg - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET AD_OrgTrx_ID=(SELECT o.AD_Org_ID FROM AD_Org o" - + " WHERE o.Value=i.OrgValue AND o.IsSummary='N' AND i.AD_Client_ID=o.AD_Client_ID) " - + "WHERE AD_OrgTrx_ID IS NULL AND OrgTrxValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set OrgTrx from Value=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid OrgTrx, '" - + "WHERE AD_OrgTrx_ID IS NULL AND OrgTrxValue IS NOT NULL" - + " AND (C_ValidCombination_ID IS NULL OR C_ValidCombination_ID=0) AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Invalid OrgTrx=" + no); - - - // Source Amounts - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET AmtSourceDr = 0 " - + "WHERE AmtSourceDr IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),null); - log.info ("doIt - Set 0 Source Dr=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET AmtSourceCr = 0 " - + "WHERE AmtSourceCr IS NULL" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Set 0 Source Cr=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_ErrorMsg=I_ErrorMsg||'WARN=Zero Source Balance, ' " - + "WHERE (AmtSourceDr-AmtSourceCr)=0" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Zero Source Balance=" + no); - - // Accounted Amounts (Only if No Error) - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET AmtAcctDr = ROUND(AmtSourceDr * CurrencyRate, 2) " // HARDCODED rounding - + "WHERE AmtAcctDr IS NULL OR AmtAcctDr=0" - + " AND I_IsImported='N'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Calculate Acct Dr=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET AmtAcctCr = ROUND(AmtSourceCr * CurrencyRate, 2) " - + "WHERE AmtAcctCr IS NULL OR AmtAcctCr=0" - + " AND I_IsImported='N'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - log.info ("doIt - Calculate Acct Cr=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_ErrorMsg=I_ErrorMsg||'WARN=Zero Acct Balance, ' " - + "WHERE (AmtSourceDr-AmtSourceCr)<>0 AND (AmtAcctDr-AmtAcctCr)=0" - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Zero Acct Balance=" + no); - sql = new StringBuffer ("UPDATE I_FAJournal i " - + "SET I_ErrorMsg=I_ErrorMsg||'WARN=Check Acct Balance, ' " - + "WHERE ABS(AmtAcctDr-AmtAcctCr)>100000000" // 100 mio - + " AND I_IsImported<>'Y'").append (clientCheck); - no = DB.executeUpdate (sql.toString (),get_TrxName()); - if (no != 0) - log.info ("doIt - Chack Acct Balance=" + no); - - - /*********************************************************************/ - - // Get Balance - sql = new StringBuffer ("SELECT SUM(AmtSourceDr)-SUM(AmtSourceCr), SUM(AmtAcctDr)-SUM(AmtAcctCr) " - + "FROM I_FAJournal " - + "WHERE I_IsImported='N'").append (clientCheck); - pstmt = null; - try - { - pstmt = DB.prepareStatement (sql.toString(),get_TrxName()); - rs = pstmt.executeQuery (); - if (rs.next ()) - { - BigDecimal source = rs.getBigDecimal(1); - BigDecimal acct = rs.getBigDecimal(2); - if (source != null && source.compareTo(Env.ZERO) == 0 - && acct != null && acct.compareTo(Env.ZERO) == 0) - log.info ("doIt - Import Balance = 0"); - else - log.info("doIt - Balance Source=" + source + ", Acct=" + acct); - if (source != null) - addLog (0, null, source, "@AmtSourceDr@ - @AmtSourceCr@"); - if (acct != null) - addLog (0, null, acct, "@AmtAcctDr@- @AmtAcctCr@"); - } - } - catch (SQLException ex) - { - log.info ("doIt - get balance"+ ex); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - - // Count Errors - int errors = DB.getSQLValue(get_TrxName(), "SELECT COUNT(*) FROM I_FAJournal WHERE I_IsImported NOT IN ('Y','N')" + clientCheck); - - if (errors != 0) - { - if (m_IsValidateOnly || m_IsImportOnlyNoErrors) - throw new Exception ("@Errors@=" + errors); - } - else if (m_IsValidateOnly) - return "@Errors@=" + errors; - - log.info("doIt - Validation Errors=" + errors); - - /*********************************************************************/ - - int noInsert = 0; - int noInsertJournal = 0; - int noInsertLine = 0; - //int oldA_Asset_Id = 0; - - MJournalBatch batch = null; // Change Batch per Batch DocumentNo - String BatchDocumentNo = ""; - MJournal journal = null; - String JournalDocumentNo = ""; - Timestamp DateAcct = null; - - // Go through Journal Records - sql = new StringBuffer ("SELECT * FROM I_FAJournal " - + "WHERE I_IsImported='N'").append (clientCheck) - .append(" ORDER BY BatchDocumentNo, JournalDocumentNo, C_AcctSchema_ID, PostingType, C_DocType_ID, GL_Category_ID, C_Currency_ID, TRUNC(DateAcct), Line, I_FAJournal_ID"); - try - { - pstmt = DB.prepareStatement (sql.toString (),get_TrxName()); - rs = pstmt.executeQuery (); - // - while (rs.next()) - { - MXIFAJournal imp = new MXIFAJournal (getCtx (), rs, get_TrxName()); - - // Batch - String impBatchDocumentNo = imp.getBatchDocumentNo(); - if (impBatchDocumentNo == null) - impBatchDocumentNo = ""; - if (batch == null || !BatchDocumentNo.equals(impBatchDocumentNo)) - { - BatchDocumentNo = impBatchDocumentNo; // cannot compare real DocumentNo - batch = new MJournalBatch (getCtx(), 0, get_TrxName()); - batch.setClientOrg(imp.getAD_Client_ID(), imp.getAD_OrgDoc_ID()); - if (imp.getBatchDocumentNo() != null && imp.getBatchDocumentNo().length() > 0) - batch.setDocumentNo (imp.getBatchDocumentNo()); - batch.setC_DocType_ID(imp.getC_DocType_ID()); - batch.setDateDoc(imp.getDateAcct()); - batch.setDateAcct(imp.getDateAcct()); - batch.setGL_Category_ID(imp.getGL_Category_ID()); - batch.setC_Period_ID(imp.getC_Period_ID()); - batch.setC_Currency_ID(imp.getC_Currency_ID()); - String description = imp.getBatchDescription(); - if (description == null || description.length() == 0) - description = "*Import-"; - else - description += " *Import-"; - description += new Timestamp(System.currentTimeMillis()); - batch.setDescription(description); - if (!batch.save()) - { - log.info("doIt - Batch not saved"); - break; - } - noInsert++; - journal = null; - } - // Journal - String impJournalDocumentNo = imp.getJournalDocumentNo(); - if (impJournalDocumentNo == null) - impJournalDocumentNo = ""; - Timestamp impDateAcct = TimeUtil.getDay(imp.getDateAcct()); - if (journal == null || !JournalDocumentNo.equals(impJournalDocumentNo) - || journal.getC_AcctSchema_ID() != imp.getC_AcctSchema_ID() - || journal.getC_DocType_ID() != imp.getC_DocType_ID() - || journal.getGL_Category_ID() != imp.getGL_Category_ID() - || !journal.getPostingType().equals(imp.getPostingType()) - || journal.getC_Currency_ID() != imp.getC_Currency_ID() - || !impDateAcct.equals(DateAcct) - ) - { - JournalDocumentNo = impJournalDocumentNo; // cannot compare real DocumentNo - DateAcct = impDateAcct; - journal = new MJournal (getCtx(), 0, get_TrxName()); - journal.setGL_JournalBatch_ID(batch.getGL_JournalBatch_ID()); - journal.setClientOrg(imp.getAD_Client_ID(), imp.getAD_OrgDoc_ID()); - // - String description = imp.getBatchDescription(); - if (description == null || description.length() == 0) - description = "(Import)"; - journal.setDescription (description); - if (imp.getJournalDocumentNo() != null && imp.getJournalDocumentNo().length() > 0) - journal.setDocumentNo (imp.getJournalDocumentNo()); - // - journal.setC_AcctSchema_ID (imp.getC_AcctSchema_ID()); - journal.setC_DocType_ID (imp.getC_DocType_ID()); - journal.setGL_Category_ID (imp.getGL_Category_ID()); - journal.setPostingType (imp.getPostingType()); - journal.setC_ConversionType_ID (imp.getC_ConversionType_ID()); - // - journal.setCurrency (imp.getC_Currency_ID(), imp.getC_ConversionType_ID(), imp.getCurrencyRate()); - // - journal.setC_Period_ID(imp.getC_Period_ID()); - journal.setDateAcct(imp.getDateAcct()); // sets Period if not defined - journal.setDateDoc (imp.getDateAcct()); - // - if (!journal.save()) - { - log.info("doIt - Journal not saved"); - break; - } - noInsertJournal++; - } - - // Lines - MJournalLine line = new MJournalLine (journal); - // - line.setDescription(imp.getDescription()); - line.setCurrency (imp.getC_Currency_ID(), imp.getC_ConversionType_ID(), imp.getCurrencyRate()); -// Set/Get Account Combination - if (imp.getC_ValidCombination_ID() == 0) - { - MAccount acct = MAccount.get(getCtx(), imp.getAD_Client_ID(), imp.getAD_Org_ID(), - imp.getC_AcctSchema_ID(), imp.getAccount_ID(),imp.getC_SubAcct_ID(), - //imp.getC_AcctSchema_ID(), imp.getAccount_ID(), - imp.getM_Product_ID(), imp.getC_BPartner_ID(), imp.getAD_OrgTrx_ID(), - imp.getC_LocFrom_ID(), imp.getC_LocTo_ID(), imp.getC_SalesRegion_ID(), - imp.getC_Project_ID(), imp.getC_Campaign_ID(), imp.getC_Activity_ID(), - imp.getUser1_ID(), imp.getUser2_ID(),imp.getUserElement1_ID(),imp.getUserElement2_ID()); - //imp.getUser1_ID(), imp.getUser2_ID()); - if (acct != null && acct.get_ID() == 0) - acct.saveEx(); - if (acct == null || acct.get_ID() == 0) - { - imp.setI_ErrorMsg("ERROR creating Account"); - imp.setI_IsImported(false); - imp.saveEx(); - continue; - } - else - { - line.setC_ValidCombination_ID(acct.get_ID()); - imp.setC_ValidCombination_ID(acct.get_ID()); - } - } - else - line.setC_ValidCombination_ID (imp.getC_ValidCombination_ID()); - // - line.setLine (imp.getLine()); - line.setAmtSourceCr (imp.getAmtSourceCr()); - line.setAmtSourceDr (imp.getAmtSourceDr()); - line.setAmtAcct (imp.getAmtAcctDr(), imp.getAmtAcctCr()); - line.setDateAcct (imp.getDateAcct()); - // - line.setC_UOM_ID(imp.getC_UOM_ID()); - line.setQty(imp.getQty()); - // - if (line.save()) - { - imp.setGL_JournalBatch_ID(batch.getGL_JournalBatch_ID()); - imp.setGL_Journal_ID(journal.getGL_Journal_ID()); - imp.setGL_JournalLine_ID(line.getGL_JournalLine_ID()); - imp.setI_IsImported(true); - imp.setProcessed(true); - sql = new StringBuffer ("UPDATE A_DEPRECIATION_WORKFILE " - +"SET A_ACCUMULATED_DEPR = A_ACCUMULATED_DEPR + ") - .append(imp.getExpenseDr()).append(" - ").append(imp.getExpenseCr()) - .append(", A_PERIOD_POSTED = A_CURRENT_PERIOD") - .append(", ASSETDEPRECIATIONDATE = ").append (DB.TO_DATE(imp.getDateAcct())) - .append(" WHERE A_ASSET_ID = ").append(imp.getA_Asset_ID()) - .append(" AND ISACTIVE = '").append(imp.getIsDepreciated()) - .append("' AND POSTINGTYPE = '").append(imp.getPostingType()) - .append("'"); - no = DB.executeUpdate(sql.toString(),get_TrxName()); - log.info("doIt - SET Accumulated Depreciation =" + no); - - // Copy Expense Worktable to Import Worktable - String impgetIsDepreciated = imp.getIsDepreciated(); - //impgetIsDepreciated = impgetIsDepreciated + "STOP"; - - if(impgetIsDepreciated.equals("Y")) - { - cs = DB.prepareCall("{call AD_Sequence_Next(?,?,?)}"); - cs.setString(1, "A_Asset_Change"); - cs.setInt(2,imp.getAD_Client_ID()); - cs.registerOutParameter(3, java.sql.Types.INTEGER); - cs.execute(); - - - MAssetChange assetChange = new MAssetChange (getCtx(), 0, get_TrxName()); - assetChange.setA_Asset_Change_ID(cs.getInt(3)); - assetChange.set_ValueOfColumn("AD_CLIENT_ID", imp.getAD_Client_ID()); - assetChange.setAD_Org_ID(imp.getAD_OrgDoc_ID()); - assetChange.set_ValueOfColumn("CREATEDBY", getAD_User_ID()); - assetChange.set_ValueOfColumn("UPDATEDBY", getAD_User_ID()); - assetChange.setChangeType("DEP"); - assetChange.setChangeAmt(imp.getAmtAcctTotal()); - assetChange.setA_Asset_ID(imp.getA_Asset_ID()); - assetChange.setTextDetails(imp.getDescription()); - assetChange.setC_ValidCombination_ID(imp.getC_ValidCombination_ID()); - assetChange.setDateAcct(imp.getDateAcct()); - assetChange.setPostingType(imp.getPostingType()); - assetChange.saveEx(); - - } - else if(impgetIsDepreciated.equals("B")) - { - cs = DB.prepareCall("{call AD_Sequence_Next(?,?,?)}"); - cs.setString(1, "A_Asset_Change"); - cs.setInt(2,imp.getAD_Client_ID()); - cs.registerOutParameter(3, java.sql.Types.INTEGER); - cs.execute(); - - MAssetChange assetChange = new MAssetChange (getCtx(), 0, get_TrxName()); - assetChange.setA_Asset_Change_ID(cs.getInt(3)); - assetChange.set_ValueOfColumn("AD_CLIENT_ID", imp.getAD_Client_ID()); - assetChange.setAD_Org_ID(imp.getAD_OrgDoc_ID()); - assetChange.set_ValueOfColumn("CREATEDBY", getAD_User_ID()); - assetChange.set_ValueOfColumn("UPDATEDBY", getAD_User_ID()); - assetChange.setChangeType("BUD"); - assetChange.setChangeAmt(imp.getAmtAcctTotal()); - assetChange.setA_Asset_ID(imp.getA_Asset_ID()); - assetChange.setTextDetails(imp.getDescription()); - assetChange.setC_ValidCombination_ID(imp.getC_ValidCombination_ID()); - assetChange.setDateAcct(imp.getDateAcct()); - assetChange.setPostingType(imp.getPostingType()); - assetChange.saveEx(); - - } - - - if (imp.save()) - noInsertLine++; - } - } - } - catch (Exception e) - { - log.severe("doIt"+ e); - } - // clean up - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - - // Set Error to indicator to not imported - sql = new StringBuffer ("UPDATE I_FAJournal " - + "SET I_IsImported='N', Updated=SysDate " - + "WHERE I_IsImported<>'Y'").append(clientCheck); - no = DB.executeUpdate(sql.toString(),get_TrxName()); - addLog (0, null, new BigDecimal (no), "@Errors@"); - // - addLog (0, null, new BigDecimal (noInsert), "@GL_JournalBatch_ID@: @Inserted@"); - addLog (0, null, new BigDecimal (noInsertJournal), "@GL_Journal_ID@: @Inserted@"); - addLog (0, null, new BigDecimal (noInsertLine), "@GL_JournalLine_ID@: @Inserted@"); - //int test = DB.getSQLValue("SELECT 2*2 from dual"); - - - String sql3 = null; - - sql3 = "SELECT A_ASSET.A_ASSET_ID, A_ASSET.ISFULLYDEPRECIATED, A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED, " - + "A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD " - + "FROM A_DEPRECIATION_WORKFILE,A_ASSET " - + "WHERE A_ASSET.A_ASSET_ID = A_DEPRECIATION_WORKFILE.A_ASSET_ID " - + "AND A_DEPRECIATION_WORKFILE.A_PERIOD_POSTED = A_DEPRECIATION_WORKFILE.A_LIFE_PERIOD "; - - try - { - pstmt = DB.prepareStatement(sql3,get_TrxName()); - rs = pstmt.executeQuery(); - while (rs.next()){ - - String sql4 = "UPDATE A_ASSET SET ISFULLYDEPRECIATED = 'Y' WHERE A_Asset_ID = " + rs.getInt("A_ASSET_ID"); - no = DB.executeUpdate (sql4,get_TrxName()); - } - } - catch (Exception e) - { - log.info("Post Depreciation"+ e); - } - finally - { - DB.close(rs, pstmt); - rs = null; pstmt = null; - } - return ""; - } // doIt - -} // ImportFAJournal2 diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_AssetAddition.java b/org.adempiere.base/src/org/compiere/acct/Doc_AssetAddition.java new file mode 100644 index 0000000000..0a64abd223 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/Doc_AssetAddition.java @@ -0,0 +1,180 @@ +package org.compiere.acct; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; + +import org.compiere.model.I_C_Project; +import org.compiere.model.I_C_Project_Acct; +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MAssetAcct; +import org.compiere.model.MAssetAddition; +import org.compiere.model.MCharge; +import org.compiere.model.MDocType; +import org.compiere.model.MProject; +import org.compiere.model.ProductCost; +import org.compiere.model.X_C_Project_Acct; +import org.compiere.util.DB; +import org.compiere.util.Env; + + +/** + * @author Teo_Sarca, SC ARHIPAC SERVICE SRL + */ +public class Doc_AssetAddition extends Doc +{ + public Doc_AssetAddition (MAcctSchema as, ResultSet rs, String trxName) + { + super(as, MAssetAddition.class, rs, MDocType.DOCBASETYPE_GLDocument, trxName); + } + + + protected String loadDocumentDetails() + { + return null; + } + + + public BigDecimal getBalance() + { + return Env.ZERO; + } + + /** + * Produce inregistrarea: + *
+	 *	20.., 21..[A_Asset_Acct]			=	23..[P_Asset_Acct/Project Acct]
+	 * 
+ */ + + public ArrayList createFacts(MAcctSchema as) + { + MAssetAddition assetAdd = getAssetAddition(); + ArrayList facts = new ArrayList(); + Fact fact = new Fact(this, as, assetAdd.getPostingType()); + facts.add(fact); + // + if (MAssetAddition.A_SOURCETYPE_Imported.equals(assetAdd.getA_SourceType()) + || MAssetAddition.A_CAPVSEXP_Expense.equals(assetAdd.getA_CapvsExp())) //@win prevent create journal if expense addition + { + // no accounting if is imported record + return facts; + } + // + BigDecimal assetValueAmt = assetAdd.getAssetValueAmt(); + FactLine[] fls = FactUtil.createSimpleOperation(fact, null, + getA_Asset_Acct(), getP_Asset_Acct(as), + as.getC_Currency_ID(), + assetValueAmt, + false); + // Set BPartner and C_Project dimension for "Imobilizari in curs / Property Being" + final int invoiceBP_ID = getInvoicePartner_ID(); + final int invoiceProject_ID = getInvoiceProject_ID(); + if (invoiceBP_ID > 0) + { + fls[1].setC_BPartner_ID(invoiceBP_ID); + } + if (invoiceProject_ID >0) + { + fls[1].setC_Project_ID(invoiceProject_ID); + } + // + return facts; + } + + private MAssetAddition getAssetAddition() + { + return (MAssetAddition)getPO(); + } + + private MAccount getP_Asset_Acct(MAcctSchema as) + { + MAssetAddition assetAdd = getAssetAddition(); + // Source Account + MAccount pAssetAcct = null; + if (MAssetAddition.A_SOURCETYPE_Project.equals(assetAdd.getA_SourceType())) + { + I_C_Project prj = assetAdd.getC_Project(); + return getProjectAcct(prj, as); + } + else if (MAssetAddition.A_SOURCETYPE_Manual.equals(assetAdd.getA_SourceType()) + && getC_Charge_ID() > 0) // backward compatibility: only if charge defined; if not fallback to product account + { + pAssetAcct = MCharge.getAccount(getC_Charge_ID(), as, null); + return pAssetAcct; + } + else if (MAssetAddition.A_SOURCETYPE_Invoice.equals(assetAdd.getA_SourceType()) + && assetAdd.getC_InvoiceLine().getC_Project_ID() > 0) + { + I_C_Project prj = assetAdd.getC_InvoiceLine().getC_Project(); + return getProjectAcct(prj, as); + } + else + { + pAssetAcct = getP_Expense_Acct(assetAdd.getM_Product_ID(), as); + } + // + return pAssetAcct; + } + + public MAccount getP_Expense_Acct(int M_Product_ID, MAcctSchema as) + { + ProductCost pc = new ProductCost(getCtx(), M_Product_ID, 0, null); + return pc.getAccount(ProductCost.ACCTTYPE_P_Expense, as); + } + + + private MAccount getProjectAcct(I_C_Project prj, MAcctSchema as) + { + // TODO: keep in sync with org.compiere.acct.Doc_ProjectIssue.createFacts(MAcctSchema) logic + String projectCategory = prj.getProjectCategory(); + String acctName = X_C_Project_Acct.COLUMNNAME_PJ_WIP_Acct; + if (MProject.PROJECTCATEGORY_AssetProject.equals(projectCategory)) + acctName = X_C_Project_Acct.COLUMNNAME_PJ_Asset_Acct; + // + String sql = "SELECT "+acctName + + " FROM "+I_C_Project_Acct.Table_Name + + " WHERE "+I_C_Project_Acct.COLUMNNAME_C_Project_ID+"=?" + +" AND "+I_C_Project_Acct.COLUMNNAME_C_AcctSchema_ID+"=?" + ; + int acct_id = DB.getSQLValueEx(getTrxName(), sql, prj.getC_Project_ID(), as.get_ID()); + return MAccount.get(getCtx(), acct_id); + } + + private MAccount getA_Asset_Acct() + { + MAssetAddition assetAdd = getAssetAddition(); + int acct_id = MAssetAcct + .forA_Asset_ID(getCtx(), assetAdd.getA_Asset_ID(), assetAdd.getPostingType(), assetAdd.getDateAcct(), null) + .getA_Asset_Acct(); + return MAccount.get(getCtx(), acct_id); + } + + public int getInvoicePartner_ID() + { + MAssetAddition assetAdd = getAssetAddition(); + if (MAssetAddition.A_SOURCETYPE_Invoice.equals(assetAdd.getA_SourceType()) + && assetAdd.getC_Invoice_ID() > 0) + { + return assetAdd.getC_Invoice().getC_BPartner_ID(); + } + else + { + return 0; + } + } + public int getInvoiceProject_ID() + { + MAssetAddition assetAdd = getAssetAddition(); + if (MAssetAddition.A_SOURCETYPE_Invoice.equals(assetAdd.getA_SourceType()) + && assetAdd.getC_Invoice_ID() > 0) + { + return assetAdd.getC_InvoiceLine().getC_Project_ID(); + } + else + { + return 0; + } + } +} diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_AssetDisposed.java b/org.adempiere.base/src/org/compiere/acct/Doc_AssetDisposed.java new file mode 100644 index 0000000000..5527c497ef --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/Doc_AssetDisposed.java @@ -0,0 +1,74 @@ +package org.compiere.acct; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; + +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MAssetAcct; +import org.compiere.model.MAssetDisposed; +import org.compiere.model.MDocType; +import org.compiere.util.Env; + + +/** + * @author Teo_Sarca, SC ARHIPAC SERVICE SRL + */ +public class Doc_AssetDisposed extends Doc +{ + /** + * @param ass + * @param clazz + * @param rs + * @param defaultDocumentType + * @param trxName + */ + public Doc_AssetDisposed (MAcctSchema as, ResultSet rs, String trxName) + { + super(as, MAssetDisposed.class, rs, MDocType.DOCBASETYPE_GLDocument, trxName); + } + + + protected String loadDocumentDetails() + { + return null; + } + + + public BigDecimal getBalance() + { + return Env.ZERO; + } + + + public ArrayList createFacts(MAcctSchema as) + { + MAssetDisposed assetDisp = (MAssetDisposed)getPO(); + + ArrayList facts = new ArrayList(); + Fact fact = new Fact(this, as, assetDisp.getPostingType()); + facts.add(fact); + // + fact.createLine(null, getAccount(MAssetAcct.COLUMNNAME_A_Asset_Acct) + , as.getC_Currency_ID() + , Env.ZERO, assetDisp.getA_Disposal_Amt()); + fact.createLine(null, getAccount(MAssetAcct.COLUMNNAME_A_Accumdepreciation_Acct) + , as.getC_Currency_ID() + , assetDisp.getA_Accumulated_Depr_Delta(), Env.ZERO); + fact.createLine(null, getAccount(MAssetAcct.COLUMNNAME_A_Disposal_Loss_Acct) + , as.getC_Currency_ID() + , assetDisp.getExpense(), Env.ZERO); + // + return facts; + } + + private MAccount getAccount(String accountName) + { + MAssetDisposed assetDisp = (MAssetDisposed)getPO(); + MAssetAcct assetAcct = MAssetAcct.forA_Asset_ID(getCtx(), assetDisp.getA_Asset_ID(), assetDisp.getPostingType(), assetDisp.getDateAcct(),null); + int account_id = (Integer)assetAcct.get_Value(accountName); + return MAccount.get(getCtx(), account_id); + } + +} diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_AssetReval.java b/org.adempiere.base/src/org/compiere/acct/Doc_AssetReval.java new file mode 100644 index 0000000000..1c73d5b089 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/Doc_AssetReval.java @@ -0,0 +1,95 @@ +package org.compiere.acct; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; + +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MAssetAcct; +import org.compiere.model.MAssetReval; +import org.compiere.model.MDocType; +import org.compiere.util.Env; + + +/** + * @author Anca Bradau www.arhipac.ro + * + */ +public class Doc_AssetReval extends Doc +{ + + + private final String POSTINGTYPE_Actual = "A"; + public Doc_AssetReval (MAcctSchema as, ResultSet rs, String trxName) + { + super(as, MAssetReval.class, rs, MDocType.DOCBASETYPE_GLJournal, trxName); + } + + + public ArrayList createFacts(MAcctSchema as) + { + MAssetAcct assetAcct = getAssetAcct(); + MAssetReval assetRe = getAssetReval(); + + ArrayList facts = new ArrayList(); + Fact fact = new Fact(this, as, assetAcct.getPostingType()); + facts.add(fact); + + MAccount dr = MAccount.get(getCtx(), assetAcct.getA_Asset_Acct()); + MAccount cr = MAccount.get(getCtx(), assetAcct.getA_Reval_Cost_Offset_Acct()); + FactUtil.createSimpleOperation(fact, null, dr, cr, as.getC_Currency_ID(), + assetRe.getA_Asset_Cost_Change().subtract(assetRe.getA_Asset_Cost()), false); + + + MAccount drd = MAccount.get(getCtx(), assetAcct.getA_Reval_Cost_Offset_Acct()); + MAccount crd = MAccount.get(getCtx(), assetAcct.getA_Accumdepreciation_Acct()); + FactUtil.createSimpleOperation(fact, null, drd, crd, as.getC_Currency_ID(), + assetRe.getA_Change_Acumulated_Depr().subtract(assetRe.getA_Accumulated_Depr()), false); + + + return facts; + } + + + public BigDecimal getBalance() + { + return Env.ZERO; + } + + + protected String loadDocumentDetails() + { + return null; + } + public String getPostingType() + { + return POSTINGTYPE_Actual; + } + + private MAssetAcct getAssetAcct() + { + return MAssetAcct.forA_Asset_ID(getCtx(), getA_Asset_ID(), getPostingType() , getDateAcct(), null); + } + private MAssetReval getAssetReval() + { + return (MAssetReval)getPO(); + } + + /** + * Get A_Asset_ID + * @return Asset + */ + public int getA_Asset_ID() + { + int index = p_po.get_ColumnIndex("A_Asset_ID"); + if (index != -1) + { + Integer ii = (Integer)p_po.get_Value(index); + if (ii != null) + return ii.intValue(); + } + return 0; + } + +} diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_AssetTransfer.java b/org.adempiere.base/src/org/compiere/acct/Doc_AssetTransfer.java new file mode 100644 index 0000000000..1506f7d346 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/Doc_AssetTransfer.java @@ -0,0 +1,95 @@ +package org.compiere.acct; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; + +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MAssetTransfer; +import org.compiere.model.MDepreciationWorkfile; +import org.compiere.model.MDocType; +import org.compiere.util.Env; + + +/** + * @author Anca Bradau www.arhipac.ro + * + */ +public class Doc_AssetTransfer extends Doc +{ + + public Doc_AssetTransfer (MAcctSchema as, ResultSet rs, String trxName) + { + super(as, MAssetTransfer.class, rs, MDocType.DOCBASETYPE_GLJournal, trxName); + } + + + protected String loadDocumentDetails() + { + // Fix C_Period_ID +// MAssetTransfer assetTr = getAssetTransfer(); +// assetTr.setC_Period_ID(); +// assetTr.saveEx(); + + return null; + } + + + public BigDecimal getBalance() { + return Env.ZERO; + } + /** + * Produce inregistrarea: + *
+	 *	20.., 21..[A_Asset_New_Acct]			=	23..[A_Asset_Acct]		
+	 * 
+ */ + + public ArrayList createFacts(MAcctSchema as) + { + MAssetTransfer assetTr = getAssetTransfer(); + MDepreciationWorkfile wk = getAssetWorkfile(); + //MDepreciationExp exp = getExpense(); + + ArrayList facts = new ArrayList(); + Fact fact = new Fact(this, as, assetTr.getPostingType()); + facts.add(fact); + // + // Change Asset Account + if (assetTr.getA_Asset_New_Acct() != assetTr.getA_Asset_Acct()) + { + MAccount dr = MAccount.get(getCtx(), assetTr.getA_Asset_New_Acct()); + MAccount cr = MAccount.get(getCtx(), assetTr.getA_Asset_Acct()); + FactUtil.createSimpleOperation(fact, null, dr, cr, as.getC_Currency_ID(), + wk.getA_Asset_Cost(), false); + } + // + // Change Asset Accum. Depr. Account + if (assetTr.getA_Accumdepreciation_New_Acct() != assetTr.getA_Accumdepreciation_Acct()) + { + MAccount cr = MAccount.get(getCtx(), assetTr.getA_Accumdepreciation_New_Acct()); + MAccount dr = MAccount.get(getCtx(), assetTr.getA_Accumdepreciation_Acct()); + FactUtil.createSimpleOperation(fact, null, dr, cr, as.getC_Currency_ID(), + wk.getA_Accumulated_Depr(), false); + //exp.getA_Accumulated_Depr(), false); + } + // + return facts; + } + /*private MDepreciationExp getExpense() { + + return MDepreciationExp.get(getCtx(), 1712112); + }*/ + + private MAssetTransfer getAssetTransfer() + { + return (MAssetTransfer)getPO(); + } + private MDepreciationWorkfile getAssetWorkfile() + { + MAssetTransfer assetTr = getAssetTransfer(); + return MDepreciationWorkfile.get(getCtx(), assetTr.getA_Asset_ID(), assetTr.getPostingType(), getTrxName()); + } + +} diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_DepreciationEntry.java b/org.adempiere.base/src/org/compiere/acct/Doc_DepreciationEntry.java new file mode 100644 index 0000000000..708d18634e --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/Doc_DepreciationEntry.java @@ -0,0 +1,90 @@ +package org.compiere.acct; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Iterator; + +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MDepreciationEntry; +import org.compiere.model.MDepreciationExp; +import org.compiere.util.Env; + + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * @version $Id$ + * + */ +public class Doc_DepreciationEntry extends Doc +{ + /** + * Constructor + * @param ass accounting schemata + * @param rs record + * @parem trxName trx + */ + public Doc_DepreciationEntry (MAcctSchema as, ResultSet rs, String trxName) + { + super(as, MDepreciationEntry.class, rs, null, trxName); + } // Doc_A_Depreciation_Entry + + /** Posting Type */ + private String m_PostingType = null; + private int m_C_AcctSchema_ID = 0; + + + protected String loadDocumentDetails () + { + MDepreciationEntry entry = (MDepreciationEntry)getPO(); + m_PostingType = entry.getPostingType(); + m_C_AcctSchema_ID = entry.getC_AcctSchema_ID(); + + return null; + } + + private DocLine createLine(MDepreciationExp depexp) + { + if (!depexp.isProcessed()) + return null; + DocLine docLine = new DocLine (depexp, this); + return docLine; + } + + + public BigDecimal getBalance() + { + BigDecimal retValue = Env.ZERO; + return retValue; + } // getBalance + + + public ArrayList createFacts (MAcctSchema as) + { + ArrayList facts = new ArrayList(); + // Other Acct Schema + if (as.getC_AcctSchema_ID() != m_C_AcctSchema_ID) + return facts; + + // create Fact Header + Fact fact = new Fact (this, as, m_PostingType); + + MDepreciationEntry entry = (MDepreciationEntry)getPO(); + Iterator it = entry.getLinesIterator(false); + while(it.hasNext()) + { + MDepreciationExp depexp = it.next(); + DocLine line = createLine(depexp); + BigDecimal expenseAmt = depexp.getExpense(); + // + MAccount dr_acct = MAccount.get(getCtx(), depexp.getDR_Account_ID()); + MAccount cr_acct = MAccount.get(getCtx(), depexp.getCR_Account_ID()); + FactUtil.createSimpleOperation(fact, line, dr_acct, cr_acct, as.getC_Currency_ID(), expenseAmt, false); + } + // + facts.add(fact); + return facts; + } +} + diff --git a/org.adempiere.base/src/org/compiere/acct/FactUtil.java b/org.adempiere.base/src/org/compiere/acct/FactUtil.java new file mode 100644 index 0000000000..309eb15897 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/acct/FactUtil.java @@ -0,0 +1,65 @@ +/** + * + */ +package org.compiere.acct; + +import java.math.BigDecimal; + +import org.compiere.model.MAccount; + +/** + * @author ancu + * + */ +public final class FactUtil +{ + + /** + * Create a simple acct transaction, as fellows: + *
+	 * if signSensitive == true then
+	 * 	if amt >= 0
+	 * 		account_DR	DR			 amt
+	 * 		account_CR		CR		 amt
+	 *	if amt < 0
+	 * 		account_CR	DR			-amt
+	 * 		account_DR		CR		-amt
+	 * if signSensitive == false then:
+	 *		account_DR	DR			 amt
+	 *		account_CR		CR		-amt
+	 *		(same as when signSensitive==true and amt>=0)
+	 * 
+ * Note: + *
    + *
  • Operation index is automatically incremented + *
+ * @param docLine Document line or null + * @param account_DR DR account + * @param account_CR CR account + * @param C_Currency_ID Currency + * @param Amt amount + * @param signSensitive if true, the DR and CR account will switch when amount is negative + * @return resulting two fact lines + * @category arhipac + */ + public static FactLine[] createSimpleOperation ( + Fact fact, + DocLine docLine, + MAccount account_DR, MAccount account_CR, + int C_Currency_ID, BigDecimal amt, boolean signSensitive) + { + FactLine[] lines = new FactLine[2]; + //newTrxIndex(); + if (signSensitive) { + lines[0] = fact.createLine(docLine, account_DR, C_Currency_ID, amt); + lines[1] = fact.createLine(docLine, account_CR, C_Currency_ID, amt.negate()); + } + else { + lines[0] = fact.createLine(docLine, account_DR, C_Currency_ID, amt, null); + lines[1] = fact.createLine(docLine, account_CR, C_Currency_ID, null, amt); + } + //newTrxIndex(); + // + return lines; + } // createLine +} diff --git a/org.adempiere.base/src/org/compiere/model/GridTable.java b/org.adempiere.base/src/org/compiere/model/GridTable.java index f086aef7bd..b25465508e 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTable.java +++ b/org.adempiere.base/src/org/compiere/model/GridTable.java @@ -94,7 +94,7 @@ public class GridTable extends AbstractTableModel /** * */ - private static final long serialVersionUID = 4648364477309024202L; + private static final long serialVersionUID = 2328810326636468776L; public static final String DATA_REFRESH_MESSAGE = "Refreshed"; @@ -2040,10 +2040,12 @@ public class GridTable extends AbstractTableModel // MTable table = MTable.get (m_ctx, m_AD_Table_ID); PO po = null; + if (! m_importing) // Just use trx when importing + m_trxName = null; if (Record_ID != -1) - po = table.getPO(Record_ID, null); + po = table.getPO(Record_ID, m_trxName); else // Multi - Key - po = table.getPO(getWhereClause(rowData), null); + po = table.getPO(getWhereClause(rowData), m_trxName); // No Persistent Object if (po == null) throw new ClassNotFoundException ("No Persistent Object"); @@ -2374,6 +2376,10 @@ public class GridTable extends AbstractTableModel /** LOB Info */ private ArrayList m_lobInfo = null; + // IDEMPIERE-454 Easy import + private boolean m_importing = false; + private String m_trxName = null; + /** * Reset LOB info */ @@ -3707,10 +3713,19 @@ public class GridTable extends AbstractTableModel PO po = null; int Record_ID = getKeyID(row); if (Record_ID != -1) - po = table.getPO(Record_ID, null); + po = table.getPO(Record_ID, m_trxName); else // Multi - Key - po = table.getPO(getWhereClause(getDataAtRow(row)), null); + po = table.getPO(getWhereClause(getDataAtRow(row)), m_trxName); return po; } + + public void setImportingMode(boolean importing, String trxName) { + m_importing = importing; + m_trxName = trxName; + } + + public boolean isImporting() { + return m_importing; + } } diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset.java index 3bdd9a05ca..8f2d398ed3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset.java @@ -31,7 +31,7 @@ public interface I_A_Asset public static final String Table_Name = "A_Asset"; /** AD_Table_ID=539 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 539; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -41,13 +41,33 @@ public interface I_A_Asset /** Load Meta Data */ + /** Column name A_Asset_Action */ + public static final String COLUMNNAME_A_Asset_Action = "A_Asset_Action"; + + /** Set Asset Action */ + public void setA_Asset_Action (String A_Asset_Action); + + /** Get Asset Action */ + public String getA_Asset_Action(); + + /** Column name A_Asset_Class_ID */ + public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID"; + + /** Set Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID); + + /** Get Asset class */ + public int getA_Asset_Class_ID(); + + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException; + /** Column name A_Asset_CreateDate */ public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate"; - /** Set Asset Creation Date */ + /** Set Create Date */ public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate); - /** Get Asset Creation Date */ + /** Get Create Date */ public Timestamp getA_Asset_CreateDate(); /** Column name A_Asset_Group_ID */ @@ -63,7 +83,7 @@ public interface I_A_Asset */ public int getA_Asset_Group_ID(); - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException; /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -81,12 +101,50 @@ public interface I_A_Asset /** Column name A_Asset_RevalDate */ public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate"; - /** Set Asset Reval. Date */ + /** Set Revaluation Date */ public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate); - /** Get Asset Reval. Date */ + /** Get Revaluation Date */ public Timestamp getA_Asset_RevalDate(); + /** Column name A_Asset_Status */ + public static final String COLUMNNAME_A_Asset_Status = "A_Asset_Status"; + + /** Set Asset Status */ + public void setA_Asset_Status (String A_Asset_Status); + + /** Get Asset Status */ + public String getA_Asset_Status(); + + /** Column name A_AssetType */ + public static final String COLUMNNAME_A_AssetType = "A_AssetType"; + + /** Set Asset Type */ + public void setA_AssetType (String A_AssetType); + + /** Get Asset Type */ + public String getA_AssetType(); + + /** Column name A_Asset_Type_ID */ + public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID"; + + /** Set Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID); + + /** Get Asset Type */ + public int getA_Asset_Type_ID(); + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException; + + /** Column name A_Asset_UU */ + public static final String COLUMNNAME_A_Asset_UU = "A_Asset_UU"; + + /** Set A_Asset_UU */ + public void setA_Asset_UU (String A_Asset_UU); + + /** Get A_Asset_UU */ + public String getA_Asset_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -121,37 +179,46 @@ public interface I_A_Asset */ public int getAD_User_ID(); - public I_AD_User getAD_User() throws RuntimeException; + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException; /** Column name A_Parent_Asset_ID */ public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; - /** Set Asset ID */ + /** Set Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); - /** Get Asset ID */ + /** Get Parent Asset */ public int getA_Parent_Asset_ID(); - public I_A_Asset getA_Parent_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException; /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public BigDecimal getA_QTY_Current(); /** Column name A_QTY_Original */ public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; - /** Set Original Qty */ + /** Set A_QTY_Original */ public void setA_QTY_Original (BigDecimal A_QTY_Original); - /** Get Original Qty */ + /** Get A_QTY_Original */ public BigDecimal getA_QTY_Original(); + /** Column name AssetActivationDate */ + public static final String COLUMNNAME_AssetActivationDate = "AssetActivationDate"; + + /** Set Activation Date */ + public void setAssetActivationDate (Timestamp AssetActivationDate); + + /** Get Activation Date */ + public Timestamp getAssetActivationDate(); + /** Column name AssetDepreciationDate */ public static final String COLUMNNAME_AssetDepreciationDate = "AssetDepreciationDate"; @@ -191,6 +258,21 @@ public interface I_A_Asset */ public Timestamp getAssetServiceDate(); + /** Column name C_Activity_ID */ + public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; + + /** Set Activity. + * Business Activity + */ + public void setC_Activity_ID (int C_Activity_ID); + + /** Get Activity. + * Business Activity + */ + public int getC_Activity_ID(); + + public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException; + /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -204,7 +286,7 @@ public interface I_A_Asset */ public int getC_BPartner_ID(); - public I_C_BPartner getC_BPartner() throws RuntimeException; + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException; /** Column name C_BPartner_Location_ID */ public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; @@ -219,7 +301,7 @@ public interface I_A_Asset */ public int getC_BPartner_Location_ID(); - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; /** Column name C_BPartnerSR_ID */ public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; @@ -234,7 +316,7 @@ public interface I_A_Asset */ public int getC_BPartnerSR_ID(); - public I_C_BPartner getC_BPartnerSR() throws RuntimeException; + public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException; /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -264,7 +346,7 @@ public interface I_A_Asset */ public int getC_Project_ID(); - public I_C_Project getC_Project() throws RuntimeException; + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -321,6 +403,15 @@ public interface I_A_Asset */ public String getHelp(); + /** Column name InventoryNo */ + public static final String COLUMNNAME_InventoryNo = "InventoryNo"; + + /** Set Inventory No */ + public void setInventoryNo (String InventoryNo); + + /** Get Inventory No */ + public String getInventoryNo(); + /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -451,7 +542,7 @@ public interface I_A_Asset */ public int getLease_BPartner_ID(); - public I_C_BPartner getLease_BPartner() throws RuntimeException; + public org.compiere.model.I_C_BPartner getLease_BPartner() throws RuntimeException; /** Column name LeaseTerminationDate */ public static final String COLUMNNAME_LeaseTerminationDate = "LeaseTerminationDate"; @@ -505,6 +596,28 @@ public interface I_A_Asset */ public String getLot(); + /** Column name ManufacturedYear */ + public static final String COLUMNNAME_ManufacturedYear = "ManufacturedYear"; + + /** Set Manufactured Year */ + public void setManufacturedYear (int ManufacturedYear); + + /** Get Manufactured Year */ + public int getManufacturedYear(); + + /** Column name Manufacturer */ + public static final String COLUMNNAME_Manufacturer = "Manufacturer"; + + /** Set Manufacturer. + * Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer); + + /** Get Manufacturer. + * Manufacturer of the Product + */ + public String getManufacturer(); + /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -533,7 +646,7 @@ public interface I_A_Asset */ public int getM_InOutLine_ID(); - public I_M_InOutLine getM_InOutLine() throws RuntimeException; + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException; /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -563,7 +676,7 @@ public interface I_A_Asset */ public int getM_Product_ID(); - public I_M_Product getM_Product() throws RuntimeException; + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; @@ -581,13 +694,13 @@ public interface I_A_Asset /** Column name NextMaintenenceDate */ public static final String COLUMNNAME_NextMaintenenceDate = "NextMaintenenceDate"; - /** Set Next Maintenance. - * Next Maintenance Date + /** Set Next Maintenence. + * Next Maintenence Date */ public void setNextMaintenenceDate (Timestamp NextMaintenenceDate); - /** Get Next Maintenance. - * Next Maintenance Date + /** Get Next Maintenence. + * Next Maintenence Date */ public Timestamp getNextMaintenenceDate(); @@ -595,15 +708,28 @@ public interface I_A_Asset public static final String COLUMNNAME_NextMaintenenceUnit = "NextMaintenenceUnit"; /** Set Next Unit. - * Next Maintenance Unit + * Next Maintenence Unit */ public void setNextMaintenenceUnit (int NextMaintenenceUnit); /** Get Next Unit. - * Next Maintenance Unit + * Next Maintenence Unit */ public int getNextMaintenenceUnit(); + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java index e770a0ba4a..ab4f341698 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Acct public static final String Table_Name = "A_Asset_Acct"; /** AD_Table_ID=53123 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53123; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,10 +44,10 @@ public interface I_A_Asset_Acct /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; - /** Set Accumulated Depreciation */ + /** Set Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); - /** Get Accumulated Depreciation */ + /** Get Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct(); public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; @@ -55,10 +55,10 @@ public interface I_A_Asset_Acct /** Column name A_Asset_Acct */ public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; - /** Set Asset Cost Account */ + /** Set Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct); - /** Get Asset Cost Account */ + /** Get Asset Acct */ public int getA_Asset_Acct(); public I_C_ValidCombination getA_Asset_A() throws RuntimeException; @@ -66,12 +66,21 @@ public interface I_A_Asset_Acct /** Column name A_Asset_Acct_ID */ public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; - /** Set Asset Acct. */ + /** Set A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); - /** Get Asset Acct. */ + /** Get A_Asset_Acct_ID */ public int getA_Asset_Acct_ID(); + /** Column name A_Asset_Acct_UU */ + public static final String COLUMNNAME_A_Asset_Acct_UU = "A_Asset_Acct_UU"; + + /** Set A_Asset_Acct_UU */ + public void setA_Asset_Acct_UU (String A_Asset_Acct_UU); + + /** Get A_Asset_Acct_UU */ + public String getA_Asset_Acct_UU(); + /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -85,16 +94,18 @@ public interface I_A_Asset_Acct */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_Asset_Spread_ID */ public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID"; - /** Set Asset Spread */ + /** Set A_Asset_Spread_ID */ public void setA_Asset_Spread_ID (int A_Asset_Spread_ID); - /** Get Asset Spread */ + /** Get A_Asset_Spread_ID */ public int getA_Asset_Spread_ID(); - public I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException; + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException; /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -107,14 +118,25 @@ public interface I_A_Asset_Acct /** Column name A_Depreciation_Acct */ public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; - /** Set Depreciation Expense Account */ + /** Set Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct); - /** Get Depreciation Expense Account */ + /** Get Depreciation Account */ public int getA_Depreciation_Acct(); public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; + /** Column name A_Depreciation_Conv_F_ID */ + public static final String COLUMNNAME_A_Depreciation_Conv_F_ID = "A_Depreciation_Conv_F_ID"; + + /** Set Depreciation Convention (fiscal) */ + public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID); + + /** Get Depreciation Convention (fiscal) */ + public int getA_Depreciation_Conv_F_ID(); + + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException; + /** Column name A_Depreciation_Conv_ID */ public static final String COLUMNNAME_A_Depreciation_Conv_ID = "A_Depreciation_Conv_ID"; @@ -124,68 +146,99 @@ public interface I_A_Asset_Acct /** Get Convention Type */ public int getA_Depreciation_Conv_ID(); - public I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException; + + /** Column name A_Depreciation_F_ID */ + public static final String COLUMNNAME_A_Depreciation_F_ID = "A_Depreciation_F_ID"; + + /** Set Depreciation (fiscal) */ + public void setA_Depreciation_F_ID (int A_Depreciation_F_ID); + + /** Get Depreciation (fiscal) */ + public int getA_Depreciation_F_ID(); + + public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException; /** Column name A_Depreciation_ID */ public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; - /** Set Depreciation Type */ + /** Set Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID); - /** Get Depreciation Type */ + /** Get Depreciation */ public int getA_Depreciation_ID(); - public I_A_Depreciation getA_Depreciation() throws RuntimeException; + public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException; /** Column name A_Depreciation_Manual_Amount */ public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; - /** Set Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); - /** Get Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount(); /** Column name A_Depreciation_Manual_Period */ public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; - /** Set Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); - /** Get Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period(); + /** Column name A_Depreciation_Method_F_ID */ + public static final String COLUMNNAME_A_Depreciation_Method_F_ID = "A_Depreciation_Method_F_ID"; + + /** Set Depreciation Method (fiscal) */ + public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID); + + /** Get Depreciation Method (fiscal) */ + public int getA_Depreciation_Method_F_ID(); + + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException; + /** Column name A_Depreciation_Method_ID */ public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID"; - /** Set Depreciation Calculation Type */ + /** Set Depreciation Method */ public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID); - /** Get Depreciation Calculation Type */ + /** Get Depreciation Method */ public int getA_Depreciation_Method_ID(); - public I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException; /** Column name A_Depreciation_Table_Header_ID */ public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; - /** Set Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); - /** Get Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID(); - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; /** Column name A_Depreciation_Variable_Perc */ public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; - /** Set Depreciation Variable Perc. */ + /** Set Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); - /** Get Depreciation Variable Perc. */ + /** Get Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc(); + /** Column name A_Depreciation_Variable_Perc_F */ + public static final String COLUMNNAME_A_Depreciation_Variable_Perc_F = "A_Depreciation_Variable_Perc_F"; + + /** Set Variable Percent (fiscal) */ + public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F); + + /** Get Variable Percent (fiscal) */ + public BigDecimal getA_Depreciation_Variable_Perc_F(); + /** Column name A_Disposal_Gain */ public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain"; @@ -197,6 +250,17 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Disposal_G() throws RuntimeException; + /** Column name A_Disposal_Gain_Acct */ + public static final String COLUMNNAME_A_Disposal_Gain_Acct = "A_Disposal_Gain_Acct"; + + /** Set Disposal Gain Acct */ + public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct); + + /** Get Disposal Gain Acct */ + public int getA_Disposal_Gain_Acct(); + + public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException; + /** Column name A_Disposal_Loss */ public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; @@ -208,6 +272,17 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; + /** Column name A_Disposal_Loss_Acct */ + public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct"; + + /** Set Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct); + + /** Get Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct(); + + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException; + /** Column name A_Disposal_Revenue */ public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; @@ -219,6 +294,17 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; + /** Column name A_Disposal_Revenue_Acct */ + public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct"; + + /** Set Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct); + + /** Get Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct(); + + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException; + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -235,19 +321,19 @@ public interface I_A_Asset_Acct /** Column name A_Period_End */ public static final String COLUMNNAME_A_Period_End = "A_Period_End"; - /** Set Period End */ + /** Set A_Period_End */ public void setA_Period_End (int A_Period_End); - /** Get Period End */ + /** Get A_Period_End */ public int getA_Period_End(); /** Column name A_Period_Start */ public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; - /** Set Period Start */ + /** Set A_Period_Start */ public void setA_Period_Start (int A_Period_Start); - /** Get Period Start */ + /** Get A_Period_Start */ public int getA_Period_Start(); /** Column name A_Reval_Accumdep_Offset_Cur */ @@ -272,13 +358,35 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException; + /** Column name A_Reval_Adep_Offset_Cur_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct"; + + /** Set A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct); + + /** Get A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct(); + + public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException; + + /** Column name A_Reval_Adep_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct"; + + /** Set A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct); + + /** Get A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct(); + + public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException; + /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; - /** Set Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); - /** Get Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method */ public String getA_Reval_Cal_Method(); /** Column name A_Reval_Cost_Offset */ @@ -292,6 +400,17 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct"; + + /** Set Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct); + + /** Get Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct(); + + public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Prior */ public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; @@ -303,6 +422,17 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct"; + + /** Set Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct); + + /** Get Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct(); + + public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException; + /** Column name A_Reval_Depexp_Offset */ public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; @@ -314,22 +444,33 @@ public interface I_A_Asset_Acct public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException; + /** Column name A_Reval_Depexp_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct"; + + /** Set Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct); + + /** Get Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct(); + + public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException; + /** Column name A_Salvage_Value */ public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; - /** Set Salvage Value */ + /** Set Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value); - /** Get Salvage Value */ + /** Get Asset Salvage Value */ public BigDecimal getA_Salvage_Value(); /** Column name A_Split_Percent */ public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; - /** Set Split Percentage */ + /** Set Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent); - /** Get Split Percentage */ + /** Get Split Percent */ public BigDecimal getA_Split_Percent(); /** Column name C_AcctSchema_ID */ @@ -345,7 +486,7 @@ public interface I_A_Asset_Acct */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -413,4 +554,17 @@ public interface I_A_Asset_Acct * User who updated this records */ public int getUpdatedBy(); + + /** Column name ValidFrom */ + public static final String COLUMNNAME_ValidFrom = "ValidFrom"; + + /** Set Valid from. + * Valid from including this date (first day) + */ + public void setValidFrom (Timestamp ValidFrom); + + /** Get Valid from. + * Valid from including this date (first day) + */ + public Timestamp getValidFrom(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java index 7387f220e3..acc8cd9526 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java @@ -31,16 +31,43 @@ public interface I_A_Asset_Addition public static final String Table_Name = "A_Asset_Addition"; /** AD_Table_ID=53137 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53137; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); - /** AccessLevel = 7 - System - Client - Org + /** AccessLevel = 3 - Client - Org */ - BigDecimal accessLevel = BigDecimal.valueOf(7); + BigDecimal accessLevel = BigDecimal.valueOf(3); /** Load Meta Data */ + /** Column name A_Accumulated_Depr */ + public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr"; + + /** Set Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr); + + /** Get Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr(); + + /** Column name A_Accumulated_Depr_Adjust */ + public static final String COLUMNNAME_A_Accumulated_Depr_Adjust = "A_Accumulated_Depr_Adjust"; + + /** Set Adjust Accumulated Depreciation */ + public void setA_Accumulated_Depr_Adjust (boolean A_Accumulated_Depr_Adjust); + + /** Get Adjust Accumulated Depreciation */ + public boolean isA_Accumulated_Depr_Adjust(); + + /** Column name A_Accumulated_Depr_F */ + public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F"; + + /** Set Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F); + + /** Get Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F(); + /** Column name A_Asset_Addition_ID */ public static final String COLUMNNAME_A_Asset_Addition_ID = "A_Asset_Addition_ID"; @@ -50,6 +77,15 @@ public interface I_A_Asset_Addition /** Get Asset Addition */ public int getA_Asset_Addition_ID(); + /** Column name A_Asset_Addition_UU */ + public static final String COLUMNNAME_A_Asset_Addition_UU = "A_Asset_Addition_UU"; + + /** Set A_Asset_Addition_UU */ + public void setA_Asset_Addition_UU (String A_Asset_Addition_UU); + + /** Get A_Asset_Addition_UU */ + public String getA_Asset_Addition_UU(); + /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -63,15 +99,26 @@ public interface I_A_Asset_Addition */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_CapvsExp */ public static final String COLUMNNAME_A_CapvsExp = "A_CapvsExp"; - /** Set Capital vs Expense */ + /** Set Capital/Expense */ public void setA_CapvsExp (String A_CapvsExp); - /** Get Capital vs Expense */ + /** Get Capital/Expense */ public String getA_CapvsExp(); + /** Column name A_CreateAsset */ + public static final String COLUMNNAME_A_CreateAsset = "A_CreateAsset"; + + /** Set Create Asset */ + public void setA_CreateAsset (boolean A_CreateAsset); + + /** Get Create Asset */ + public boolean isA_CreateAsset(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -93,24 +140,78 @@ public interface I_A_Asset_Addition */ public int getAD_Org_ID(); + /** Column name A_Life_Period_Max */ + public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max"; + + /** Set Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max); + + /** Get Life periods (max) */ + public int getA_Life_Period_Max(); + + /** Column name A_Life_Period_Min */ + public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min"; + + /** Set Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min); + + /** Get Life periods (min) */ + public int getA_Life_Period_Min(); + + /** Column name A_Period_Start */ + public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; + + /** Set A_Period_Start */ + public void setA_Period_Start (int A_Period_Start); + + /** Get A_Period_Start */ + public int getA_Period_Start(); + /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public BigDecimal getA_QTY_Current(); + /** Column name A_Salvage_Value */ + public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; + + /** Set Asset Salvage Value */ + public void setA_Salvage_Value (BigDecimal A_Salvage_Value); + + /** Get Asset Salvage Value */ + public BigDecimal getA_Salvage_Value(); + /** Column name A_SourceType */ public static final String COLUMNNAME_A_SourceType = "A_SourceType"; - /** Set Source of Entry */ + /** Set Source Type */ public void setA_SourceType (String A_SourceType); - /** Get Source of Entry */ + /** Get Source Type */ public String getA_SourceType(); + /** Column name AssetAmtEntered */ + public static final String COLUMNNAME_AssetAmtEntered = "AssetAmtEntered"; + + /** Set Entered Amount */ + public void setAssetAmtEntered (BigDecimal AssetAmtEntered); + + /** Get Entered Amount */ + public BigDecimal getAssetAmtEntered(); + + /** Column name AssetSourceAmt */ + public static final String COLUMNNAME_AssetSourceAmt = "AssetSourceAmt"; + + /** Set Source Amount */ + public void setAssetSourceAmt (BigDecimal AssetSourceAmt); + + /** Get Source Amount */ + public BigDecimal getAssetSourceAmt(); + /** Column name AssetValueAmt */ public static final String COLUMNNAME_AssetValueAmt = "AssetValueAmt"; @@ -124,6 +225,51 @@ public interface I_A_Asset_Addition */ public BigDecimal getAssetValueAmt(); + /** Column name C_Charge_ID */ + public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID"; + + /** Set Charge. + * Additional document charges + */ + public void setC_Charge_ID (int C_Charge_ID); + + /** Get Charge. + * Additional document charges + */ + public int getC_Charge_ID(); + + public org.compiere.model.I_C_Charge getC_Charge() throws RuntimeException; + + /** Column name C_ConversionType_ID */ + public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; + + /** Set Currency Type. + * Currency Conversion Rate Type + */ + public void setC_ConversionType_ID (int C_ConversionType_ID); + + /** Get Currency Type. + * Currency Conversion Rate Type + */ + public int getC_ConversionType_ID(); + + public org.compiere.model.I_C_ConversionType getC_ConversionType() throws RuntimeException; + + /** Column name C_Currency_ID */ + public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; + + /** Set Currency. + * The Currency for this record + */ + public void setC_Currency_ID (int C_Currency_ID); + + /** Get Currency. + * The Currency for this record + */ + public int getC_Currency_ID(); + + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -137,7 +283,37 @@ public interface I_A_Asset_Addition */ public int getC_Invoice_ID(); - public I_C_Invoice getC_Invoice() throws RuntimeException; + public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException; + + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + + /** Set Invoice Line. + * Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + + /** Get Invoice Line. + * Invoice Detail Line + */ + public int getC_InvoiceLine_ID(); + + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException; + + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -155,6 +331,67 @@ public interface I_A_Asset_Addition */ public int getCreatedBy(); + /** Column name CurrencyRate */ + public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; + + /** Set Rate. + * Currency Conversion Rate + */ + public void setCurrencyRate (BigDecimal CurrencyRate); + + /** Get Rate. + * Currency Conversion Rate + */ + public BigDecimal getCurrencyRate(); + + /** Column name DateAcct */ + public static final String COLUMNNAME_DateAcct = "DateAcct"; + + /** Set Account Date. + * Accounting Date + */ + public void setDateAcct (Timestamp DateAcct); + + /** Get Account Date. + * Accounting Date + */ + public Timestamp getDateAcct(); + + /** Column name DateDoc */ + public static final String COLUMNNAME_DateDoc = "DateDoc"; + + /** Set Document Date. + * Date of the Document + */ + public void setDateDoc (Timestamp DateDoc); + + /** Get Document Date. + * Date of the Document + */ + public Timestamp getDateDoc(); + + /** Column name DeltaUseLifeYears */ + public static final String COLUMNNAME_DeltaUseLifeYears = "DeltaUseLifeYears"; + + /** Set Delta Use Life Years */ + public void setDeltaUseLifeYears (int DeltaUseLifeYears); + + /** Get Delta Use Life Years */ + public int getDeltaUseLifeYears(); + + /** Column name DeltaUseLifeYears_F */ + public static final String COLUMNNAME_DeltaUseLifeYears_F = "DeltaUseLifeYears_F"; + + /** Set Delta Use Life Years (fiscal). + * Delta Use Life Years (fiscal) + */ + public void setDeltaUseLifeYears_F (int DeltaUseLifeYears_F); + + /** Get Delta Use Life Years (fiscal). + * Delta Use Life Years (fiscal) + */ + public int getDeltaUseLifeYears_F(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -168,6 +405,32 @@ public interface I_A_Asset_Addition */ public String getDescription(); + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + /** Column name DocumentNo */ public static final String COLUMNNAME_DocumentNo = "DocumentNo"; @@ -194,7 +457,18 @@ public interface I_A_Asset_Addition */ public int getGL_JournalBatch_ID(); - public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; + public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; + + /** Column name I_FixedAsset_ID */ + public static final String COLUMNNAME_I_FixedAsset_ID = "I_FixedAsset_ID"; + + /** Set Imported Fixed Asset */ + public void setI_FixedAsset_ID (int I_FixedAsset_ID); + + /** Get Imported Fixed Asset */ + public int getI_FixedAsset_ID(); + + public org.compiere.model.I_I_FixedAsset getI_FixedAsset() throws RuntimeException; /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -209,6 +483,19 @@ public interface I_A_Asset_Addition */ public boolean isActive(); + /** Column name IsApproved */ + public static final String COLUMNNAME_IsApproved = "IsApproved"; + + /** Set Approved. + * Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved); + + /** Get Approved. + * Indicates if this document requires approval + */ + public boolean isApproved(); + /** Column name Line */ public static final String COLUMNNAME_Line = "Line"; @@ -222,6 +509,21 @@ public interface I_A_Asset_Addition */ public int getLine(); + /** Column name M_AttributeSetInstance_ID */ + public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; + + /** Set Attribute Set Instance. + * Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); + + /** Get Attribute Set Instance. + * Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID(); + + public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException; + /** Column name M_InOutLine_ID */ public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; @@ -235,6 +537,66 @@ public interface I_A_Asset_Addition */ public int getM_InOutLine_ID(); + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException; + + /** Column name M_Locator_ID */ + public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; + + /** Set Locator. + * Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID); + + /** Get Locator. + * Warehouse Locator + */ + public int getM_Locator_ID(); + + public I_M_Locator getM_Locator() throws RuntimeException; + + /** Column name M_MatchInv_ID */ + public static final String COLUMNNAME_M_MatchInv_ID = "M_MatchInv_ID"; + + /** Set Match Invoice. + * Match Shipment/Receipt to Invoice + */ + public void setM_MatchInv_ID (int M_MatchInv_ID); + + /** Get Match Invoice. + * Match Shipment/Receipt to Invoice + */ + public int getM_MatchInv_ID(); + + public org.compiere.model.I_M_MatchInv getM_MatchInv() throws RuntimeException; + + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; + + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; @@ -248,6 +610,41 @@ public interface I_A_Asset_Addition */ public String getPostingType(); + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java index 3a75837fab..2a93980a3e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Change public static final String Table_Name = "A_Asset_Change"; /** AD_Table_ID=53133 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53133; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,10 +44,10 @@ public interface I_A_Asset_Change /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; - /** Set Accumulated Depreciation */ + /** Set Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); - /** Get Accumulated Depreciation */ + /** Get Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct(); public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; @@ -55,10 +55,10 @@ public interface I_A_Asset_Change /** Column name A_Asset_Acct */ public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; - /** Set Asset Cost Account */ + /** Set Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct); - /** Get Asset Cost Account */ + /** Get Asset Acct */ public int getA_Asset_Acct(); public I_C_ValidCombination getA_Asset_A() throws RuntimeException; @@ -66,10 +66,10 @@ public interface I_A_Asset_Change /** Column name A_Asset_Acct_ID */ public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; - /** Set Asset Acct. */ + /** Set A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); - /** Get Asset Acct. */ + /** Get A_Asset_Acct_ID */ public int getA_Asset_Acct_ID(); /** Column name A_Asset_Addition_ID */ @@ -84,19 +84,28 @@ public interface I_A_Asset_Change /** Column name A_Asset_Change_ID */ public static final String COLUMNNAME_A_Asset_Change_ID = "A_Asset_Change_ID"; - /** Set Asset Change */ + /** Set A_Asset_Change_ID */ public void setA_Asset_Change_ID (int A_Asset_Change_ID); - /** Get Asset Change */ + /** Get A_Asset_Change_ID */ public int getA_Asset_Change_ID(); + /** Column name A_Asset_Change_UU */ + public static final String COLUMNNAME_A_Asset_Change_UU = "A_Asset_Change_UU"; + + /** Set A_Asset_Change_UU */ + public void setA_Asset_Change_UU (String A_Asset_Change_UU); + + /** Get A_Asset_Change_UU */ + public String getA_Asset_Change_UU(); + /** Column name A_Asset_CreateDate */ public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate"; - /** Set Asset Creation Date */ + /** Set Create Date */ public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate); - /** Get Asset Creation Date */ + /** Get Create Date */ public Timestamp getA_Asset_CreateDate(); /** Column name A_Asset_ID */ @@ -112,7 +121,7 @@ public interface I_A_Asset_Change */ public int getA_Asset_ID(); - public I_A_Asset getA_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; /** Column name A_Asset_Retirement_ID */ public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID"; @@ -130,22 +139,22 @@ public interface I_A_Asset_Change /** Column name A_Asset_RevalDate */ public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate"; - /** Set Asset Reval. Date */ + /** Set Revaluation Date */ public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate); - /** Get Asset Reval. Date */ + /** Get Revaluation Date */ public Timestamp getA_Asset_RevalDate(); /** Column name A_Asset_Spread_Type */ public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; - /** Set Asset Spread Type */ + /** Set Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); - /** Get Asset Spread Type */ + /** Get Spread Type */ public int getA_Asset_Spread_Type(); - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -158,10 +167,10 @@ public interface I_A_Asset_Change /** Column name A_Depreciation_Acct */ public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; - /** Set Depreciation Expense Account */ + /** Set Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct); - /** Get Depreciation Expense Account */ + /** Get Depreciation Account */ public int getA_Depreciation_Acct(); public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; @@ -169,50 +178,50 @@ public interface I_A_Asset_Change /** Column name A_Depreciation_Calc_Type */ public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; - /** Set Depreciation Calculation Type */ + /** Set Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); - /** Get Depreciation Calculation Type */ + /** Get Calculation Type */ public int getA_Depreciation_Calc_Type(); - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; /** Column name A_Depreciation_Manual_Amount */ public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; - /** Set Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); - /** Get Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount(); /** Column name A_Depreciation_Manual_Period */ public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; - /** Set Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); - /** Get Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period(); /** Column name A_Depreciation_Table_Header_ID */ public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; - /** Set Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); - /** Get Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID(); - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; /** Column name A_Depreciation_Variable_Perc */ public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; - /** Set Depreciation Variable Perc. */ + /** Set Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); - /** Get Depreciation Variable Perc. */ + /** Get Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc(); /** Column name A_Disposal_Loss */ @@ -226,6 +235,17 @@ public interface I_A_Asset_Change public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; + /** Column name A_Disposal_Loss_Acct */ + public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct"; + + /** Set Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct); + + /** Get Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct(); + + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException; + /** Column name A_Disposal_Revenue */ public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; @@ -237,6 +257,17 @@ public interface I_A_Asset_Change public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; + /** Column name A_Disposal_Revenue_Acct */ + public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct"; + + /** Set Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct); + + /** Get Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct(); + + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException; + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -263,53 +294,53 @@ public interface I_A_Asset_Change */ public int getAD_User_ID(); - public I_AD_User getAD_User() throws RuntimeException; + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException; /** Column name A_Parent_Asset_ID */ public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; - /** Set Asset ID */ + /** Set Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); - /** Get Asset ID */ + /** Get Parent Asset */ public int getA_Parent_Asset_ID(); - public I_A_Asset getA_Parent_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException; /** Column name A_Period_End */ public static final String COLUMNNAME_A_Period_End = "A_Period_End"; - /** Set Period End */ + /** Set A_Period_End */ public void setA_Period_End (int A_Period_End); - /** Get Period End */ + /** Get A_Period_End */ public int getA_Period_End(); /** Column name A_Period_Start */ public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; - /** Set Period Start */ + /** Set A_Period_Start */ public void setA_Period_Start (int A_Period_Start); - /** Get Period Start */ + /** Get A_Period_Start */ public int getA_Period_Start(); /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public BigDecimal getA_QTY_Current(); /** Column name A_QTY_Original */ public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; - /** Set Original Qty */ + /** Set A_QTY_Original */ public void setA_QTY_Original (BigDecimal A_QTY_Original); - /** Get Original Qty */ + /** Get A_QTY_Original */ public BigDecimal getA_QTY_Original(); /** Column name A_Reval_Accumdep_Offset_Cur */ @@ -330,13 +361,31 @@ public interface I_A_Asset_Change /** Get Revaluation Accumulated Depreciation Offset for Prior Year */ public int getA_Reval_Accumdep_Offset_Prior(); + /** Column name A_Reval_Adep_Offset_Cur_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct"; + + /** Set A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct); + + /** Get A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct(); + + /** Column name A_Reval_Adep_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct"; + + /** Set A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct); + + /** Get A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct(); + /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; - /** Set Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); - /** Get Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method */ public String getA_Reval_Cal_Method(); /** Column name A_Reval_Cost_Offset */ @@ -348,6 +397,15 @@ public interface I_A_Asset_Change /** Get Revaluation Cost Offset for Current Year */ public int getA_Reval_Cost_Offset(); + /** Column name A_Reval_Cost_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct"; + + /** Set Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct); + + /** Get Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct(); + /** Column name A_Reval_Cost_Offset_Prior */ public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; @@ -357,6 +415,15 @@ public interface I_A_Asset_Change /** Get Revaluation Cost Offset for Prior Year */ public int getA_Reval_Cost_Offset_Prior(); + /** Column name A_Reval_Cost_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct"; + + /** Set Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct); + + /** Get Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct(); + /** Column name A_Reval_Depexp_Offset */ public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; @@ -366,40 +433,49 @@ public interface I_A_Asset_Change /** Get Revaluation Expense Offs */ public int getA_Reval_Depexp_Offset(); + /** Column name A_Reval_Depexp_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct"; + + /** Set Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct); + + /** Get Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct(); + /** Column name A_Salvage_Value */ public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; - /** Set Salvage Value */ + /** Set Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value); - /** Get Salvage Value */ + /** Get Asset Salvage Value */ public BigDecimal getA_Salvage_Value(); /** Column name A_Split_Percent */ public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; - /** Set Split Percentage */ + /** Set Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent); - /** Get Split Percentage */ + /** Get Split Percent */ public BigDecimal getA_Split_Percent(); /** Column name AssetAccumDepreciationAmt */ public static final String COLUMNNAME_AssetAccumDepreciationAmt = "AssetAccumDepreciationAmt"; - /** Set Asset Accum. Depreciation Amt. */ + /** Set AssetAccumDepreciationAmt */ public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt); - /** Get Asset Accum. Depreciation Amt. */ + /** Get AssetAccumDepreciationAmt */ public BigDecimal getAssetAccumDepreciationAmt(); /** Column name AssetBookValueAmt */ public static final String COLUMNNAME_AssetBookValueAmt = "AssetBookValueAmt"; - /** Set Asset Book value amt. */ + /** Set AssetBookValueAmt */ public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt); - /** Get Asset Book value amt. */ + /** Get AssetBookValueAmt */ public BigDecimal getAssetBookValueAmt(); /** Column name AssetDepreciationDate */ @@ -480,7 +556,7 @@ public interface I_A_Asset_Change */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -495,6 +571,8 @@ public interface I_A_Asset_Change */ public int getC_BPartner_ID(); + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException; + /** Column name C_BPartner_Location_ID */ public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; @@ -508,7 +586,7 @@ public interface I_A_Asset_Change */ public int getC_BPartner_Location_ID(); - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; /** Column name ChangeAmt */ public static final String COLUMNNAME_ChangeAmt = "ChangeAmt"; @@ -561,7 +639,7 @@ public interface I_A_Asset_Change /** Get ConventionType */ public int getConventionType(); - public I_A_Depreciation_Convention getConventionT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -616,7 +694,7 @@ public interface I_A_Asset_Change /** Get DepreciationType */ public int getDepreciationType(); - public I_A_Depreciation getDepreciationT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException; /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java new file mode 100644 index 0000000000..fdfacdb4ab --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java @@ -0,0 +1,229 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for A_Asset_Class + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_A_Asset_Class +{ + + /** TableName=A_Asset_Class */ + public static final String Table_Name = "A_Asset_Class"; + + /** AD_Table_ID=53269 */ + public static final int Table_ID = 53269; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 7 - System - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(7); + + /** Load Meta Data */ + + /** Column name A_Asset_Class_ID */ + public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID"; + + /** Set Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID); + + /** Get Asset class */ + public int getA_Asset_Class_ID(); + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name A_Life_Period_2004 */ + public static final String COLUMNNAME_A_Life_Period_2004 = "A_Life_Period_2004"; + + /** Set Life Periods 2004 (min) */ + public void setA_Life_Period_2004 (int A_Life_Period_2004); + + /** Get Life Periods 2004 (min) */ + public int getA_Life_Period_2004(); + + /** Column name A_Life_Period_Max */ + public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max"; + + /** Set Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max); + + /** Get Life periods (max) */ + public int getA_Life_Period_Max(); + + /** Column name A_Life_Period_Min */ + public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min"; + + /** Set Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min); + + /** Get Life periods (min) */ + public int getA_Life_Period_Min(); + + /** Column name A_Value_2004 */ + public static final String COLUMNNAME_A_Value_2004 = "A_Value_2004"; + + /** Set Value 2004 */ + public void setA_Value_2004 (String A_Value_2004); + + /** Get Value 2004 */ + public String getA_Value_2004(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name MFX_Clasa */ + public static final String COLUMNNAME_MFX_Clasa = "MFX_Clasa"; + + /** Set Fixed Asset Class */ + public void setMFX_Clasa (int MFX_Clasa); + + /** Get Fixed Asset Class */ + public int getMFX_Clasa(); + + /** Column name MFX_Grupa */ + public static final String COLUMNNAME_MFX_Grupa = "MFX_Grupa"; + + /** Set Fixed Asset Group */ + public void setMFX_Grupa (int MFX_Grupa); + + /** Get Fixed Asset Group */ + public int getMFX_Grupa(); + + /** Column name MFX_SubClasa */ + public static final String COLUMNNAME_MFX_SubClasa = "MFX_SubClasa"; + + /** Set Fixed Asset Subclass */ + public void setMFX_SubClasa (int MFX_SubClasa); + + /** Get Fixed Asset Subclass */ + public int getMFX_SubClasa(); + + /** Column name MFX_SubGrupa */ + public static final String COLUMNNAME_MFX_SubGrupa = "MFX_SubGrupa"; + + /** Set Fixed Asset Subgroup */ + public void setMFX_SubGrupa (int MFX_SubGrupa); + + /** Get Fixed Asset Subgroup */ + public int getMFX_SubGrupa(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + + /** Column name Value */ + public static final String COLUMNNAME_Value = "Value"; + + /** Set Search Key. + * Search key for the record in the format required - must be unique + */ + public void setValue (String Value); + + /** Get Search Key. + * Search key for the record in the format required - must be unique + */ + public String getValue(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java index 8b1f2249fb..f0aa41b2e4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Delivery public static final String Table_Name = "A_Asset_Delivery"; /** AD_Table_ID=541 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 541; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,6 +54,15 @@ public interface I_A_Asset_Delivery */ public int getA_Asset_Delivery_ID(); + /** Column name A_Asset_Delivery_UU */ + public static final String COLUMNNAME_A_Asset_Delivery_UU = "A_Asset_Delivery_UU"; + + /** Set A_Asset_Delivery_UU */ + public void setA_Asset_Delivery_UU (String A_Asset_Delivery_UU); + + /** Get A_Asset_Delivery_UU */ + public String getA_Asset_Delivery_UU(); + /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -67,7 +76,7 @@ public interface I_A_Asset_Delivery */ public int getA_Asset_ID(); - public I_A_Asset getA_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -103,7 +112,7 @@ public interface I_A_Asset_Delivery */ public int getAD_User_ID(); - public I_AD_User getAD_User() throws RuntimeException; + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -212,7 +221,7 @@ public interface I_A_Asset_Delivery */ public int getM_InOutLine_ID(); - public I_M_InOutLine getM_InOutLine() throws RuntimeException; + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException; /** Column name MovementDate */ public static final String COLUMNNAME_MovementDate = "MovementDate"; @@ -240,7 +249,7 @@ public interface I_A_Asset_Delivery */ public int getM_ProductDownload_ID(); - public I_M_ProductDownload getM_ProductDownload() throws RuntimeException; + public org.compiere.model.I_M_ProductDownload getM_ProductDownload() throws RuntimeException; /** Column name Referrer */ public static final String COLUMNNAME_Referrer = "Referrer"; @@ -314,12 +323,12 @@ public interface I_A_Asset_Delivery public static final String COLUMNNAME_URL = "URL"; /** Set URL. - * Full URL address - e.g. http://www.adempiere.org + * Full URL address - e.g. http://www.idempiere.org */ public void setURL (String URL); /** Get URL. - * Full URL address - e.g. http://www.adempiere.org + * Full URL address - e.g. http://www.idempiere.org */ public String getURL(); diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java index 80858cbb9c..bdfa160c8d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Disposed public static final String Table_Name = "A_Asset_Disposed"; /** AD_Table_ID=53127 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53127; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -41,15 +41,60 @@ public interface I_A_Asset_Disposed /** Load Meta Data */ + /** Column name A_Accumulated_Depr */ + public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr"; + + /** Set Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr); + + /** Get Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr(); + + /** Column name A_Accumulated_Depr_Delta */ + public static final String COLUMNNAME_A_Accumulated_Depr_Delta = "A_Accumulated_Depr_Delta"; + + /** Set Accumulated Depreciation (delta) */ + public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta); + + /** Get Accumulated Depreciation (delta) */ + public BigDecimal getA_Accumulated_Depr_Delta(); + + /** Column name A_Activation_Method */ + public static final String COLUMNNAME_A_Activation_Method = "A_Activation_Method"; + + /** Set Activation Method */ + public void setA_Activation_Method (String A_Activation_Method); + + /** Get Activation Method */ + public String getA_Activation_Method(); + + /** Column name A_Asset_Cost */ + public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; + + /** Set Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost); + + /** Get Asset Cost */ + public BigDecimal getA_Asset_Cost(); + /** Column name A_Asset_Disposed_ID */ public static final String COLUMNNAME_A_Asset_Disposed_ID = "A_Asset_Disposed_ID"; - /** Set Disposed Asset */ + /** Set Asset Disposed */ public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID); - /** Get Disposed Asset */ + /** Get Asset Disposed */ public int getA_Asset_Disposed_ID(); + /** Column name A_Asset_Disposed_UU */ + public static final String COLUMNNAME_A_Asset_Disposed_UU = "A_Asset_Disposed_UU"; + + /** Set A_Asset_Disposed_UU */ + public void setA_Asset_Disposed_UU (String A_Asset_Disposed_UU); + + /** Get A_Asset_Disposed_UU */ + public String getA_Asset_Disposed_UU(); + /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -63,6 +108,17 @@ public interface I_A_Asset_Disposed */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_Status */ + public static final String COLUMNNAME_A_Asset_Status = "A_Asset_Status"; + + /** Set Asset Status */ + public void setA_Asset_Status (String A_Asset_Status); + + /** Get Asset Status */ + public String getA_Asset_Status(); + /** Column name A_Asset_Trade_ID */ public static final String COLUMNNAME_A_Asset_Trade_ID = "A_Asset_Trade_ID"; @@ -72,7 +128,7 @@ public interface I_A_Asset_Disposed /** Get Asset Trade */ public int getA_Asset_Trade_ID(); - public I_A_Asset getA_Asset_Trade() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Asset_Trade() throws RuntimeException; /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -82,6 +138,15 @@ public interface I_A_Asset_Disposed */ public int getAD_Client_ID(); + /** Column name A_Disposal_Amt */ + public static final String COLUMNNAME_A_Disposal_Amt = "A_Disposal_Amt"; + + /** Set Disposal Amount */ + public void setA_Disposal_Amt (BigDecimal A_Disposal_Amt); + + /** Get Disposal Amount */ + public BigDecimal getA_Disposal_Amt(); + /** Column name A_Disposed_Date */ public static final String COLUMNNAME_A_Disposed_Date = "A_Disposed_Date"; @@ -94,19 +159,19 @@ public interface I_A_Asset_Disposed /** Column name A_Disposed_Method */ public static final String COLUMNNAME_A_Disposed_Method = "A_Disposed_Method"; - /** Set Disposal Method */ + /** Set Disposed Method */ public void setA_Disposed_Method (String A_Disposed_Method); - /** Get Disposal Method */ + /** Get Disposed Method */ public String getA_Disposed_Method(); /** Column name A_Disposed_Reason */ public static final String COLUMNNAME_A_Disposed_Reason = "A_Disposed_Reason"; - /** Set Disposed Reason Code */ + /** Set Disposed Reason */ public void setA_Disposed_Reason (String A_Disposed_Reason); - /** Get Disposed Reason Code */ + /** Get Disposed Reason */ public String getA_Disposed_Reason(); /** Column name AD_Org_ID */ @@ -125,12 +190,42 @@ public interface I_A_Asset_Disposed /** Column name A_Proceeds */ public static final String COLUMNNAME_A_Proceeds = "A_Proceeds"; - /** Set Proceeds */ + /** Set Asset Proceeds */ public void setA_Proceeds (BigDecimal A_Proceeds); - /** Get Proceeds */ + /** Get Asset Proceeds */ public BigDecimal getA_Proceeds(); + /** Column name C_Invoice_ID */ + public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; + + /** Set Invoice. + * Invoice Identifier + */ + public void setC_Invoice_ID (int C_Invoice_ID); + + /** Get Invoice. + * Invoice Identifier + */ + public int getC_Invoice_ID(); + + public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException; + + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + + /** Set Invoice Line. + * Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + + /** Get Invoice Line. + * Invoice Detail Line + */ + public int getC_InvoiceLine_ID(); + + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException; + /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -144,7 +239,7 @@ public interface I_A_Asset_Disposed */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -188,6 +283,67 @@ public interface I_A_Asset_Disposed */ public Timestamp getDateDoc(); + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + + /** Column name DocumentNo */ + public static final String COLUMNNAME_DocumentNo = "DocumentNo"; + + /** Set Document No. + * Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo); + + /** Get Document No. + * Document sequence number of the document + */ + public String getDocumentNo(); + + /** Column name Expense */ + public static final String COLUMNNAME_Expense = "Expense"; + + /** Set Expense */ + public void setExpense (BigDecimal Expense); + + /** Get Expense */ + public BigDecimal getExpense(); + /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -201,6 +357,58 @@ public interface I_A_Asset_Disposed */ public boolean isActive(); + /** Column name IsApproved */ + public static final String COLUMNNAME_IsApproved = "IsApproved"; + + /** Set Approved. + * Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved); + + /** Get Approved. + * Indicates if this document requires approval + */ + public boolean isApproved(); + + /** Column name IsDisposed */ + public static final String COLUMNNAME_IsDisposed = "IsDisposed"; + + /** Set Disposed. + * The asset is disposed + */ + public void setIsDisposed (boolean IsDisposed); + + /** Get Disposed. + * The asset is disposed + */ + public boolean isDisposed(); + + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + + /** Column name PostingType */ + public static final String COLUMNNAME_PostingType = "PostingType"; + + /** Set PostingType. + * The type of posted amount for the transaction + */ + public void setPostingType (String PostingType); + + /** Get PostingType. + * The type of posted amount for the transaction + */ + public String getPostingType(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; @@ -214,6 +422,19 @@ public interface I_A_Asset_Disposed */ public boolean isProcessed(); + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java index 8140803ff4..e4b8267c9d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Group public static final String Table_Name = "A_Asset_Group"; /** AD_Table_ID=542 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 542; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -41,6 +41,17 @@ public interface I_A_Asset_Group /** Load Meta Data */ + /** Column name A_Asset_Class_ID */ + public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID"; + + /** Set Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID); + + /** Get Asset class */ + public int getA_Asset_Class_ID(); + + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException; + /** Column name A_Asset_Group_ID */ public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; @@ -54,6 +65,26 @@ public interface I_A_Asset_Group */ public int getA_Asset_Group_ID(); + /** Column name A_Asset_Group_UU */ + public static final String COLUMNNAME_A_Asset_Group_UU = "A_Asset_Group_UU"; + + /** Set A_Asset_Group_UU */ + public void setA_Asset_Group_UU (String A_Asset_Group_UU); + + /** Get A_Asset_Group_UU */ + public String getA_Asset_Group_UU(); + + /** Column name A_Asset_Type_ID */ + public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID"; + + /** Set Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID); + + /** Get Asset Type */ + public int getA_Asset_Type_ID(); + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException; + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -143,6 +174,19 @@ public interface I_A_Asset_Group */ public boolean isCreateAsActive(); + /** Column name IsDefault */ + public static final String COLUMNNAME_IsDefault = "IsDefault"; + + /** Set Default. + * Default value + */ + public void setIsDefault (boolean IsDefault); + + /** Get Default. + * Default value + */ + public boolean isDefault(); + /** Column name IsDepreciated */ public static final String COLUMNNAME_IsDepreciated = "IsDepreciated"; @@ -156,6 +200,15 @@ public interface I_A_Asset_Group */ public boolean isDepreciated(); + /** Column name IsFixedAsset */ + public static final String COLUMNNAME_IsFixedAsset = "IsFixedAsset"; + + /** Set IsFixedAsset */ + public void setIsFixedAsset (boolean IsFixedAsset); + + /** Get IsFixedAsset */ + public boolean isFixedAsset(); + /** Column name IsOneAssetPerUOM */ public static final String COLUMNNAME_IsOneAssetPerUOM = "IsOneAssetPerUOM"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java index 5fb575ca71..101e3040a7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Group_Acct public static final String Table_Name = "A_Asset_Group_Acct"; /** AD_Table_ID=53130 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53130; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,10 +44,10 @@ public interface I_A_Asset_Group_Acct /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; - /** Set Accumulated Depreciation */ + /** Set Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); - /** Get Accumulated Depreciation */ + /** Get Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct(); public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; @@ -55,10 +55,10 @@ public interface I_A_Asset_Group_Acct /** Column name A_Asset_Acct */ public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; - /** Set Asset Cost Account */ + /** Set Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct); - /** Get Asset Cost Account */ + /** Get Asset Acct */ public int getA_Asset_Acct(); public I_C_ValidCombination getA_Asset_A() throws RuntimeException; @@ -66,12 +66,21 @@ public interface I_A_Asset_Group_Acct /** Column name A_Asset_Group_Acct_ID */ public static final String COLUMNNAME_A_Asset_Group_Acct_ID = "A_Asset_Group_Acct_ID"; - /** Set Asset Group Acct. */ + /** Set Asset Group Accounting */ public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID); - /** Get Asset Group Acct. */ + /** Get Asset Group Accounting */ public int getA_Asset_Group_Acct_ID(); + /** Column name A_Asset_Group_Acct_UU */ + public static final String COLUMNNAME_A_Asset_Group_Acct_UU = "A_Asset_Group_Acct_UU"; + + /** Set A_Asset_Group_Acct_UU */ + public void setA_Asset_Group_Acct_UU (String A_Asset_Group_Acct_UU); + + /** Get A_Asset_Group_Acct_UU */ + public String getA_Asset_Group_Acct_UU(); + /** Column name A_Asset_Group_ID */ public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; @@ -85,18 +94,18 @@ public interface I_A_Asset_Group_Acct */ public int getA_Asset_Group_ID(); - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException; /** Column name A_Asset_Spread_Type */ public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; - /** Set Asset Spread Type */ + /** Set Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); - /** Get Asset Spread Type */ + /** Get Spread Type */ public int getA_Asset_Spread_Type(); - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -109,10 +118,10 @@ public interface I_A_Asset_Group_Acct /** Column name A_Depreciation_Acct */ public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; - /** Set Depreciation Expense Account */ + /** Set Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct); - /** Get Depreciation Expense Account */ + /** Get Depreciation Account */ public int getA_Depreciation_Acct(); public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; @@ -120,61 +129,127 @@ public interface I_A_Asset_Group_Acct /** Column name A_Depreciation_Calc_Type */ public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; - /** Set Depreciation Calculation Type */ + /** Set Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); - /** Get Depreciation Calculation Type */ + /** Get Calculation Type */ public int getA_Depreciation_Calc_Type(); - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; + + /** Column name A_Depreciation_Conv_F_ID */ + public static final String COLUMNNAME_A_Depreciation_Conv_F_ID = "A_Depreciation_Conv_F_ID"; + + /** Set Depreciation Convention (fiscal) */ + public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID); + + /** Get Depreciation Convention (fiscal) */ + public int getA_Depreciation_Conv_F_ID(); + + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException; + + /** Column name A_Depreciation_Conv_ID */ + public static final String COLUMNNAME_A_Depreciation_Conv_ID = "A_Depreciation_Conv_ID"; + + /** Set Convention Type */ + public void setA_Depreciation_Conv_ID (int A_Depreciation_Conv_ID); + + /** Get Convention Type */ + public int getA_Depreciation_Conv_ID(); + + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException; + + /** Column name A_Depreciation_F_ID */ + public static final String COLUMNNAME_A_Depreciation_F_ID = "A_Depreciation_F_ID"; + + /** Set Depreciation (fiscal) */ + public void setA_Depreciation_F_ID (int A_Depreciation_F_ID); + + /** Get Depreciation (fiscal) */ + public int getA_Depreciation_F_ID(); + + public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException; /** Column name A_Depreciation_ID */ public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; - /** Set Depreciation Type */ + /** Set Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID); - /** Get Depreciation Type */ + /** Get Depreciation */ public int getA_Depreciation_ID(); + public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException; + /** Column name A_Depreciation_Manual_Amount */ public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; - /** Set Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); - /** Get Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount(); /** Column name A_Depreciation_Manual_Period */ public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; - /** Set Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); - /** Get Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period(); + /** Column name A_Depreciation_Method_F_ID */ + public static final String COLUMNNAME_A_Depreciation_Method_F_ID = "A_Depreciation_Method_F_ID"; + + /** Set Depreciation Method (fiscal) */ + public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID); + + /** Get Depreciation Method (fiscal) */ + public int getA_Depreciation_Method_F_ID(); + + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException; + + /** Column name A_Depreciation_Method_ID */ + public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID"; + + /** Set Depreciation Method */ + public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID); + + /** Get Depreciation Method */ + public int getA_Depreciation_Method_ID(); + + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException; + /** Column name A_Depreciation_Table_Header_ID */ public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; - /** Set Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); - /** Get Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID(); - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; /** Column name A_Depreciation_Variable_Perc */ public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; - /** Set Depreciation Variable Perc. */ + /** Set Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); - /** Get Depreciation Variable Perc. */ + /** Get Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc(); + /** Column name A_Depreciation_Variable_Perc_F */ + public static final String COLUMNNAME_A_Depreciation_Variable_Perc_F = "A_Depreciation_Variable_Perc_F"; + + /** Set Variable Percent (fiscal) */ + public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F); + + /** Get Variable Percent (fiscal) */ + public BigDecimal getA_Depreciation_Variable_Perc_F(); + /** Column name A_Disposal_Gain */ public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain"; @@ -186,6 +261,17 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Disposal_G() throws RuntimeException; + /** Column name A_Disposal_Gain_Acct */ + public static final String COLUMNNAME_A_Disposal_Gain_Acct = "A_Disposal_Gain_Acct"; + + /** Set Disposal Gain Acct */ + public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct); + + /** Get Disposal Gain Acct */ + public int getA_Disposal_Gain_Acct(); + + public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException; + /** Column name A_Disposal_Loss */ public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; @@ -197,6 +283,17 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; + /** Column name A_Disposal_Loss_Acct */ + public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct"; + + /** Set Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct); + + /** Get Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct(); + + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException; + /** Column name A_Disposal_Revenue */ public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; @@ -208,6 +305,17 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; + /** Column name A_Disposal_Revenue_Acct */ + public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct"; + + /** Set Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct); + + /** Get Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct(); + + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException; + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -243,13 +351,35 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException; + /** Column name A_Reval_Adep_Offset_Cur_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct"; + + /** Set A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct); + + /** Get A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct(); + + public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException; + + /** Column name A_Reval_Adep_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct"; + + /** Set A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct); + + /** Get A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct(); + + public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException; + /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; - /** Set Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); - /** Get Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method */ public String getA_Reval_Cal_Method(); /** Column name A_Reval_Cost_Offset */ @@ -263,6 +393,17 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct"; + + /** Set Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct); + + /** Get Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct(); + + public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Prior */ public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; @@ -274,6 +415,17 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException; + /** Column name A_Reval_Cost_Offset_Prior_Acct */ + public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct"; + + /** Set Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct); + + /** Get Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct(); + + public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException; + /** Column name A_Reval_Depexp_Offset */ public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; @@ -285,13 +437,24 @@ public interface I_A_Asset_Group_Acct public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException; + /** Column name A_Reval_Depexp_Offset_Acct */ + public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct"; + + /** Set Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct); + + /** Get Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct(); + + public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException; + /** Column name A_Split_Percent */ public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; - /** Set Split Percentage */ + /** Set Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent); - /** Get Split Percentage */ + /** Get Split Percent */ public BigDecimal getA_Split_Percent(); /** Column name C_AcctSchema_ID */ @@ -307,7 +470,7 @@ public interface I_A_Asset_Group_Acct */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name ConventionType */ public static final String COLUMNNAME_ConventionType = "ConventionType"; @@ -318,7 +481,7 @@ public interface I_A_Asset_Group_Acct /** Get ConventionType */ public int getConventionType(); - public I_A_Depreciation_Convention getConventionT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -345,7 +508,7 @@ public interface I_A_Asset_Group_Acct /** Get DepreciationType */ public int getDepreciationType(); - public I_A_Depreciation getDepreciationT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException; /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -411,6 +574,15 @@ public interface I_A_Asset_Group_Acct */ public int getUseLifeMonths(); + /** Column name UseLifeMonths_F */ + public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F"; + + /** Set Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F); + + /** Get Use Life - Months (fiscal) */ + public int getUseLifeMonths_F(); + /** Column name UseLifeYears */ public static final String COLUMNNAME_UseLifeYears = "UseLifeYears"; @@ -423,4 +595,13 @@ public interface I_A_Asset_Group_Acct * Years of the usable life of the asset */ public int getUseLifeYears(); + + /** Column name UseLifeYears_F */ + public static final String COLUMNNAME_UseLifeYears_F = "UseLifeYears_F"; + + /** Set Use Life - Years (fiscal) */ + public void setUseLifeYears_F (int UseLifeYears_F); + + /** Get Use Life - Years (fiscal) */ + public int getUseLifeYears_F(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java index 02eb8a002f..82f35b71db 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Fin public static final String Table_Name = "A_Asset_Info_Fin"; /** AD_Table_ID=53132 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53132; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,15 +54,26 @@ public interface I_A_Asset_Info_Fin */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_Asset_Info_Fin_ID */ public static final String COLUMNNAME_A_Asset_Info_Fin_ID = "A_Asset_Info_Fin_ID"; - /** Set Asset Info Fin. */ + /** Set Asset Info Financial ID */ public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID); - /** Get Asset Info Fin. */ + /** Get Asset Info Financial ID */ public int getA_Asset_Info_Fin_ID(); + /** Column name A_Asset_Info_Fin_UU */ + public static final String COLUMNNAME_A_Asset_Info_Fin_UU = "A_Asset_Info_Fin_UU"; + + /** Set A_Asset_Info_Fin_UU */ + public void setA_Asset_Info_Fin_UU (String A_Asset_Info_Fin_UU); + + /** Get A_Asset_Info_Fin_UU */ + public String getA_Asset_Info_Fin_UU(); + /** Column name A_Contract_Date */ public static final String COLUMNNAME_A_Contract_Date = "A_Contract_Date"; @@ -96,37 +107,37 @@ public interface I_A_Asset_Info_Fin /** Column name A_Due_On */ public static final String COLUMNNAME_A_Due_On = "A_Due_On"; - /** Set Payment Due Date */ + /** Set Asset Due On */ public void setA_Due_On (String A_Due_On); - /** Get Payment Due Date */ + /** Get Asset Due On */ public String getA_Due_On(); /** Column name A_Expired_Date */ public static final String COLUMNNAME_A_Expired_Date = "A_Expired_Date"; - /** Set Contract Expiration Date */ + /** Set Asset Expired Date */ public void setA_Expired_Date (Timestamp A_Expired_Date); - /** Get Contract Expiration Date */ + /** Get Asset Expired Date */ public Timestamp getA_Expired_Date(); /** Column name A_Finance_Meth */ public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth"; - /** Set Finance Method */ + /** Set Asset Finance Method */ public void setA_Finance_Meth (String A_Finance_Meth); - /** Get Finance Method */ + /** Get Asset Finance Method */ public String getA_Finance_Meth(); /** Column name A_Monthly_Payment */ public static final String COLUMNNAME_A_Monthly_Payment = "A_Monthly_Payment"; - /** Set Monthly Payment */ + /** Set Asset Monthly Payment */ public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment); - /** Get Monthly Payment */ + /** Get Asset Monthly Payment */ public BigDecimal getA_Monthly_Payment(); /** Column name A_Purchase_Option */ @@ -159,10 +170,10 @@ public interface I_A_Asset_Info_Fin /** Column name A_Purchase_Price */ public static final String COLUMNNAME_A_Purchase_Price = "A_Purchase_Price"; - /** Set Option Purchase Price */ + /** Set Purchase Price */ public void setA_Purchase_Price (BigDecimal A_Purchase_Price); - /** Get Option Purchase Price */ + /** Get Purchase Price */ public BigDecimal getA_Purchase_Price(); /** Column name C_BPartner_ID */ @@ -178,6 +189,8 @@ public interface I_A_Asset_Info_Fin */ public int getC_BPartner_ID(); + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException; + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -207,6 +220,19 @@ public interface I_A_Asset_Info_Fin */ public boolean isActive(); + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + /** Column name TextMsg */ public static final String COLUMNNAME_TextMsg = "TextMsg"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java index 2344cc0ba4..73a4729b2d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Ins public static final String Table_Name = "A_Asset_Info_Ins"; /** AD_Table_ID=53135 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53135; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -57,12 +57,21 @@ public interface I_A_Asset_Info_Ins /** Column name A_Asset_Info_Ins_ID */ public static final String COLUMNNAME_A_Asset_Info_Ins_ID = "A_Asset_Info_Ins_ID"; - /** Set Asset Info Ins. */ + /** Set A_Asset_Info_Ins_ID */ public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID); - /** Get Asset Info Ins. */ + /** Get A_Asset_Info_Ins_ID */ public int getA_Asset_Info_Ins_ID(); + /** Column name A_Asset_Info_Ins_UU */ + public static final String COLUMNNAME_A_Asset_Info_Ins_UU = "A_Asset_Info_Ins_UU"; + + /** Set A_Asset_Info_Ins_UU */ + public void setA_Asset_Info_Ins_UU (String A_Asset_Info_Ins_UU); + + /** Get A_Asset_Info_Ins_UU */ + public String getA_Asset_Info_Ins_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -87,10 +96,10 @@ public interface I_A_Asset_Info_Ins /** Column name A_Ins_Premium */ public static final String COLUMNNAME_A_Ins_Premium = "A_Ins_Premium"; - /** Set Insurance Premium */ + /** Set Asset Insurance Premium */ public void setA_Ins_Premium (BigDecimal A_Ins_Premium); - /** Get Insurance Premium */ + /** Get Asset Insurance Premium */ public BigDecimal getA_Ins_Premium(); /** Column name A_Insurance_Co */ @@ -105,37 +114,37 @@ public interface I_A_Asset_Info_Ins /** Column name A_Ins_Value */ public static final String COLUMNNAME_A_Ins_Value = "A_Ins_Value"; - /** Set Insured Value */ + /** Set Asset Insurance Value */ public void setA_Ins_Value (BigDecimal A_Ins_Value); - /** Get Insured Value */ + /** Get Asset Insurance Value */ public BigDecimal getA_Ins_Value(); /** Column name A_Policy_No */ public static final String COLUMNNAME_A_Policy_No = "A_Policy_No"; - /** Set Policy Number */ + /** Set Asset Policy No */ public void setA_Policy_No (String A_Policy_No); - /** Get Policy Number */ + /** Get Asset Policy No */ public String getA_Policy_No(); /** Column name A_Renewal_Date */ public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date"; - /** Set Policy Renewal Date */ + /** Set Asset Renewal Date */ public void setA_Renewal_Date (Timestamp A_Renewal_Date); - /** Get Policy Renewal Date */ + /** Get Asset Renewal Date */ public Timestamp getA_Renewal_Date(); /** Column name A_Replace_Cost */ public static final String COLUMNNAME_A_Replace_Cost = "A_Replace_Cost"; - /** Set Replacement Costs */ + /** Set Asset Replace Cost */ public void setA_Replace_Cost (BigDecimal A_Replace_Cost); - /** Get Replacement Costs */ + /** Get Asset Replace Cost */ public BigDecimal getA_Replace_Cost(); /** Column name Created */ @@ -170,10 +179,10 @@ public interface I_A_Asset_Info_Ins /** Column name Text */ public static final String COLUMNNAME_Text = "Text"; - /** Set Text */ + /** Set Description */ public void setText (String Text); - /** Get Text */ + /** Get Description */ public String getText(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java index b32e5f01ef..c81fc01157 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Lic public static final String Table_Name = "A_Asset_Info_Lic"; /** AD_Table_ID=53134 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53134; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,15 +54,26 @@ public interface I_A_Asset_Info_Lic */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_Asset_Info_Lic_ID */ public static final String COLUMNNAME_A_Asset_Info_Lic_ID = "A_Asset_Info_Lic_ID"; - /** Set Asset Info Lic. */ + /** Set A_Asset_Info_Lic_ID */ public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID); - /** Get Asset Info Lic. */ + /** Get A_Asset_Info_Lic_ID */ public int getA_Asset_Info_Lic_ID(); + /** Column name A_Asset_Info_Lic_UU */ + public static final String COLUMNNAME_A_Asset_Info_Lic_UU = "A_Asset_Info_Lic_UU"; + + /** Set A_Asset_Info_Lic_UU */ + public void setA_Asset_Info_Lic_UU (String A_Asset_Info_Lic_UU); + + /** Get A_Asset_Info_Lic_UU */ + public String getA_Asset_Info_Lic_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -96,28 +107,28 @@ public interface I_A_Asset_Info_Lic /** Column name A_License_Fee */ public static final String COLUMNNAME_A_License_Fee = "A_License_Fee"; - /** Set License Fee */ + /** Set Asset License Fee */ public void setA_License_Fee (BigDecimal A_License_Fee); - /** Get License Fee */ + /** Get Asset License Fee */ public BigDecimal getA_License_Fee(); /** Column name A_License_No */ public static final String COLUMNNAME_A_License_No = "A_License_No"; - /** Set License No */ + /** Set Asset License No */ public void setA_License_No (String A_License_No); - /** Get License No */ + /** Get Asset License No */ public String getA_License_No(); /** Column name A_Renewal_Date */ public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date"; - /** Set Policy Renewal Date */ + /** Set Asset Renewal Date */ public void setA_Renewal_Date (Timestamp A_Renewal_Date); - /** Get Policy Renewal Date */ + /** Get Asset Renewal Date */ public Timestamp getA_Renewal_Date(); /** Column name A_State */ @@ -162,13 +173,26 @@ public interface I_A_Asset_Info_Lic */ public boolean isActive(); + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + /** Column name Text */ public static final String COLUMNNAME_Text = "Text"; - /** Set Text */ + /** Set Description */ public void setText (String Text); - /** Get Text */ + /** Get Description */ public String getText(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java index cc43dcc80b..f61d298e32 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Oth public static final String Table_Name = "A_Asset_Info_Oth"; /** AD_Table_ID=53136 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53136; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -57,12 +57,21 @@ public interface I_A_Asset_Info_Oth /** Column name A_Asset_Info_Oth_ID */ public static final String COLUMNNAME_A_Asset_Info_Oth_ID = "A_Asset_Info_Oth_ID"; - /** Set Asset Info Oth. */ + /** Set A_Asset_Info_Oth_ID */ public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID); - /** Get Asset Info Oth. */ + /** Get A_Asset_Info_Oth_ID */ public int getA_Asset_Info_Oth_ID(); + /** Column name A_Asset_Info_Oth_UU */ + public static final String COLUMNNAME_A_Asset_Info_Oth_UU = "A_Asset_Info_Oth_UU"; + + /** Set A_Asset_Info_Oth_UU */ + public void setA_Asset_Info_Oth_UU (String A_Asset_Info_Oth_UU); + + /** Get A_Asset_Info_Oth_UU */ + public String getA_Asset_Info_Oth_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -87,136 +96,136 @@ public interface I_A_Asset_Info_Oth /** Column name A_User1 */ public static final String COLUMNNAME_A_User1 = "A_User1"; - /** Set User 1 */ + /** Set A_User1 */ public void setA_User1 (String A_User1); - /** Get User 1 */ + /** Get A_User1 */ public String getA_User1(); /** Column name A_User10 */ public static final String COLUMNNAME_A_User10 = "A_User10"; - /** Set User 10 */ + /** Set A_User10 */ public void setA_User10 (String A_User10); - /** Get User 10 */ + /** Get A_User10 */ public String getA_User10(); /** Column name A_User11 */ public static final String COLUMNNAME_A_User11 = "A_User11"; - /** Set User 11 */ + /** Set A_User11 */ public void setA_User11 (String A_User11); - /** Get User 11 */ + /** Get A_User11 */ public String getA_User11(); /** Column name A_User12 */ public static final String COLUMNNAME_A_User12 = "A_User12"; - /** Set User 12 */ + /** Set A_User12 */ public void setA_User12 (String A_User12); - /** Get User 12 */ + /** Get A_User12 */ public String getA_User12(); /** Column name A_User13 */ public static final String COLUMNNAME_A_User13 = "A_User13"; - /** Set User 13 */ + /** Set A_User13 */ public void setA_User13 (String A_User13); - /** Get User 13 */ + /** Get A_User13 */ public String getA_User13(); /** Column name A_User14 */ public static final String COLUMNNAME_A_User14 = "A_User14"; - /** Set User 14 */ + /** Set A_User14 */ public void setA_User14 (String A_User14); - /** Get User 14 */ + /** Get A_User14 */ public String getA_User14(); /** Column name A_User15 */ public static final String COLUMNNAME_A_User15 = "A_User15"; - /** Set User 15 */ + /** Set A_User15 */ public void setA_User15 (String A_User15); - /** Get User 15 */ + /** Get A_User15 */ public String getA_User15(); /** Column name A_User2 */ public static final String COLUMNNAME_A_User2 = "A_User2"; - /** Set User 2 */ + /** Set A_User2 */ public void setA_User2 (String A_User2); - /** Get User 2 */ + /** Get A_User2 */ public String getA_User2(); /** Column name A_User3 */ public static final String COLUMNNAME_A_User3 = "A_User3"; - /** Set User 3 */ + /** Set A_User3 */ public void setA_User3 (String A_User3); - /** Get User 3 */ + /** Get A_User3 */ public String getA_User3(); /** Column name A_User4 */ public static final String COLUMNNAME_A_User4 = "A_User4"; - /** Set User 4 */ + /** Set A_User4 */ public void setA_User4 (String A_User4); - /** Get User 4 */ + /** Get A_User4 */ public String getA_User4(); /** Column name A_User5 */ public static final String COLUMNNAME_A_User5 = "A_User5"; - /** Set User 5 */ + /** Set A_User5 */ public void setA_User5 (String A_User5); - /** Get User 5 */ + /** Get A_User5 */ public String getA_User5(); /** Column name A_User6 */ public static final String COLUMNNAME_A_User6 = "A_User6"; - /** Set User 6 */ + /** Set A_User6 */ public void setA_User6 (String A_User6); - /** Get User 6 */ + /** Get A_User6 */ public String getA_User6(); /** Column name A_User7 */ public static final String COLUMNNAME_A_User7 = "A_User7"; - /** Set User 7 */ + /** Set A_User7 */ public void setA_User7 (String A_User7); - /** Get User 7 */ + /** Get A_User7 */ public String getA_User7(); /** Column name A_User8 */ public static final String COLUMNNAME_A_User8 = "A_User8"; - /** Set User 8 */ + /** Set A_User8 */ public void setA_User8 (String A_User8); - /** Get User 8 */ + /** Get A_User8 */ public String getA_User8(); /** Column name A_User9 */ public static final String COLUMNNAME_A_User9 = "A_User9"; - /** Set User 9 */ + /** Set A_User9 */ public void setA_User9 (String A_User9); - /** Get User 9 */ + /** Get A_User9 */ public String getA_User9(); /** Column name Created */ @@ -251,10 +260,10 @@ public interface I_A_Asset_Info_Oth /** Column name Text */ public static final String COLUMNNAME_Text = "Text"; - /** Set Text */ + /** Set Description */ public void setText (String Text); - /** Get Text */ + /** Get Description */ public String getText(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java index 0197fe13d6..f005f3897c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Tax public static final String Table_Name = "A_Asset_Info_Tax"; /** AD_Table_ID=53131 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53131; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -63,6 +63,15 @@ public interface I_A_Asset_Info_Tax /** Get Asset Info Tax */ public int getA_Asset_Info_Tax_ID(); + /** Column name A_Asset_Info_Tax_UU */ + public static final String COLUMNNAME_A_Asset_Info_Tax_UU = "A_Asset_Info_Tax_UU"; + + /** Set A_Asset_Info_Tax_UU */ + public void setA_Asset_Info_Tax_UU (String A_Asset_Info_Tax_UU); + + /** Get A_Asset_Info_Tax_UU */ + public String getA_Asset_Info_Tax_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -87,28 +96,28 @@ public interface I_A_Asset_Info_Tax /** Column name A_Finance_Meth */ public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth"; - /** Set Finance Method */ + /** Set Asset Finance Method */ public void setA_Finance_Meth (String A_Finance_Meth); - /** Get Finance Method */ + /** Get Asset Finance Method */ public String getA_Finance_Meth(); /** Column name A_Investment_CR */ public static final String COLUMNNAME_A_Investment_CR = "A_Investment_CR"; - /** Set Investment Credit */ + /** Set Asset Investment CR */ public void setA_Investment_CR (int A_Investment_CR); - /** Get Investment Credit */ + /** Get Asset Investment CR */ public int getA_Investment_CR(); /** Column name A_New_Used */ public static final String COLUMNNAME_A_New_Used = "A_New_Used"; - /** Set Purchased New? */ + /** Set Asset New Used */ public void setA_New_Used (boolean A_New_Used); - /** Get Purchased New? */ + /** Get Asset New Used */ public boolean isA_New_Used(); /** Column name A_State */ @@ -127,10 +136,10 @@ public interface I_A_Asset_Info_Tax /** Column name A_Tax_Entity */ public static final String COLUMNNAME_A_Tax_Entity = "A_Tax_Entity"; - /** Set Tax Entity */ + /** Set Asset Tax Entity */ public void setA_Tax_Entity (String A_Tax_Entity); - /** Get Tax Entity */ + /** Get Asset Tax Entity */ public String getA_Tax_Entity(); /** Column name Created */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java new file mode 100644 index 0000000000..db236c67c3 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java @@ -0,0 +1,200 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for A_Asset_Product + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_A_Asset_Product +{ + + /** TableName=A_Asset_Product */ + public static final String Table_Name = "A_Asset_Product"; + + /** AD_Table_ID=53270 */ + public static final int Table_ID = 53270; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_Product_ID */ + public static final String COLUMNNAME_A_Asset_Product_ID = "A_Asset_Product_ID"; + + /** Set Asset Product */ + public void setA_Asset_Product_ID (int A_Asset_Product_ID); + + /** Get Asset Product */ + public int getA_Asset_Product_ID(); + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name A_QTY_Current */ + public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; + + /** Set Current Qty */ + public void setA_QTY_Current (BigDecimal A_QTY_Current); + + /** Get Current Qty */ + public BigDecimal getA_QTY_Current(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name M_AttributeSetInstance_ID */ + public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; + + /** Set Attribute Set Instance. + * Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); + + /** Get Attribute Set Instance. + * Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID(); + + public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException; + + /** Column name M_Locator_ID */ + public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; + + /** Set Locator. + * Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID); + + /** Get Locator. + * Warehouse Locator + */ + public int getM_Locator_ID(); + + public I_M_Locator getM_Locator() throws RuntimeException; + + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java index f5a4c60921..f5e72daee1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Retirement public static final String Table_Name = "A_Asset_Retirement"; /** AD_Table_ID=540 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 540; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,7 +54,7 @@ public interface I_A_Asset_Retirement */ public int getA_Asset_ID(); - public I_A_Asset getA_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; /** Column name A_Asset_Retirement_ID */ public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID"; @@ -69,6 +69,15 @@ public interface I_A_Asset_Retirement */ public int getA_Asset_Retirement_ID(); + /** Column name A_Asset_Retirement_UU */ + public static final String COLUMNNAME_A_Asset_Retirement_UU = "A_Asset_Retirement_UU"; + + /** Set A_Asset_Retirement_UU */ + public void setA_Asset_Retirement_UU (String A_Asset_Retirement_UU); + + /** Get A_Asset_Retirement_UU */ + public String getA_Asset_Retirement_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -129,7 +138,7 @@ public interface I_A_Asset_Retirement */ public int getC_InvoiceLine_ID(); - public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException; + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java new file mode 100644 index 0000000000..196fbe2b11 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java @@ -0,0 +1,295 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for A_Asset_Reval + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_A_Asset_Reval +{ + + /** TableName=A_Asset_Reval */ + public static final String Table_Name = "A_Asset_Reval"; + + /** AD_Table_ID=53275 */ + public static final int Table_ID = 53275; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name A_Accumulated_Depr */ + public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr"; + + /** Set Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr); + + /** Get Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr(); + + /** Column name A_Asset_Cost */ + public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; + + /** Set Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost); + + /** Get Asset Cost */ + public BigDecimal getA_Asset_Cost(); + + /** Column name A_Asset_Cost_Change */ + public static final String COLUMNNAME_A_Asset_Cost_Change = "A_Asset_Cost_Change"; + + /** Set Asset Cost Change */ + public void setA_Asset_Cost_Change (BigDecimal A_Asset_Cost_Change); + + /** Get Asset Cost Change */ + public BigDecimal getA_Asset_Cost_Change(); + + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_Reval_ID */ + public static final String COLUMNNAME_A_Asset_Reval_ID = "A_Asset_Reval_ID"; + + /** Set Asset Revaluation */ + public void setA_Asset_Reval_ID (int A_Asset_Reval_ID); + + /** Get Asset Revaluation */ + public int getA_Asset_Reval_ID(); + + /** Column name A_Change_Acumulated_Depr */ + public static final String COLUMNNAME_A_Change_Acumulated_Depr = "A_Change_Acumulated_Depr"; + + /** Set Change Acumulated Depreciation */ + public void setA_Change_Acumulated_Depr (BigDecimal A_Change_Acumulated_Depr); + + /** Get Change Acumulated Depreciation */ + public BigDecimal getA_Change_Acumulated_Depr(); + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name DateAcct */ + public static final String COLUMNNAME_DateAcct = "DateAcct"; + + /** Set Account Date. + * Accounting Date + */ + public void setDateAcct (Timestamp DateAcct); + + /** Get Account Date. + * Accounting Date + */ + public Timestamp getDateAcct(); + + /** Column name DateDoc */ + public static final String COLUMNNAME_DateDoc = "DateDoc"; + + /** Set Document Date. + * Date of the Document + */ + public void setDateDoc (Timestamp DateDoc); + + /** Get Document Date. + * Date of the Document + */ + public Timestamp getDateDoc(); + + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + + /** Column name DocumentNo */ + public static final String COLUMNNAME_DocumentNo = "DocumentNo"; + + /** Set Document No. + * Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo); + + /** Get Document No. + * Document sequence number of the document + */ + public String getDocumentNo(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + + /** Column name PostingType */ + public static final String COLUMNNAME_PostingType = "PostingType"; + + /** Set PostingType. + * The type of posted amount for the transaction + */ + public void setPostingType (String PostingType); + + /** Get PostingType. + * The type of posted amount for the transaction + */ + public String getPostingType(); + + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java index 05d0e80b01..80c7d6b402 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Reval_Entry public static final String Table_Name = "A_Asset_Reval_Entry"; /** AD_Table_ID=53119 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53119; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -50,6 +50,15 @@ public interface I_A_Asset_Reval_Entry /** Get Asset Reval. Entry */ public int getA_Asset_Reval_Entry_ID(); + /** Column name A_Asset_Reval_Entry_UU */ + public static final String COLUMNNAME_A_Asset_Reval_Entry_UU = "A_Asset_Reval_Entry_UU"; + + /** Set A_Asset_Reval_Entry_UU */ + public void setA_Asset_Reval_Entry_UU (String A_Asset_Reval_Entry_UU); + + /** Get A_Asset_Reval_Entry_UU */ + public String getA_Asset_Reval_Entry_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -83,10 +92,10 @@ public interface I_A_Asset_Reval_Entry /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; - /** Set Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); - /** Get Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method */ public String getA_Reval_Cal_Method(); /** Column name A_Reval_Effective_Date */ @@ -129,7 +138,7 @@ public interface I_A_Asset_Reval_Entry */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_Currency_ID */ public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; @@ -144,7 +153,7 @@ public interface I_A_Asset_Reval_Entry */ public int getC_Currency_ID(); - public I_C_Currency getC_Currency() throws RuntimeException; + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -159,7 +168,7 @@ public interface I_A_Asset_Reval_Entry */ public int getC_DocType_ID(); - public I_C_DocType getC_DocType() throws RuntimeException; + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException; /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -174,7 +183,7 @@ public interface I_A_Asset_Reval_Entry */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -257,7 +266,7 @@ public interface I_A_Asset_Reval_Entry */ public int getGL_Category_ID(); - public I_GL_Category getGL_Category() throws RuntimeException; + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException; /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java index a1d7350507..e98d910f31 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Reval_Index public static final String Table_Name = "A_Asset_Reval_Index"; /** AD_Table_ID=53120 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53120; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -50,6 +50,15 @@ public interface I_A_Asset_Reval_Index /** Get Asset Reval Index */ public int getA_Asset_Reval_Index_ID(); + /** Column name A_Asset_Reval_Index_UU */ + public static final String COLUMNNAME_A_Asset_Reval_Index_UU = "A_Asset_Reval_Index_UU"; + + /** Set A_Asset_Reval_Index_UU */ + public void setA_Asset_Reval_Index_UU (String A_Asset_Reval_Index_UU); + + /** Get A_Asset_Reval_Index_UU */ + public String getA_Asset_Reval_Index_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java index 5d6755fb47..e3e10eb426 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Split public static final String Table_Name = "A_Asset_Split"; /** AD_Table_ID=53122 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53122; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -53,10 +53,10 @@ public interface I_A_Asset_Split /** Column name A_Asset_Acct_ID */ public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; - /** Set Asset Acct. */ + /** Set A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); - /** Get Asset Acct. */ + /** Get A_Asset_Acct_ID */ public int getA_Asset_Acct_ID(); /** Column name A_Asset_Cost */ @@ -90,7 +90,7 @@ public interface I_A_Asset_Split /** Get To Asset ID */ public int getA_Asset_ID_To(); - public I_A_Asset getA_Asset_To() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Asset_To() throws RuntimeException; /** Column name A_Asset_Split_ID */ public static final String COLUMNNAME_A_Asset_Split_ID = "A_Asset_Split_ID"; @@ -101,6 +101,15 @@ public interface I_A_Asset_Split /** Get Asset Split */ public int getA_Asset_Split_ID(); + /** Column name A_Asset_Split_UU */ + public static final String COLUMNNAME_A_Asset_Split_UU = "A_Asset_Split_UU"; + + /** Set A_Asset_Split_UU */ + public void setA_Asset_Split_UU (String A_Asset_Split_UU); + + /** Get A_Asset_Split_UU */ + public String getA_Asset_Split_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -112,10 +121,10 @@ public interface I_A_Asset_Split /** Column name A_Depreciation_Workfile_ID */ public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID"; - /** Set Depreciation Workfile */ + /** Set A_Depreciation_Workfile_ID */ public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID); - /** Get Depreciation Workfile */ + /** Get A_Depreciation_Workfile_ID */ public int getA_Depreciation_Workfile_ID(); /** Column name AD_Org_ID */ @@ -152,10 +161,10 @@ public interface I_A_Asset_Split /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public BigDecimal getA_QTY_Current(); /** Column name A_QTY_Split */ @@ -179,10 +188,10 @@ public interface I_A_Asset_Split /** Column name A_Transfer_Balance_IS */ public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS"; - /** Set Transfer Balance IS */ + /** Set A_Transfer_Balance_IS */ public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS); - /** Get Transfer Balance IS */ + /** Get A_Transfer_Balance_IS */ public boolean isA_Transfer_Balance_IS(); /** Column name C_Period_ID */ @@ -198,7 +207,7 @@ public interface I_A_Asset_Split */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Spread.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Spread.java index 283356e877..29a14e41cb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Spread.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Spread.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Spread public static final String Table_Name = "A_Asset_Spread"; /** AD_Table_ID=53126 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53126; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,21 +44,30 @@ public interface I_A_Asset_Spread /** Column name A_Asset_Spread_ID */ public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID"; - /** Set Asset Spread */ + /** Set A_Asset_Spread_ID */ public void setA_Asset_Spread_ID (int A_Asset_Spread_ID); - /** Get Asset Spread */ + /** Get A_Asset_Spread_ID */ public int getA_Asset_Spread_ID(); /** Column name A_Asset_Spread_Type */ public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; - /** Set Asset Spread Type */ + /** Set Spread Type */ public void setA_Asset_Spread_Type (String A_Asset_Spread_Type); - /** Get Asset Spread Type */ + /** Get Spread Type */ public String getA_Asset_Spread_Type(); + /** Column name A_Asset_Spread_UU */ + public static final String COLUMNNAME_A_Asset_Spread_UU = "A_Asset_Spread_UU"; + + /** Set A_Asset_Spread_UU */ + public void setA_Asset_Spread_UU (String A_Asset_Spread_UU); + + /** Get A_Asset_Spread_UU */ + public String getA_Asset_Spread_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java index bda6721b02..12b0bfe1df 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Transfer public static final String Table_Name = "A_Asset_Transfer"; /** AD_Table_ID=53128 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53128; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,12 +44,14 @@ public interface I_A_Asset_Transfer /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; - /** Set Accumulated Depreciation */ + /** Set Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); - /** Get Accumulated Depreciation */ + /** Get Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct(); + public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; + /** Column name A_Accumdepreciation_Acct_New */ public static final String COLUMNNAME_A_Accumdepreciation_Acct_New = "A_Accumdepreciation_Acct_New"; @@ -64,28 +66,50 @@ public interface I_A_Asset_Transfer /** Column name A_Accumdepreciation_Acct_Str */ public static final String COLUMNNAME_A_Accumdepreciation_Acct_Str = "A_Accumdepreciation_Acct_Str"; - /** Set Old Accum Depreciation Acct */ + /** Set Old Asset Cost Acct */ public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str); - /** Get Old Accum Depreciation Acct */ + /** Get Old Asset Cost Acct */ public String getA_Accumdepreciation_Acct_Str(); + /** Column name A_Accumdepreciation_New_Acct */ + public static final String COLUMNNAME_A_Accumdepreciation_New_Acct = "A_Accumdepreciation_New_Acct"; + + /** Set Accumulated Depreciation Account (new) */ + public void setA_Accumdepreciation_New_Acct (int A_Accumdepreciation_New_Acct); + + /** Get Accumulated Depreciation Account (new) */ + public int getA_Accumdepreciation_New_Acct(); + + public I_C_ValidCombination getA_Accumdepreciation_New_A() throws RuntimeException; + + /** Column name A_Accumulated_Depr_F */ + public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F"; + + /** Set Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F); + + /** Get Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F(); + /** Column name A_Asset_Acct */ public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; - /** Set Asset Cost Account */ + /** Set Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct); - /** Get Asset Cost Account */ + /** Get Asset Acct */ public int getA_Asset_Acct(); + public I_C_ValidCombination getA_Asset_A() throws RuntimeException; + /** Column name A_Asset_Acct_ID */ public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; - /** Set Asset Acct. */ + /** Set A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); - /** Get Asset Acct. */ + /** Get A_Asset_Acct_ID */ public int getA_Asset_Acct_ID(); /** Column name A_Asset_Acct_New */ @@ -102,10 +126,10 @@ public interface I_A_Asset_Transfer /** Column name A_Asset_Acct_Str */ public static final String COLUMNNAME_A_Asset_Acct_Str = "A_Asset_Acct_Str"; - /** Set Old Asset Cost Acct */ + /** Set A_Asset_Acct_Str */ public void setA_Asset_Acct_Str (String A_Asset_Acct_Str); - /** Get Old Asset Cost Acct */ + /** Get A_Asset_Acct_Str */ public String getA_Asset_Acct_Str(); /** Column name A_Asset_ID */ @@ -121,15 +145,46 @@ public interface I_A_Asset_Transfer */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_New_Acct */ + public static final String COLUMNNAME_A_Asset_New_Acct = "A_Asset_New_Acct"; + + /** Set Asset Acct (new) */ + public void setA_Asset_New_Acct (int A_Asset_New_Acct); + + /** Get Asset Acct (new) */ + public int getA_Asset_New_Acct(); + + public I_C_ValidCombination getA_Asset_New_A() throws RuntimeException; + /** Column name A_Asset_Transfer_ID */ public static final String COLUMNNAME_A_Asset_Transfer_ID = "A_Asset_Transfer_ID"; - /** Set Asset Transfer */ + /** Set A_Asset_Transfer_ID */ public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID); - /** Get Asset Transfer */ + /** Get A_Asset_Transfer_ID */ public int getA_Asset_Transfer_ID(); + /** Column name A_Asset_Transfer_UU */ + public static final String COLUMNNAME_A_Asset_Transfer_UU = "A_Asset_Transfer_UU"; + + /** Set A_Asset_Transfer_UU */ + public void setA_Asset_Transfer_UU (String A_Asset_Transfer_UU); + + /** Get A_Asset_Transfer_UU */ + public String getA_Asset_Transfer_UU(); + + /** Column name A_CapvsExp */ + public static final String COLUMNNAME_A_CapvsExp = "A_CapvsExp"; + + /** Set Capital/Expense */ + public void setA_CapvsExp (String A_CapvsExp); + + /** Get Capital/Expense */ + public String getA_CapvsExp(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -141,12 +196,14 @@ public interface I_A_Asset_Transfer /** Column name A_Depreciation_Acct */ public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; - /** Set Depreciation Expense Account */ + /** Set Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct); - /** Get Depreciation Expense Account */ + /** Get Depreciation Account */ public int getA_Depreciation_Acct(); + public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; + /** Column name A_Depreciation_Acct_New */ public static final String COLUMNNAME_A_Depreciation_Acct_New = "A_Depreciation_Acct_New"; @@ -161,12 +218,23 @@ public interface I_A_Asset_Transfer /** Column name A_Depreciation_Acct_Str */ public static final String COLUMNNAME_A_Depreciation_Acct_Str = "A_Depreciation_Acct_Str"; - /** Set Old Depreciation Exp Acct */ + /** Set A_Depreciation_Acct_Str */ public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str); - /** Get Old Depreciation Exp Acct */ + /** Get A_Depreciation_Acct_Str */ public String getA_Depreciation_Acct_Str(); + /** Column name A_Depreciation_New_Acct */ + public static final String COLUMNNAME_A_Depreciation_New_Acct = "A_Depreciation_New_Acct"; + + /** Set Depreciation Acct (new) */ + public void setA_Depreciation_New_Acct (int A_Depreciation_New_Acct); + + /** Get Depreciation Acct (new) */ + public int getA_Depreciation_New_Acct(); + + public I_C_ValidCombination getA_Depreciation_New_A() throws RuntimeException; + /** Column name A_Disposal_Loss */ public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; @@ -176,6 +244,17 @@ public interface I_A_Asset_Transfer /** Get Loss on Disposal */ public int getA_Disposal_Loss(); + /** Column name A_Disposal_Loss_Acct */ + public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct"; + + /** Set Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct); + + /** Get Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct(); + + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException; + /** Column name A_Disposal_Loss_New */ public static final String COLUMNNAME_A_Disposal_Loss_New = "A_Disposal_Loss_New"; @@ -187,13 +266,24 @@ public interface I_A_Asset_Transfer public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException; + /** Column name A_Disposal_Loss_New_Acct */ + public static final String COLUMNNAME_A_Disposal_Loss_New_Acct = "A_Disposal_Loss_New_Acct"; + + /** Set Disposal Loss Acct (new) */ + public void setA_Disposal_Loss_New_Acct (int A_Disposal_Loss_New_Acct); + + /** Get Disposal Loss Acct (new) */ + public int getA_Disposal_Loss_New_Acct(); + + public I_C_ValidCombination getA_Disposal_Loss_New_A() throws RuntimeException; + /** Column name A_Disposal_Loss_Str */ public static final String COLUMNNAME_A_Disposal_Loss_Str = "A_Disposal_Loss_Str"; - /** Set Old Disposal Loss */ + /** Set Disposal Loss Str */ public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str); - /** Get Old Disposal Loss */ + /** Get Disposal Loss Str */ public String getA_Disposal_Loss_Str(); /** Column name A_Disposal_Revenue */ @@ -205,6 +295,17 @@ public interface I_A_Asset_Transfer /** Get Disposal Revenue */ public int getA_Disposal_Revenue(); + /** Column name A_Disposal_Revenue_Acct */ + public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct"; + + /** Set Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct); + + /** Get Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct(); + + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException; + /** Column name A_Disposal_Revenue_New */ public static final String COLUMNNAME_A_Disposal_Revenue_New = "A_Disposal_Revenue_New"; @@ -216,13 +317,24 @@ public interface I_A_Asset_Transfer public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException; + /** Column name A_Disposal_Revenue_New_Acct */ + public static final String COLUMNNAME_A_Disposal_Revenue_New_Acct = "A_Disposal_Revenue_New_Acct"; + + /** Set Disposal Revenue Acct (new) */ + public void setA_Disposal_Revenue_New_Acct (int A_Disposal_Revenue_New_Acct); + + /** Get Disposal Revenue Acct (new) */ + public int getA_Disposal_Revenue_New_Acct(); + + public I_C_ValidCombination getA_Disposal_Revenue_New_A() throws RuntimeException; + /** Column name A_Disposal_Revenue_Str */ public static final String COLUMNNAME_A_Disposal_Revenue_Str = "A_Disposal_Revenue_Str"; - /** Set Old Disposal Revenue */ + /** Set Disposal Revenue Str */ public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str); - /** Get Old Disposal Revenue */ + /** Get Disposal Revenue Str */ public String getA_Disposal_Revenue_Str(); /** Column name AD_Org_ID */ @@ -241,46 +353,46 @@ public interface I_A_Asset_Transfer /** Column name A_Period_End */ public static final String COLUMNNAME_A_Period_End = "A_Period_End"; - /** Set Period End */ + /** Set A_Period_End */ public void setA_Period_End (int A_Period_End); - /** Get Period End */ + /** Get A_Period_End */ public int getA_Period_End(); /** Column name A_Period_Start */ public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; - /** Set Period Start */ + /** Set A_Period_Start */ public void setA_Period_Start (int A_Period_Start); - /** Get Period Start */ + /** Get A_Period_Start */ public int getA_Period_Start(); /** Column name A_Split_Percent */ public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; - /** Set Split Percentage */ + /** Set Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent); - /** Get Split Percentage */ + /** Get Split Percent */ public BigDecimal getA_Split_Percent(); /** Column name A_Transfer_Balance */ public static final String COLUMNNAME_A_Transfer_Balance = "A_Transfer_Balance"; - /** Set Transfer Balance Sheet */ + /** Set A_Transfer_Balance */ public void setA_Transfer_Balance (boolean A_Transfer_Balance); - /** Get Transfer Balance Sheet */ + /** Get A_Transfer_Balance */ public boolean isA_Transfer_Balance(); /** Column name A_Transfer_Balance_IS */ public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS"; - /** Set Transfer Balance IS */ + /** Set A_Transfer_Balance_IS */ public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS); - /** Get Transfer Balance IS */ + /** Get A_Transfer_Balance_IS */ public boolean isA_Transfer_Balance_IS(); /** Column name C_AcctSchema_ID */ @@ -296,7 +408,7 @@ public interface I_A_Asset_Transfer */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -311,7 +423,7 @@ public interface I_A_Asset_Transfer */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -342,6 +454,58 @@ public interface I_A_Asset_Transfer */ public Timestamp getDateAcct(); + /** Column name DateDoc */ + public static final String COLUMNNAME_DateDoc = "DateDoc"; + + /** Set Document Date. + * Date of the Document + */ + public void setDateDoc (Timestamp DateDoc); + + /** Get Document Date. + * Date of the Document + */ + public Timestamp getDateDoc(); + + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + + /** Column name DocumentNo */ + public static final String COLUMNNAME_DocumentNo = "DocumentNo"; + + /** Set Document No. + * Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo); + + /** Get Document No. + * Document sequence number of the document + */ + public String getDocumentNo(); + /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -355,6 +519,19 @@ public interface I_A_Asset_Transfer */ public boolean isActive(); + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; @@ -381,6 +558,19 @@ public interface I_A_Asset_Transfer */ public boolean isProcessed(); + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java new file mode 100644 index 0000000000..9f502c752e --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java @@ -0,0 +1,196 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for A_Asset_Type + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_A_Asset_Type +{ + + /** TableName=A_Asset_Type */ + public static final String Table_Name = "A_Asset_Type"; + + /** AD_Table_ID=53276 */ + public static final int Table_ID = 53276; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name A_Asset_Type_ID */ + public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID"; + + /** Set Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID); + + /** Get Asset Type */ + public int getA_Asset_Type_ID(); + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name IsDepreciable */ + public static final String COLUMNNAME_IsDepreciable = "IsDepreciable"; + + /** Set Is Depreciable. + * This asset CAN be depreciated + */ + public void setIsDepreciable (String IsDepreciable); + + /** Get Is Depreciable. + * This asset CAN be depreciated + */ + public String getIsDepreciable(); + + /** Column name IsInPosession */ + public static final String COLUMNNAME_IsInPosession = "IsInPosession"; + + /** Set In Possession. + * The asset is in the possession of the organization + */ + public void setIsInPosession (String IsInPosession); + + /** Get In Possession. + * The asset is in the possession of the organization + */ + public String getIsInPosession(); + + /** Column name IsOwned */ + public static final String COLUMNNAME_IsOwned = "IsOwned"; + + /** Set Owned. + * The asset is owned by the organization + */ + public void setIsOwned (String IsOwned); + + /** Get Owned. + * The asset is owned by the organization + */ + public String getIsOwned(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + + /** Column name Value */ + public static final String COLUMNNAME_Value = "Value"; + + /** Set Search Key. + * Search key for the record in the format required - must be unique + */ + public void setValue (String Value); + + /** Get Search Key. + * Search key for the record in the format required - must be unique + */ + public String getValue(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java index 13fe203ac6..0592d742ed 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java @@ -31,7 +31,7 @@ public interface I_A_Asset_Use public static final String Table_Name = "A_Asset_Use"; /** AD_Table_ID=53138 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53138; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,15 +54,26 @@ public interface I_A_Asset_Use */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_Asset_Use_ID */ public static final String COLUMNNAME_A_Asset_Use_ID = "A_Asset_Use_ID"; - /** Set Asset Use */ + /** Set A_Asset_Use_ID */ public void setA_Asset_Use_ID (int A_Asset_Use_ID); - /** Get Asset Use */ + /** Get A_Asset_Use_ID */ public int getA_Asset_Use_ID(); + /** Column name A_Asset_Use_UU */ + public static final String COLUMNNAME_A_Asset_Use_UU = "A_Asset_Use_UU"; + + /** Set A_Asset_Use_UU */ + public void setA_Asset_Use_UU (String A_Asset_Use_UU); + + /** Get A_Asset_Use_UU */ + public String getA_Asset_Use_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java index 59ef785f26..e27f72cecf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation public static final String Table_Name = "A_Depreciation"; /** AD_Table_ID=53112 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53112; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -52,12 +52,21 @@ public interface I_A_Depreciation /** Column name A_Depreciation_ID */ public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; - /** Set Depreciation Type */ + /** Set Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID); - /** Get Depreciation Type */ + /** Get Depreciation */ public int getA_Depreciation_ID(); + /** Column name A_Depreciation_UU */ + public static final String COLUMNNAME_A_Depreciation_UU = "A_Depreciation_UU"; + + /** Set A_Depreciation_UU */ + public void setA_Depreciation_UU (String A_Depreciation_UU); + + /** Get A_Depreciation_UU */ + public String getA_Depreciation_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -151,10 +160,10 @@ public interface I_A_Depreciation /** Column name Text */ public static final String COLUMNNAME_Text = "Text"; - /** Set Text */ + /** Set Description */ public void setText (String Text); - /** Get Text */ + /** Get Description */ public String getText(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java index 6e5d9bf3bb..e8e1f0d7c8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Build public static final String Table_Name = "A_Depreciation_Build"; /** AD_Table_ID=53129 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53129; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -52,12 +52,21 @@ public interface I_A_Depreciation_Build /** Column name A_Depreciation_Build_ID */ public static final String COLUMNNAME_A_Depreciation_Build_ID = "A_Depreciation_Build_ID"; - /** Set Depreciation Build */ + /** Set Build Depreciation */ public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID); - /** Get Depreciation Build */ + /** Get Build Depreciation */ public int getA_Depreciation_Build_ID(); + /** Column name A_Depreciation_Build_UU */ + public static final String COLUMNNAME_A_Depreciation_Build_UU = "A_Depreciation_Build_UU"; + + /** Set A_Depreciation_Build_UU */ + public void setA_Depreciation_Build_UU (String A_Depreciation_Build_UU); + + /** Get A_Depreciation_Build_UU */ + public String getA_Depreciation_Build_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -74,24 +83,24 @@ public interface I_A_Depreciation_Build /** Column name A_End_Asset_ID */ public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID"; - /** Set End Aset ID */ + /** Set To Asset */ public void setA_End_Asset_ID (int A_End_Asset_ID); - /** Get End Aset ID */ + /** Get To Asset */ public int getA_End_Asset_ID(); - public I_A_Asset getA_End_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException; /** Column name A_Start_Asset_ID */ public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID"; - /** Set Start Asset */ + /** Set From Asset */ public void setA_Start_Asset_ID (int A_Start_Asset_ID); - /** Get Start Asset */ + /** Get From Asset */ public int getA_Start_Asset_ID(); - public I_A_Asset getA_Start_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException; /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -106,7 +115,7 @@ public interface I_A_Depreciation_Build */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java index 98326e7ec1..d245627f8c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Convention public static final String Table_Name = "A_Depreciation_Convention"; /** AD_Table_ID=53125 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53125; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -58,6 +58,15 @@ public interface I_A_Depreciation_Convention /** Get Depreciation Convention */ public int getA_Depreciation_Convention_ID(); + /** Column name A_Depreciation_Convention_UU */ + public static final String COLUMNNAME_A_Depreciation_Convention_UU = "A_Depreciation_Convention_UU"; + + /** Set A_Depreciation_Convention_UU */ + public void setA_Depreciation_Convention_UU (String A_Depreciation_Convention_UU); + + /** Get A_Depreciation_Convention_UU */ + public String getA_Depreciation_Convention_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java index f233a8f96b..af8af8bf3f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java @@ -31,13 +31,13 @@ public interface I_A_Depreciation_Entry public static final String Table_Name = "A_Depreciation_Entry"; /** AD_Table_ID=53121 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53121; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); - /** AccessLevel = 7 - System - Client - Org + /** AccessLevel = 3 - Client - Org */ - BigDecimal accessLevel = BigDecimal.valueOf(7); + BigDecimal accessLevel = BigDecimal.valueOf(3); /** Load Meta Data */ @@ -58,6 +58,15 @@ public interface I_A_Depreciation_Entry /** Get Depreciation Entry */ public int getA_Depreciation_Entry_ID(); + /** Column name A_Depreciation_Entry_UU */ + public static final String COLUMNNAME_A_Depreciation_Entry_UU = "A_Depreciation_Entry_UU"; + + /** Set A_Depreciation_Entry_UU */ + public void setA_Depreciation_Entry_UU (String A_Depreciation_Entry_UU); + + /** Get A_Depreciation_Entry_UU */ + public String getA_Depreciation_Entry_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -93,7 +102,7 @@ public interface I_A_Depreciation_Entry */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_Currency_ID */ public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; @@ -108,7 +117,7 @@ public interface I_A_Depreciation_Entry */ public int getC_Currency_ID(); - public I_C_Currency getC_Currency() throws RuntimeException; + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -123,7 +132,7 @@ public interface I_A_Depreciation_Entry */ public int getC_DocType_ID(); - public I_C_DocType getC_DocType() throws RuntimeException; + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException; /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -138,7 +147,7 @@ public interface I_A_Depreciation_Entry */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -195,6 +204,32 @@ public interface I_A_Depreciation_Entry */ public String getDescription(); + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + /** Column name DocumentNo */ public static final String COLUMNNAME_DocumentNo = "DocumentNo"; @@ -221,7 +256,7 @@ public interface I_A_Depreciation_Entry */ public int getGL_Category_ID(); - public I_GL_Category getGL_Category() throws RuntimeException; + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException; /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -236,6 +271,32 @@ public interface I_A_Depreciation_Entry */ public boolean isActive(); + /** Column name IsApproved */ + public static final String COLUMNNAME_IsApproved = "IsApproved"; + + /** Set Approved. + * Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved); + + /** Get Approved. + * Indicates if this document requires approval + */ + public boolean isApproved(); + + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; @@ -262,6 +323,19 @@ public interface I_A_Depreciation_Entry */ public boolean isProcessed(); + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java index d2d65f1d85..6a44289287 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java @@ -31,26 +31,102 @@ public interface I_A_Depreciation_Exp public static final String Table_Name = "A_Depreciation_Exp"; /** AD_Table_ID=53115 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53115; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); - /** AccessLevel = 7 - System - Client - Org + /** AccessLevel = 3 - Client - Org */ - BigDecimal accessLevel = BigDecimal.valueOf(7); + BigDecimal accessLevel = BigDecimal.valueOf(3); /** Load Meta Data */ - /** Column name A_Account_Number */ - public static final String COLUMNNAME_A_Account_Number = "A_Account_Number"; + /** Column name A_Account_Number_Acct */ + public static final String COLUMNNAME_A_Account_Number_Acct = "A_Account_Number_Acct"; - /** Set Account Number */ - public void setA_Account_Number (int A_Account_Number); + /** Set A_Account_Number_Acct */ + public void setA_Account_Number_Acct (int A_Account_Number_Acct); - /** Get Account Number */ - public int getA_Account_Number(); + /** Get A_Account_Number_Acct */ + public int getA_Account_Number_Acct(); - public I_C_ValidCombination getA_Account_Num() throws RuntimeException; + public I_C_ValidCombination getA_Account_Number_A() throws RuntimeException; + + /** Column name A_Accumulated_Depr */ + public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr"; + + /** Set Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr); + + /** Get Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr(); + + /** Column name A_Accumulated_Depr_Delta */ + public static final String COLUMNNAME_A_Accumulated_Depr_Delta = "A_Accumulated_Depr_Delta"; + + /** Set Accumulated Depreciation (delta) */ + public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta); + + /** Get Accumulated Depreciation (delta) */ + public BigDecimal getA_Accumulated_Depr_Delta(); + + /** Column name A_Accumulated_Depr_F */ + public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F"; + + /** Set Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F); + + /** Get Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F(); + + /** Column name A_Accumulated_Depr_F_Delta */ + public static final String COLUMNNAME_A_Accumulated_Depr_F_Delta = "A_Accumulated_Depr_F_Delta"; + + /** Set Accumulated Depreciation - fiscal (delta) */ + public void setA_Accumulated_Depr_F_Delta (BigDecimal A_Accumulated_Depr_F_Delta); + + /** Get Accumulated Depreciation - fiscal (delta) */ + public BigDecimal getA_Accumulated_Depr_F_Delta(); + + /** Column name A_Asset_Addition_ID */ + public static final String COLUMNNAME_A_Asset_Addition_ID = "A_Asset_Addition_ID"; + + /** Set Asset Addition */ + public void setA_Asset_Addition_ID (int A_Asset_Addition_ID); + + /** Get Asset Addition */ + public int getA_Asset_Addition_ID(); + + public org.compiere.model.I_A_Asset_Addition getA_Asset_Addition() throws RuntimeException; + + /** Column name A_Asset_Cost */ + public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; + + /** Set Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost); + + /** Get Asset Cost */ + public BigDecimal getA_Asset_Cost(); + + /** Column name A_Asset_Cost_Delta */ + public static final String COLUMNNAME_A_Asset_Cost_Delta = "A_Asset_Cost_Delta"; + + /** Set Delta Asset Cost */ + public void setA_Asset_Cost_Delta (BigDecimal A_Asset_Cost_Delta); + + /** Get Delta Asset Cost */ + public BigDecimal getA_Asset_Cost_Delta(); + + /** Column name A_Asset_Disposed_ID */ + public static final String COLUMNNAME_A_Asset_Disposed_ID = "A_Asset_Disposed_ID"; + + /** Set Asset Disposed */ + public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID); + + /** Get Asset Disposed */ + public int getA_Asset_Disposed_ID(); + + public org.compiere.model.I_A_Asset_Disposed getA_Asset_Disposed() throws RuntimeException; /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -65,6 +141,26 @@ public interface I_A_Depreciation_Exp */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_Remaining */ + public static final String COLUMNNAME_A_Asset_Remaining = "A_Asset_Remaining"; + + /** Set Remaining Amt */ + public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining); + + /** Get Remaining Amt */ + public BigDecimal getA_Asset_Remaining(); + + /** Column name A_Asset_Remaining_F */ + public static final String COLUMNNAME_A_Asset_Remaining_F = "A_Asset_Remaining_F"; + + /** Set Remaining Amt (fiscal) */ + public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F); + + /** Get Remaining Amt (fiscal) */ + public BigDecimal getA_Asset_Remaining_F(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -73,15 +169,35 @@ public interface I_A_Depreciation_Exp */ public int getAD_Client_ID(); + /** Column name A_Depreciation_Entry_ID */ + public static final String COLUMNNAME_A_Depreciation_Entry_ID = "A_Depreciation_Entry_ID"; + + /** Set Depreciation Entry */ + public void setA_Depreciation_Entry_ID (int A_Depreciation_Entry_ID); + + /** Get Depreciation Entry */ + public int getA_Depreciation_Entry_ID(); + + public org.compiere.model.I_A_Depreciation_Entry getA_Depreciation_Entry() throws RuntimeException; + /** Column name A_Depreciation_Exp_ID */ public static final String COLUMNNAME_A_Depreciation_Exp_ID = "A_Depreciation_Exp_ID"; - /** Set Depreciation Exp. */ + /** Set A_Depreciation_Exp_ID */ public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID); - /** Get Depreciation Exp. */ + /** Get A_Depreciation_Exp_ID */ public int getA_Depreciation_Exp_ID(); + /** Column name A_Depreciation_Exp_UU */ + public static final String COLUMNNAME_A_Depreciation_Exp_UU = "A_Depreciation_Exp_UU"; + + /** Set A_Depreciation_Exp_UU */ + public void setA_Depreciation_Exp_UU (String A_Depreciation_Exp_UU); + + /** Get A_Depreciation_Exp_UU */ + public String getA_Depreciation_Exp_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -107,12 +223,27 @@ public interface I_A_Depreciation_Exp /** Column name A_Period */ public static final String COLUMNNAME_A_Period = "A_Period"; - /** Set Period/Yearly */ + /** Set Asset Period */ public void setA_Period (int A_Period); - /** Get Period/Yearly */ + /** Get Asset Period */ public int getA_Period(); + /** Column name CR_Account_ID */ + public static final String COLUMNNAME_CR_Account_ID = "CR_Account_ID"; + + /** Set Account (credit). + * Account used + */ + public void setCR_Account_ID (int CR_Account_ID); + + /** Get Account (credit). + * Account used + */ + public int getCR_Account_ID(); + + public I_C_ValidCombination getCR_Account() throws RuntimeException; + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -155,6 +286,21 @@ public interface I_A_Depreciation_Exp */ public String getDescription(); + /** Column name DR_Account_ID */ + public static final String COLUMNNAME_DR_Account_ID = "DR_Account_ID"; + + /** Set Account (debit). + * Account used + */ + public void setDR_Account_ID (int DR_Account_ID); + + /** Get Account (debit). + * Account used + */ + public int getDR_Account_ID(); + + public I_C_ValidCombination getDR_Account() throws RuntimeException; + /** Column name Expense */ public static final String COLUMNNAME_Expense = "Expense"; @@ -164,6 +310,28 @@ public interface I_A_Depreciation_Exp /** Get Expense */ public BigDecimal getExpense(); + /** Column name Expense_F */ + public static final String COLUMNNAME_Expense_F = "Expense_F"; + + /** Set Expense (fiscal) */ + public void setExpense_F (BigDecimal Expense_F); + + /** Get Expense (fiscal) */ + public BigDecimal getExpense_F(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -216,6 +384,15 @@ public interface I_A_Depreciation_Exp */ public boolean isProcessed(); + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; @@ -231,4 +408,26 @@ public interface I_A_Depreciation_Exp * User who updated this records */ public int getUpdatedBy(); + + /** Column name UseLifeMonths */ + public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths"; + + /** Set Usable Life - Months. + * Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths); + + /** Get Usable Life - Months. + * Months of the usable life of the asset + */ + public int getUseLifeMonths(); + + /** Column name UseLifeMonths_F */ + public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F"; + + /** Set Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F); + + /** Get Use Life - Months (fiscal) */ + public int getUseLifeMonths_F(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java index 5b4214d84b..e8b97aa4c3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Forecast public static final String Table_Name = "A_Depreciation_Forecast"; /** AD_Table_ID=53118 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53118; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -58,6 +58,15 @@ public interface I_A_Depreciation_Forecast /** Get Depreciation Forecast */ public int getA_Depreciation_Forecast_ID(); + /** Column name A_Depreciation_Forecast_UU */ + public static final String COLUMNNAME_A_Depreciation_Forecast_UU = "A_Depreciation_Forecast_UU"; + + /** Set A_Depreciation_Forecast_UU */ + public void setA_Depreciation_Forecast_UU (String A_Depreciation_Forecast_UU); + + /** Get A_Depreciation_Forecast_UU */ + public String getA_Depreciation_Forecast_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -74,24 +83,24 @@ public interface I_A_Depreciation_Forecast /** Column name A_End_Asset_ID */ public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID"; - /** Set End Aset ID */ + /** Set To Asset */ public void setA_End_Asset_ID (int A_End_Asset_ID); - /** Get End Aset ID */ + /** Get To Asset */ public int getA_End_Asset_ID(); - public I_A_Asset getA_End_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException; /** Column name A_Start_Asset_ID */ public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID"; - /** Set Start Asset */ + /** Set From Asset */ public void setA_Start_Asset_ID (int A_Start_Asset_ID); - /** Get Start Asset */ + /** Get From Asset */ public int getA_Start_Asset_ID(); - public I_A_Asset getA_Start_Asset() throws RuntimeException; + public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java index 7822033a9c..e72c007f22 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Method public static final String Table_Name = "A_Depreciation_Method"; /** AD_Table_ID=53124 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53124; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -52,12 +52,21 @@ public interface I_A_Depreciation_Method /** Column name A_Depreciation_Method_ID */ public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID"; - /** Set Depreciation Calculation Type */ + /** Set Depreciation Method */ public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID); - /** Get Depreciation Calculation Type */ + /** Get Depreciation Method */ public int getA_Depreciation_Method_ID(); + /** Column name A_Depreciation_Method_UU */ + public static final String COLUMNNAME_A_Depreciation_Method_UU = "A_Depreciation_Method_UU"; + + /** Set A_Depreciation_Method_UU */ + public void setA_Depreciation_Method_UU (String A_Depreciation_Method_UU); + + /** Get A_Depreciation_Method_UU */ + public String getA_Depreciation_Method_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -151,10 +160,10 @@ public interface I_A_Depreciation_Method /** Column name Text */ public static final String COLUMNNAME_Text = "Text"; - /** Set Text */ + /** Set Description */ public void setText (String Text); - /** Get Text */ + /** Get Description */ public String getText(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java index a20109074b..e98a60119f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Table_Detail public static final String Table_Name = "A_Depreciation_Table_Detail"; /** AD_Table_ID=53113 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53113; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -76,6 +76,15 @@ public interface I_A_Depreciation_Table_Detail /** Get Depreciation Table Detail */ public int getA_Depreciation_Table_Detail_ID(); + /** Column name A_Depreciation_Table_Detail_UU */ + public static final String COLUMNNAME_A_Depreciation_Table_Detail_UU = "A_Depreciation_Table_Detail_UU"; + + /** Set A_Depreciation_Table_Detail_UU */ + public void setA_Depreciation_Table_Detail_UU (String A_Depreciation_Table_Detail_UU); + + /** Get A_Depreciation_Table_Detail_UU */ + public String getA_Depreciation_Table_Detail_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -92,10 +101,10 @@ public interface I_A_Depreciation_Table_Detail /** Column name A_Period */ public static final String COLUMNNAME_A_Period = "A_Period"; - /** Set Period/Yearly */ + /** Set Asset Period */ public void setA_Period (int A_Period); - /** Get Period/Yearly */ + /** Get Asset Period */ public int getA_Period(); /** Column name A_Table_Rate_Type */ diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java index 0ac6af8cf7..5bef31bcea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Table_Header public static final String Table_Name = "A_Depreciation_Table_Header"; /** AD_Table_ID=53114 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53114; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -61,12 +61,21 @@ public interface I_A_Depreciation_Table_Header /** Column name A_Depreciation_Table_Header_ID */ public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; - /** Set Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); - /** Get Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID(); + /** Column name A_Depreciation_Table_Header_UU */ + public static final String COLUMNNAME_A_Depreciation_Table_Header_UU = "A_Depreciation_Table_Header_UU"; + + /** Set A_Depreciation_Table_Header_UU */ + public void setA_Depreciation_Table_Header_UU (String A_Depreciation_Table_Header_UU); + + /** Get A_Depreciation_Table_Header_UU */ + public String getA_Depreciation_Table_Header_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java index 933a6bbc79..01aa8dd5c3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java @@ -31,7 +31,7 @@ public interface I_A_Depreciation_Workfile public static final String Table_Name = "A_Depreciation_Workfile"; /** AD_Table_ID=53116 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53116; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -50,6 +50,15 @@ public interface I_A_Depreciation_Workfile /** Get Accumulated Depreciation */ public BigDecimal getA_Accumulated_Depr(); + /** Column name A_Accumulated_Depr_F */ + public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F"; + + /** Set Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F); + + /** Get Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F(); + /** Column name A_Asset_Cost */ public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; @@ -72,49 +81,78 @@ public interface I_A_Depreciation_Workfile */ public int getA_Asset_ID(); + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + /** Column name A_Asset_Life_Current_Year */ public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year"; - /** Set Asset Life Current Year */ + /** Set A_Asset_Life_Current_Year */ public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year); - /** Get Asset Life Current Year */ + /** Get A_Asset_Life_Current_Year */ public BigDecimal getA_Asset_Life_Current_Year(); /** Column name A_Asset_Life_Years */ public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years"; - /** Set Asset Life Years */ + /** Set Life Years */ public void setA_Asset_Life_Years (int A_Asset_Life_Years); - /** Get Asset Life Years */ + /** Get Life Years */ public int getA_Asset_Life_Years(); + /** Column name A_Asset_Life_Years_F */ + public static final String COLUMNNAME_A_Asset_Life_Years_F = "A_Asset_Life_Years_F"; + + /** Set Life Years (fiscal) */ + public void setA_Asset_Life_Years_F (int A_Asset_Life_Years_F); + + /** Get Life Years (fiscal) */ + public int getA_Asset_Life_Years_F(); + + /** Column name A_Asset_Remaining */ + public static final String COLUMNNAME_A_Asset_Remaining = "A_Asset_Remaining"; + + /** Set Remaining Amt */ + public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining); + + /** Get Remaining Amt */ + public BigDecimal getA_Asset_Remaining(); + + /** Column name A_Asset_Remaining_F */ + public static final String COLUMNNAME_A_Asset_Remaining_F = "A_Asset_Remaining_F"; + + /** Set Remaining Amt (fiscal) */ + public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F); + + /** Get Remaining Amt (fiscal) */ + public BigDecimal getA_Asset_Remaining_F(); + /** Column name A_Base_Amount */ public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount"; - /** Set Base Amount */ + /** Set A_Base_Amount */ public void setA_Base_Amount (BigDecimal A_Base_Amount); - /** Get Base Amount */ + /** Get A_Base_Amount */ public BigDecimal getA_Base_Amount(); /** Column name A_Calc_Accumulated_Depr */ public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr"; - /** Set Calc. Accumulated Depr. */ + /** Set A_Calc_Accumulated_Depr */ public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr); - /** Get Calc. Accumulated Depr. */ + /** Get A_Calc_Accumulated_Depr */ public BigDecimal getA_Calc_Accumulated_Depr(); /** Column name A_Curr_Dep_Exp */ public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp"; - /** Set Curr. Dep. Exp. */ + /** Set A_Curr_Dep_Exp */ public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp); - /** Get Curr. Dep. Exp. */ + /** Get A_Curr_Dep_Exp */ public BigDecimal getA_Curr_Dep_Exp(); /** Column name A_Current_Period */ @@ -137,12 +175,21 @@ public interface I_A_Depreciation_Workfile /** Column name A_Depreciation_Workfile_ID */ public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID"; - /** Set Depreciation Workfile */ + /** Set A_Depreciation_Workfile_ID */ public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID); - /** Get Depreciation Workfile */ + /** Get A_Depreciation_Workfile_ID */ public int getA_Depreciation_Workfile_ID(); + /** Column name A_Depreciation_Workfile_UU */ + public static final String COLUMNNAME_A_Depreciation_Workfile_UU = "A_Depreciation_Workfile_UU"; + + /** Set A_Depreciation_Workfile_UU */ + public void setA_Depreciation_Workfile_UU (String A_Depreciation_Workfile_UU); + + /** Get A_Depreciation_Workfile_UU */ + public String getA_Depreciation_Workfile_UU(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -156,58 +203,114 @@ public interface I_A_Depreciation_Workfile */ public int getAD_Org_ID(); + /** Column name A_Expense_SL */ + public static final String COLUMNNAME_A_Expense_SL = "A_Expense_SL"; + + /** Set SL Expense/Period */ + public void setA_Expense_SL (BigDecimal A_Expense_SL); + + /** Get SL Expense/Period */ + public BigDecimal getA_Expense_SL(); + + /** Column name A_Expense_SL_F */ + public static final String COLUMNNAME_A_Expense_SL_F = "A_Expense_SL_F"; + + /** Set SL Expense/Period (fiscal) */ + public void setA_Expense_SL_F (BigDecimal A_Expense_SL_F); + + /** Get SL Expense/Period (fiscal) */ + public BigDecimal getA_Expense_SL_F(); + + /** Column name A_FundingMode_ID */ + public static final String COLUMNNAME_A_FundingMode_ID = "A_FundingMode_ID"; + + /** Set Asset Funding Mode */ + public void setA_FundingMode_ID (int A_FundingMode_ID); + + /** Get Asset Funding Mode */ + public int getA_FundingMode_ID(); + + public org.compiere.model.I_A_FundingMode getA_FundingMode() throws RuntimeException; + /** Column name A_Life_Period */ public static final String COLUMNNAME_A_Life_Period = "A_Life_Period"; - /** Set A_Life_Period */ + /** Set Life Periods */ public void setA_Life_Period (int A_Life_Period); - /** Get A_Life_Period */ + /** Get Life Periods */ public int getA_Life_Period(); + /** Column name A_Life_Period_F */ + public static final String COLUMNNAME_A_Life_Period_F = "A_Life_Period_F"; + + /** Set Life Period (fiscal) */ + public void setA_Life_Period_F (int A_Life_Period_F); + + /** Get Life Period (fiscal) */ + public int getA_Life_Period_F(); + + /** Column name A_Life_Period_Max */ + public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max"; + + /** Set Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max); + + /** Get Life periods (max) */ + public int getA_Life_Period_Max(); + + /** Column name A_Life_Period_Min */ + public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min"; + + /** Set Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min); + + /** Get Life periods (min) */ + public int getA_Life_Period_Min(); + /** Column name A_Period_Forecast */ public static final String COLUMNNAME_A_Period_Forecast = "A_Period_Forecast"; - /** Set Forecast Period */ + /** Set A_Period_Forecast */ public void setA_Period_Forecast (BigDecimal A_Period_Forecast); - /** Get Forecast Period */ + /** Get A_Period_Forecast */ public BigDecimal getA_Period_Forecast(); /** Column name A_Period_Posted */ public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted"; - /** Set Period Posted */ + /** Set A_Period_Posted */ public void setA_Period_Posted (int A_Period_Posted); - /** Get Period Posted */ + /** Get A_Period_Posted */ public int getA_Period_Posted(); /** Column name A_Prior_Year_Accumulated_Depr */ public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr"; - /** Set Prior. Year Accumulated Depr. */ + /** Set A_Prior_Year_Accumulated_Depr */ public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr); - /** Get Prior. Year Accumulated Depr. */ + /** Get A_Prior_Year_Accumulated_Depr */ public BigDecimal getA_Prior_Year_Accumulated_Depr(); /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public BigDecimal getA_QTY_Current(); /** Column name A_Salvage_Value */ public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; - /** Set Salvage Value */ + /** Set Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value); - /** Get Salvage Value */ + /** Get Asset Salvage Value */ public BigDecimal getA_Salvage_Value(); /** Column name AssetDepreciationDate */ @@ -223,6 +326,37 @@ public interface I_A_Depreciation_Workfile */ public Timestamp getAssetDepreciationDate(); + /** Column name A_Tip_Finantare */ + public static final String COLUMNNAME_A_Tip_Finantare = "A_Tip_Finantare"; + + /** Set Financing Type. + * Financing Type + */ + public void setA_Tip_Finantare (String A_Tip_Finantare); + + /** Get Financing Type. + * Financing Type + */ + public String getA_Tip_Finantare(); + + /** Column name A_Valoare_Cofinantare */ + public static final String COLUMNNAME_A_Valoare_Cofinantare = "A_Valoare_Cofinantare"; + + /** Set Own contribution */ + public void setA_Valoare_Cofinantare (BigDecimal A_Valoare_Cofinantare); + + /** Get Own contribution */ + public BigDecimal getA_Valoare_Cofinantare(); + + /** Column name A_Valoare_Tert */ + public static final String COLUMNNAME_A_Valoare_Tert = "A_Valoare_Tert"; + + /** Set Third contribution */ + public void setA_Valoare_Tert (BigDecimal A_Valoare_Tert); + + /** Get Third contribution */ + public BigDecimal getA_Valoare_Tert(); + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -252,6 +386,19 @@ public interface I_A_Depreciation_Workfile */ public Timestamp getDateAcct(); + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -291,6 +438,19 @@ public interface I_A_Depreciation_Workfile */ public String getPostingType(); + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; @@ -315,4 +475,48 @@ public interface I_A_Depreciation_Workfile * User who updated this records */ public int getUpdatedBy(); + + /** Column name UseLifeMonths */ + public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths"; + + /** Set Usable Life - Months. + * Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths); + + /** Get Usable Life - Months. + * Months of the usable life of the asset + */ + public int getUseLifeMonths(); + + /** Column name UseLifeMonths_F */ + public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F"; + + /** Set Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F); + + /** Get Use Life - Months (fiscal) */ + public int getUseLifeMonths_F(); + + /** Column name UseLifeYears */ + public static final String COLUMNNAME_UseLifeYears = "UseLifeYears"; + + /** Set Usable Life - Years. + * Years of the usable life of the asset + */ + public void setUseLifeYears (int UseLifeYears); + + /** Get Usable Life - Years. + * Years of the usable life of the asset + */ + public int getUseLifeYears(); + + /** Column name UseLifeYears_F */ + public static final String COLUMNNAME_UseLifeYears_F = "UseLifeYears_F"; + + /** Set Use Life - Years (fiscal) */ + public void setUseLifeYears_F (int UseLifeYears_F); + + /** Get Use Life - Years (fiscal) */ + public int getUseLifeYears_F(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java new file mode 100644 index 0000000000..84c6c7e580 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java @@ -0,0 +1,157 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for A_FundingMode + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_A_FundingMode +{ + + /** TableName=A_FundingMode */ + public static final String Table_Name = "A_FundingMode"; + + /** AD_Table_ID=53273 */ + public static final int Table_ID = 53273; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 7 - System - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(7); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name A_FundingMode_ID */ + public static final String COLUMNNAME_A_FundingMode_ID = "A_FundingMode_ID"; + + /** Set Asset Funding Mode */ + public void setA_FundingMode_ID (int A_FundingMode_ID); + + /** Get Asset Funding Mode */ + public int getA_FundingMode_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + + /** Column name Value */ + public static final String COLUMNNAME_Value = "Value"; + + /** Set Search Key. + * Search key for the record in the format required - must be unique + */ + public void setValue (String Value); + + /** Get Search Key. + * Search key for the record in the format required - must be unique + */ + public String getValue(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Asset.java b/org.adempiere.base/src/org/compiere/model/I_I_Asset.java index 4bebe59c1e..c32aae9225 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Asset.java @@ -31,7 +31,7 @@ public interface I_I_Asset public static final String Table_Name = "I_Asset"; /** AD_Table_ID=53139 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53139; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -44,10 +44,10 @@ public interface I_I_Asset /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; - /** Set Accumulated Depreciation */ + /** Set Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); - /** Get Accumulated Depreciation */ + /** Get Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct(); public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; @@ -64,10 +64,10 @@ public interface I_I_Asset /** Column name A_Asset_Acct */ public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; - /** Set Asset Cost Account */ + /** Set Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct); - /** Get Asset Cost Account */ + /** Get Asset Acct */ public int getA_Asset_Acct(); public I_C_ValidCombination getA_Asset_A() throws RuntimeException; @@ -94,7 +94,7 @@ public interface I_I_Asset */ public int getA_Asset_Group_ID(); - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException; /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -112,57 +112,57 @@ public interface I_I_Asset /** Column name A_Asset_Life_Current_Year */ public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year"; - /** Set Asset Life Current Year */ + /** Set A_Asset_Life_Current_Year */ public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year); - /** Get Asset Life Current Year */ + /** Get A_Asset_Life_Current_Year */ public int getA_Asset_Life_Current_Year(); /** Column name A_Asset_Life_Years */ public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years"; - /** Set Asset Life Years */ + /** Set Life Years */ public void setA_Asset_Life_Years (int A_Asset_Life_Years); - /** Get Asset Life Years */ + /** Get Life Years */ public int getA_Asset_Life_Years(); /** Column name A_Asset_Spread_Type */ public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; - /** Set Asset Spread Type */ + /** Set Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); - /** Get Asset Spread Type */ + /** Get Spread Type */ public int getA_Asset_Spread_Type(); - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; /** Column name A_Base_Amount */ public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount"; - /** Set Base Amount */ + /** Set A_Base_Amount */ public void setA_Base_Amount (BigDecimal A_Base_Amount); - /** Get Base Amount */ + /** Get A_Base_Amount */ public BigDecimal getA_Base_Amount(); /** Column name A_Calc_Accumulated_Depr */ public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr"; - /** Set Calc. Accumulated Depr. */ + /** Set A_Calc_Accumulated_Depr */ public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr); - /** Get Calc. Accumulated Depr. */ + /** Get A_Calc_Accumulated_Depr */ public BigDecimal getA_Calc_Accumulated_Depr(); /** Column name A_Curr_Dep_Exp */ public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp"; - /** Set Curr. Dep. Exp. */ + /** Set A_Curr_Dep_Exp */ public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp); - /** Get Curr. Dep. Exp. */ + /** Get A_Curr_Dep_Exp */ public BigDecimal getA_Curr_Dep_Exp(); /** Column name A_Current_Period */ @@ -185,10 +185,10 @@ public interface I_I_Asset /** Column name A_Depreciation_Acct */ public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; - /** Set Depreciation Expense Account */ + /** Set Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct); - /** Get Depreciation Expense Account */ + /** Get Depreciation Account */ public int getA_Depreciation_Acct(); public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; @@ -196,50 +196,50 @@ public interface I_I_Asset /** Column name A_Depreciation_Calc_Type */ public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; - /** Set Depreciation Calculation Type */ + /** Set Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); - /** Get Depreciation Calculation Type */ + /** Get Calculation Type */ public int getA_Depreciation_Calc_Type(); - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; /** Column name A_Depreciation_Manual_Amount */ public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; - /** Set Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); - /** Get Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount(); /** Column name A_Depreciation_Manual_Period */ public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; - /** Set Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); - /** Get Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period(); /** Column name A_Depreciation_Table_Header_ID */ public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; - /** Set Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); - /** Get Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID(); - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; /** Column name A_Depreciation_Variable_Perc */ public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; - /** Set Depreciation Variable Perc. */ + /** Set Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); - /** Get Depreciation Variable Perc. */ + /** Get Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc(); /** Column name A_Disposal_Loss */ @@ -293,73 +293,73 @@ public interface I_I_Asset /** Column name A_Life_Period */ public static final String COLUMNNAME_A_Life_Period = "A_Life_Period"; - /** Set A_Life_Period */ + /** Set Life Periods */ public void setA_Life_Period (int A_Life_Period); - /** Get A_Life_Period */ + /** Get Life Periods */ public int getA_Life_Period(); /** Column name A_Parent_Asset_ID */ public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; - /** Set Asset ID */ + /** Set Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); - /** Get Asset ID */ + /** Get Parent Asset */ public int getA_Parent_Asset_ID(); /** Column name A_Period_End */ public static final String COLUMNNAME_A_Period_End = "A_Period_End"; - /** Set Period End */ + /** Set A_Period_End */ public void setA_Period_End (int A_Period_End); - /** Get Period End */ + /** Get A_Period_End */ public int getA_Period_End(); /** Column name A_Period_Posted */ public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted"; - /** Set Period Posted */ + /** Set A_Period_Posted */ public void setA_Period_Posted (int A_Period_Posted); - /** Get Period Posted */ + /** Get A_Period_Posted */ public int getA_Period_Posted(); /** Column name A_Period_Start */ public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; - /** Set Period Start */ + /** Set A_Period_Start */ public void setA_Period_Start (int A_Period_Start); - /** Get Period Start */ + /** Get A_Period_Start */ public int getA_Period_Start(); /** Column name A_Prior_Year_Accumulated_Depr */ public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr"; - /** Set Prior. Year Accumulated Depr. */ + /** Set A_Prior_Year_Accumulated_Depr */ public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr); - /** Get Prior. Year Accumulated Depr. */ + /** Get A_Prior_Year_Accumulated_Depr */ public BigDecimal getA_Prior_Year_Accumulated_Depr(); /** Column name A_QTY_Current */ public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; - /** Set Quantity */ + /** Set Current Qty */ public void setA_QTY_Current (int A_QTY_Current); - /** Get Quantity */ + /** Get Current Qty */ public int getA_QTY_Current(); /** Column name A_QTY_Original */ public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; - /** Set Original Qty */ + /** Set A_QTY_Original */ public void setA_QTY_Original (int A_QTY_Original); - /** Get Original Qty */ + /** Get A_QTY_Original */ public int getA_QTY_Original(); /** Column name A_Reval_Accumdep_Offset_Cur */ @@ -387,10 +387,10 @@ public interface I_I_Asset /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; - /** Set Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); - /** Get Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method */ public String getA_Reval_Cal_Method(); /** Column name A_Reval_Cost_Offset */ @@ -429,19 +429,19 @@ public interface I_I_Asset /** Column name A_Salvage_Value */ public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; - /** Set Salvage Value */ + /** Set Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value); - /** Get Salvage Value */ + /** Get Asset Salvage Value */ public BigDecimal getA_Salvage_Value(); /** Column name A_Split_Percent */ public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; - /** Set Split Percentage */ + /** Set Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent); - /** Get Split Percentage */ + /** Get Split Percent */ public BigDecimal getA_Split_Percent(); /** Column name AssetDepreciationDate */ @@ -509,7 +509,7 @@ public interface I_I_Asset */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -524,7 +524,7 @@ public interface I_I_Asset */ public int getC_BPartner_ID(); - public I_C_BPartner getC_BPartner() throws RuntimeException; + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException; /** Column name C_BPartner_Location_ID */ public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; @@ -539,7 +539,7 @@ public interface I_I_Asset */ public int getC_BPartner_Location_ID(); - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -554,7 +554,7 @@ public interface I_I_Asset */ public int getC_Location_ID(); - public I_C_Location getC_Location() throws RuntimeException; + public org.compiere.model.I_C_Location getC_Location() throws RuntimeException; /** Column name ConventionType */ public static final String COLUMNNAME_ConventionType = "ConventionType"; @@ -565,7 +565,7 @@ public interface I_I_Asset /** Get ConventionType */ public int getConventionType(); - public I_A_Depreciation_Convention getConventionT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -592,7 +592,7 @@ public interface I_I_Asset /** Get DepreciationType */ public int getDepreciationType(); - public I_A_Depreciation getDepreciationT() throws RuntimeException; + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException; /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -642,6 +642,15 @@ public interface I_I_Asset /** Get Asset */ public int getI_Asset_ID(); + /** Column name I_Asset_UU */ + public static final String COLUMNNAME_I_Asset_UU = "I_Asset_UU"; + + /** Set I_Asset_UU */ + public void setI_Asset_UU (String I_Asset_UU); + + /** Get I_Asset_UU */ + public String getI_Asset_UU(); + /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -813,7 +822,7 @@ public interface I_I_Asset */ public int getM_Locator_ID(); - public I_M_Locator getM_Locator() throws RuntimeException; + public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException; /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -828,7 +837,7 @@ public interface I_I_Asset */ public int getM_Product_ID(); - public I_M_Product getM_Product() throws RuntimeException; + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java b/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java index 6020513be6..533d7259db 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java @@ -31,7 +31,7 @@ public interface I_I_FAJournal public static final String Table_Name = "I_FAJournal"; /** AD_Table_ID=53117 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 53117; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -67,7 +67,7 @@ public interface I_I_FAJournal */ public int getAccount_ID(); - public I_C_ElementValue getAccount() throws RuntimeException; + public org.compiere.model.I_C_ElementValue getAccount() throws RuntimeException; /** Column name AccountValue */ public static final String COLUMNNAME_AccountValue = "AccountValue"; @@ -255,7 +255,7 @@ public interface I_I_FAJournal */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -270,7 +270,7 @@ public interface I_I_FAJournal */ public int getC_Activity_ID(); - public I_C_Activity getC_Activity() throws RuntimeException; + public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException; /** Column name CategoryName */ public static final String COLUMNNAME_CategoryName = "CategoryName"; @@ -298,7 +298,7 @@ public interface I_I_FAJournal */ public int getC_BPartner_ID(); - public I_C_BPartner getC_BPartner() throws RuntimeException; + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException; /** Column name C_Campaign_ID */ public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; @@ -313,7 +313,7 @@ public interface I_I_FAJournal */ public int getC_Campaign_ID(); - public I_C_Campaign getC_Campaign() throws RuntimeException; + public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException; /** Column name C_ConversionType_ID */ public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; @@ -341,7 +341,7 @@ public interface I_I_FAJournal */ public int getC_Currency_ID(); - public I_C_Currency getC_Currency() throws RuntimeException; + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -356,7 +356,7 @@ public interface I_I_FAJournal */ public int getC_DocType_ID(); - public I_C_DocType getC_DocType() throws RuntimeException; + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException; /** Column name ClientValue */ public static final String COLUMNNAME_ClientValue = "ClientValue"; @@ -423,7 +423,7 @@ public interface I_I_FAJournal */ public int getC_Period_ID(); - public I_C_Period getC_Period() throws RuntimeException; + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException; /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -438,7 +438,7 @@ public interface I_I_FAJournal */ public int getC_Project_ID(); - public I_C_Project getC_Project() throws RuntimeException; + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -469,7 +469,7 @@ public interface I_I_FAJournal */ public int getC_SalesRegion_ID(); - public I_C_SalesRegion getC_SalesRegion() throws RuntimeException; + public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException; /** Column name C_SubAcct_ID */ public static final String COLUMNNAME_C_SubAcct_ID = "C_SubAcct_ID"; @@ -497,7 +497,7 @@ public interface I_I_FAJournal */ public int getC_UOM_ID(); - public I_C_UOM getC_UOM() throws RuntimeException; + public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException; /** Column name CurrencyRate */ public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; @@ -534,7 +534,7 @@ public interface I_I_FAJournal */ public int getC_ValidCombination_ID(); - public I_C_ValidCombination getC_ValidCombination() throws RuntimeException; + public org.compiere.model.I_C_ValidCombination getC_ValidCombination() throws RuntimeException; /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -588,7 +588,7 @@ public interface I_I_FAJournal */ public int getGL_Budget_ID(); - public I_GL_Budget getGL_Budget() throws RuntimeException; + public org.compiere.model.I_GL_Budget getGL_Budget() throws RuntimeException; /** Column name GL_Category_ID */ public static final String COLUMNNAME_GL_Category_ID = "GL_Category_ID"; @@ -603,7 +603,7 @@ public interface I_I_FAJournal */ public int getGL_Category_ID(); - public I_GL_Category getGL_Category() throws RuntimeException; + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException; /** Column name GL_JournalBatch_ID */ public static final String COLUMNNAME_GL_JournalBatch_ID = "GL_JournalBatch_ID"; @@ -618,7 +618,7 @@ public interface I_I_FAJournal */ public int getGL_JournalBatch_ID(); - public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; + public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; /** Column name GL_Journal_ID */ public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID"; @@ -633,7 +633,7 @@ public interface I_I_FAJournal */ public int getGL_Journal_ID(); - public I_GL_Journal getGL_Journal() throws RuntimeException; + public org.compiere.model.I_GL_Journal getGL_Journal() throws RuntimeException; /** Column name GL_JournalLine_ID */ public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; @@ -648,7 +648,7 @@ public interface I_I_FAJournal */ public int getGL_JournalLine_ID(); - public I_GL_JournalLine getGL_JournalLine() throws RuntimeException; + public org.compiere.model.I_GL_JournalLine getGL_JournalLine() throws RuntimeException; /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -672,6 +672,15 @@ public interface I_I_FAJournal /** Get FA Journal */ public int getI_FAJournal_ID(); + /** Column name I_FAJournal_UU */ + public static final String COLUMNNAME_I_FAJournal_UU = "I_FAJournal_UU"; + + /** Set I_FAJournal_UU */ + public void setI_FAJournal_UU (String I_FAJournal_UU); + + /** Get I_FAJournal_UU */ + public String getI_FAJournal_UU(); + /** Column name I_IsImported */ public static final String COLUMNNAME_I_IsImported = "I_IsImported"; @@ -763,7 +772,7 @@ public interface I_I_FAJournal */ public int getM_Product_ID(); - public I_M_Product getM_Product() throws RuntimeException; + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; /** Column name OrgTrxValue */ public static final String COLUMNNAME_OrgTrxValue = "OrgTrxValue"; @@ -920,7 +929,7 @@ public interface I_I_FAJournal */ public int getUser1_ID(); - public I_C_ElementValue getUser1() throws RuntimeException; + public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException; /** Column name User2_ID */ public static final String COLUMNNAME_User2_ID = "User2_ID"; @@ -935,7 +944,7 @@ public interface I_I_FAJournal */ public int getUser2_ID(); - public I_C_ElementValue getUser2() throws RuntimeException; + public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException; /** Column name UserElement1_ID */ public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java b/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java new file mode 100644 index 0000000000..c81c4d4811 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java @@ -0,0 +1,585 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for I_FixedAsset + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_I_FixedAsset +{ + + /** TableName=I_FixedAsset */ + public static final String Table_Name = "I_FixedAsset"; + + /** AD_Table_ID=53277 */ + public static final int Table_ID = 53277; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name A_Accumulated_Depr */ + public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr"; + + /** Set Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr); + + /** Get Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr(); + + /** Column name A_Accumulated_Depr_F */ + public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F"; + + /** Set Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F); + + /** Get Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F(); + + /** Column name A_Asset_Class_ID */ + public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID"; + + /** Set Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID); + + /** Get Asset class */ + public int getA_Asset_Class_ID(); + + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException; + + /** Column name A_Asset_Class_Value */ + public static final String COLUMNNAME_A_Asset_Class_Value = "A_Asset_Class_Value"; + + /** Set Asset Class Key */ + public void setA_Asset_Class_Value (String A_Asset_Class_Value); + + /** Get Asset Class Key */ + public String getA_Asset_Class_Value(); + + /** Column name A_Asset_Cost */ + public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; + + /** Set Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost); + + /** Get Asset Cost */ + public BigDecimal getA_Asset_Cost(); + + /** Column name A_Asset_Group_ID */ + public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; + + /** Set Asset Group. + * Group of Assets + */ + public void setA_Asset_Group_ID (int A_Asset_Group_ID); + + /** Get Asset Group. + * Group of Assets + */ + public int getA_Asset_Group_ID(); + + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException; + + /** Column name A_Asset_Group_Value */ + public static final String COLUMNNAME_A_Asset_Group_Value = "A_Asset_Group_Value"; + + /** Set Asset Group Key */ + public void setA_Asset_Group_Value (String A_Asset_Group_Value); + + /** Get Asset Group Key */ + public String getA_Asset_Group_Value(); + + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException; + + /** Column name A_Asset_Type_ID */ + public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID"; + + /** Set Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID); + + /** Get Asset Type */ + public int getA_Asset_Type_ID(); + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException; + + /** Column name A_Asset_Type_Value */ + public static final String COLUMNNAME_A_Asset_Type_Value = "A_Asset_Type_Value"; + + /** Set Asset Type Value */ + public void setA_Asset_Type_Value (String A_Asset_Type_Value); + + /** Get Asset Type Value */ + public String getA_Asset_Type_Value(); + + /** Column name A_Current_Period */ + public static final String COLUMNNAME_A_Current_Period = "A_Current_Period"; + + /** Set Current Period */ + public void setA_Current_Period (int A_Current_Period); + + /** Get Current Period */ + public int getA_Current_Period(); + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name A_Remaining_Period */ + public static final String COLUMNNAME_A_Remaining_Period = "A_Remaining_Period"; + + /** Set Remaining Period */ + public void setA_Remaining_Period (int A_Remaining_Period); + + /** Get Remaining Period */ + public int getA_Remaining_Period(); + + /** Column name A_Salvage_Value */ + public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; + + /** Set Asset Salvage Value */ + public void setA_Salvage_Value (BigDecimal A_Salvage_Value); + + /** Get Asset Salvage Value */ + public BigDecimal getA_Salvage_Value(); + + /** Column name AssetDepreciationDate */ + public static final String COLUMNNAME_AssetDepreciationDate = "AssetDepreciationDate"; + + /** Set Asset Depreciation Date. + * Date of last depreciation + */ + public void setAssetDepreciationDate (Timestamp AssetDepreciationDate); + + /** Get Asset Depreciation Date. + * Date of last depreciation + */ + public Timestamp getAssetDepreciationDate(); + + /** Column name AssetPeriodDepreciationAmt */ + public static final String COLUMNNAME_AssetPeriodDepreciationAmt = "AssetPeriodDepreciationAmt"; + + /** Set Depreciation Amount / Period. + * Applies to Straight Line depreciation + */ + public void setAssetPeriodDepreciationAmt (BigDecimal AssetPeriodDepreciationAmt); + + /** Get Depreciation Amount / Period. + * Applies to Straight Line depreciation + */ + public BigDecimal getAssetPeriodDepreciationAmt(); + + /** Column name AssetServiceDate */ + public static final String COLUMNNAME_AssetServiceDate = "AssetServiceDate"; + + /** Set In Service Date. + * Date when Asset was put into service + */ + public void setAssetServiceDate (Timestamp AssetServiceDate); + + /** Get In Service Date. + * Date when Asset was put into service + */ + public Timestamp getAssetServiceDate(); + + /** Column name BPartner_Value */ + public static final String COLUMNNAME_BPartner_Value = "BPartner_Value"; + + /** Set Business Partner Key. + * The Key of the Business Partner + */ + public void setBPartner_Value (String BPartner_Value); + + /** Get Business Partner Key. + * The Key of the Business Partner + */ + public String getBPartner_Value(); + + /** Column name C_BPartnerSR_ID */ + public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; + + /** Set BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID); + + /** Get BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID(); + + public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException; + + /** Column name C_City_ID */ + public static final String COLUMNNAME_C_City_ID = "C_City_ID"; + + /** Set City. + * City + */ + public void setC_City_ID (int C_City_ID); + + /** Get City. + * City + */ + public int getC_City_ID(); + + public org.compiere.model.I_C_City getC_City() throws RuntimeException; + + /** Column name C_City_Value */ + public static final String COLUMNNAME_C_City_Value = "C_City_Value"; + + /** Set City Value */ + public void setC_City_Value (String C_City_Value); + + /** Get City Value */ + public String getC_City_Value(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name C_UOM_ID */ + public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; + + /** Set UOM. + * Unit of Measure + */ + public void setC_UOM_ID (int C_UOM_ID); + + /** Get UOM. + * Unit of Measure + */ + public int getC_UOM_ID(); + + public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException; + + /** Column name DateAcct */ + public static final String COLUMNNAME_DateAcct = "DateAcct"; + + /** Set Account Date. + * Accounting Date + */ + public void setDateAcct (Timestamp DateAcct); + + /** Get Account Date. + * Accounting Date + */ + public Timestamp getDateAcct(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name I_ErrorMsg */ + public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; + + /** Set Import Error Message. + * Messages generated from import process + */ + public void setI_ErrorMsg (String I_ErrorMsg); + + /** Get Import Error Message. + * Messages generated from import process + */ + public String getI_ErrorMsg(); + + /** Column name I_FixedAsset_ID */ + public static final String COLUMNNAME_I_FixedAsset_ID = "I_FixedAsset_ID"; + + /** Set Imported Fixed Asset */ + public void setI_FixedAsset_ID (int I_FixedAsset_ID); + + /** Get Imported Fixed Asset */ + public int getI_FixedAsset_ID(); + + /** Column name I_IsImported */ + public static final String COLUMNNAME_I_IsImported = "I_IsImported"; + + /** Set Imported. + * Has this import been processed + */ + public void setI_IsImported (boolean I_IsImported); + + /** Get Imported. + * Has this import been processed + */ + public boolean isI_IsImported(); + + /** Column name InventoryNo */ + public static final String COLUMNNAME_InventoryNo = "InventoryNo"; + + /** Set Inventory No */ + public void setInventoryNo (String InventoryNo); + + /** Get Inventory No */ + public String getInventoryNo(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name LocatorValue */ + public static final String COLUMNNAME_LocatorValue = "LocatorValue"; + + /** Set Locator Key. + * Key of the Warehouse Locator + */ + public void setLocatorValue (String LocatorValue); + + /** Get Locator Key. + * Key of the Warehouse Locator + */ + public String getLocatorValue(); + + /** Column name M_Locator_ID */ + public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; + + /** Set Locator. + * Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID); + + /** Get Locator. + * Warehouse Locator + */ + public int getM_Locator_ID(); + + public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException; + + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + + /** Column name ProductValue */ + public static final String COLUMNNAME_ProductValue = "ProductValue"; + + /** Set Product Key. + * Key of the Product + */ + public void setProductValue (String ProductValue); + + /** Get Product Key. + * Key of the Product + */ + public String getProductValue(); + + /** Column name Qty */ + public static final String COLUMNNAME_Qty = "Qty"; + + /** Set Quantity. + * Quantity + */ + public void setQty (BigDecimal Qty); + + /** Get Quantity. + * Quantity + */ + public BigDecimal getQty(); + + /** Column name SeqNo */ + public static final String COLUMNNAME_SeqNo = "SeqNo"; + + /** Set Sequence. + * Method of ordering records; + lowest number comes first + */ + public void setSeqNo (int SeqNo); + + /** Get Sequence. + * Method of ordering records; + lowest number comes first + */ + public int getSeqNo(); + + /** Column name UOMSymbol */ + public static final String COLUMNNAME_UOMSymbol = "UOMSymbol"; + + /** Set Symbol. + * Symbol for a Unit of Measure + */ + public void setUOMSymbol (String UOMSymbol); + + /** Get Symbol. + * Symbol for a Unit of Measure + */ + public String getUOMSymbol(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + + /** Column name UseLifeMonths */ + public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths"; + + /** Set Usable Life - Months. + * Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths); + + /** Get Usable Life - Months. + * Months of the usable life of the asset + */ + public int getUseLifeMonths(); + + /** Column name UseLifeMonths_F */ + public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F"; + + /** Set Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F); + + /** Get Use Life - Months (fiscal) */ + public int getUseLifeMonths_F(); +} diff --git a/org.adempiere.base/src/org/compiere/model/MAsset.java b/org.adempiere.base/src/org/compiere/model/MAsset.java index 8ab6a316d4..6665f745ee 100644 --- a/org.adempiere.base/src/org/compiere/model/MAsset.java +++ b/org.adempiere.base/src/org/compiere/model/MAsset.java @@ -1,766 +1,615 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ package org.compiere.model; import java.math.BigDecimal; -import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Timestamp; -import java.util.List; +import java.util.ArrayList; +import java.util.Collection; import java.util.Properties; import javax.servlet.http.HttpServletRequest; -import org.compiere.util.CLogger; +import org.compiere.util.CLogMgt; import org.compiere.util.DB; import org.compiere.util.EMail; import org.compiere.util.Env; -import org.compiere.util.TimeUtil; +import org.compiere.util.Msg; /** - * Asset Model - * - * @author Jorg Janke - * @version $Id: MAsset.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $ - * @author red1 - FR: [ 2214883 ] Remove SQL code and Replace for Query + * Asset Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ +@SuppressWarnings("serial") public class MAsset extends X_A_Asset + //implements MAssetType.Model //commented by @win { + /** ChangeType - Asset Group changed */ + public static final int CHANGETYPE_setAssetGroup = Table_ID * 100 + 1; + /** - * + * Get Asset + * @param ctx context + * @param A_Asset_ID asset + * @param trxName */ - private static final long serialVersionUID = -7537696364072606170L; - - - /** - * Get Asset From Shipment - * @param ctx context - * @param M_InOutLine_ID shipment line - * @param trxName transaction - * @return asset or null - */ - public static MAsset getFromShipment (Properties ctx, int M_InOutLine_ID, String trxName) + public static MAsset get (Properties ctx, int A_Asset_ID, String trxName) { - final String whereClause = I_A_Asset.COLUMNNAME_M_InOutLine_ID+"=?"; - MAsset retValue = new Query(ctx,I_A_Asset.Table_Name,whereClause,trxName) - .setParameters(M_InOutLine_ID) - .first(); - return retValue; - } // getFromShipment + return (MAsset)MTable.get(ctx, MAsset.Table_Name).getPO(A_Asset_ID, trxName); + } // get - /** Logger */ - private static CLogger s_log = CLogger.getCLogger (MAsset.class); - - - /************************************************************************** - * Asset Constructor - * @param ctx context - * @param A_Asset_ID asset - * @param trxName transaction name + /** + * Get Assets from given M_Product_ID and M_ASI_ID. + *

Note: The A_Asset_Product table is not checked !!! + * @param ctx + * @param M_Product_ID (optional) + * @param M_ASI_ID + * @return array of MAsset */ + public static Collection forASI(Properties ctx, int M_Product_ID, int M_ASI_ID) + { + ArrayList params = new ArrayList(); + String whereClause = COLUMNNAME_M_AttributeSetInstance_ID + "=?"; + params.add(M_ASI_ID); + if (M_Product_ID > 0) { + whereClause += " AND " + COLUMNNAME_M_Product_ID + "=?"; + params.add(M_Product_ID); + } + // + return new Query(ctx, MAsset.Table_Name, whereClause, null) + .setParameters(params) + .list(); + } + + /** Create constructor */ public MAsset (Properties ctx, int A_Asset_ID, String trxName) { - super (ctx, A_Asset_ID, trxName); + super (ctx, A_Asset_ID,trxName); if (A_Asset_ID == 0) { - // setIsDepreciated (false); - // setIsFullyDepreciated (false); - // setValue (null); - // setName (null); - // setIsInPosession (false); - // setIsOwned (false); - // setA_Asset_Group_ID (0); - // setIsDisposed (false); - // setM_AttributeSetInstance_ID(0); - setQty(Env.ONE); + setA_Asset_Status(A_ASSET_STATUS_New); + //commented out by @win + /* + setA_Asset_Type("MFX"); + setA_Asset_Type_ID(1); // MFX + */ + //end comment by @win } } // MAsset /** - * Discontinued Asset Constructor - DO NOT USE (but don't delete either) - * @param ctx context - * @param A_Asset_ID asset - */ - public MAsset (Properties ctx, int A_Asset_ID) - { - this (ctx, A_Asset_ID, null); - } // MAsset - - /** - * Load Constructor - * @param ctx context - * @param rs result set record - * @param trxName transaction + * Load Constructor + * @param ctx context + * @param rs result set record */ public MAsset (Properties ctx, ResultSet rs, String trxName) { - super(ctx, rs, trxName); + super (ctx, rs, trxName); } // MAsset + + /** + * Construct from MMatchInv + * @param match match invoice + */ + protected MAsset (MMatchInv match) + { + this(match.getCtx(), 0, match.get_TrxName()); + + MInvoiceLine invoiceLine = new MInvoiceLine(getCtx(), match.getC_InvoiceLine_ID(), get_TrxName()); + MInOutLine inoutLine = new MInOutLine(getCtx(), match.getM_InOutLine_ID(), get_TrxName()); + + setIsOwned(true); + setIsInPosession(true); + setA_Asset_CreateDate(inoutLine.getM_InOut().getMovementDate()); + + // Asset Group: + int A_Asset_Group_ID = invoiceLine.getA_Asset_Group_ID(); + MProduct product = MProduct.get(getCtx(), invoiceLine.getM_Product_ID()); + if (A_Asset_Group_ID <= 0) { + A_Asset_Group_ID = product.getA_Asset_Group_ID(); + } + setA_Asset_Group_ID(A_Asset_Group_ID); + setHelp(Msg.getMsg(MClient.get(getCtx()).getAD_Language(), "CreatedFromInvoiceLine", + new Object[] {invoiceLine.getC_Invoice().getDocumentNo(), invoiceLine.getLine()})); + + String name = ""; + if (inoutLine.getM_Product_ID()>0) + { + name += product.getName() + "-"; + setM_Product_ID(inoutLine.getM_Product_ID()); + setM_AttributeSetInstance_ID(inoutLine.getM_AttributeSetInstance_ID()); + } + MBPartner bp = new MBPartner(getCtx(), invoiceLine.getC_Invoice().getC_BPartner_ID(), null); + name += bp.getName()+"-"+invoiceLine.getC_Invoice().getDocumentNo(); + log.fine("name=" + name); + setValue(name); + setName(name); + setDescription(invoiceLine.getDescription()); + } /** - * Shipment Constructor - * @param shipment shipment - * @param shipLine shipment line - * @param deliveryCount 0 or number of delivery + * Construct from MIFixedAsset (import) + * @param match match invoice */ - public MAsset (MInOut shipment, MInOutLine shipLine, int deliveryCount) + protected MAsset (MIFixedAsset ifa) { - this (shipment.getCtx(), 0, shipment.get_TrxName()); - setClientOrg(shipment); + this(ifa.getCtx(), 0, ifa.get_TrxName()); - setValueNameDescription(shipment, shipLine, deliveryCount); - // Header - setAssetServiceDate(shipment.getMovementDate()); + setAD_Org_ID(ifa.getAD_Org_ID()); //added by @win + setIsOwned(true); + setIsInPosession(true); + + String inventoryNo = ifa.getInventoryNo(); + if (inventoryNo != null) { + inventoryNo = inventoryNo.trim(); + setInventoryNo(inventoryNo); + setValue(inventoryNo); + } + setA_Asset_CreateDate(ifa.getAssetServiceDate()); + //setAssetServiceDate(ifa.getAssetServiceDate()); //commented by @win + /* commented by @win + setA_Asset_Class_ID(ifa.getA_Asset_Class_ID()); + */ // commented by @win + MProduct product = ifa.getProduct(); + if (product != null) { + setM_Product_ID(product.getM_Product_ID()); + setA_Asset_Group_ID(ifa.getA_Asset_Group_ID()); + MAttributeSetInstance asi = MAttributeSetInstance.create(getCtx(), product, get_TrxName()); + setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); + } + + setDateAcct(ifa.getDateAcct()); + setName(ifa.getName()); + setDescription(ifa.getDescription()); + } + + /** + * @author Edwin Ang + * @param project + */ + protected MAsset (MProject project) + { + this(project.getCtx(), 0, project.get_TrxName()); + setIsOwned(true); + setIsInPosession(true); + setA_Asset_CreateDate(new Timestamp(System.currentTimeMillis())); + setHelp(Msg.getMsg(MClient.get(getCtx()).getAD_Language(), "CreatedFromProject", new Object[] { project.getName()})); + setDateAcct(new Timestamp(System.currentTimeMillis())); + setDescription(project.getDescription()); + } + + public MAsset(MInOut mInOut, MInOutLine sLine, int deliveryCount) { + this(mInOut.getCtx(), 0, mInOut.get_TrxName()); setIsOwned(false); - setC_BPartner_ID(shipment.getC_BPartner_ID()); - setC_BPartner_Location_ID(shipment.getC_BPartner_Location_ID()); - setAD_User_ID(shipment.getAD_User_ID()); + setIsInPosession(false); + setA_Asset_CreateDate(new Timestamp(System.currentTimeMillis())); + setHelp(Msg.getMsg(MClient.get(getCtx()).getAD_Language(), "CreatedFromShipment: ", new Object[] { mInOut.getDocumentNo()})); + setDateAcct(new Timestamp(System.currentTimeMillis())); + setDescription(sLine.getDescription()); - // Line - MProduct product = shipLine.getProduct(); + } + + /** + * Create Asset from Inventory + * @param inventory inventory + * @param invLine inventory line + * @param deliveryCount 0 or number of delivery + * @return A_Asset_ID + */ + + public MAsset (MInventory inventory, MInventoryLine invLine, BigDecimal qty, BigDecimal costs) + { + super(invLine.getCtx(), 0, invLine.get_TrxName()); + setClientOrg(invLine); + + MProduct product = MProduct.get(getCtx(), invLine.getM_Product_ID()); + // Defaults from group: + MAssetGroup assetGroup = MAssetGroup.get(invLine.getCtx(), invLine.getM_Product().getM_Product_Category().getA_Asset_Group_ID()); + if (assetGroup == null) + assetGroup = MAssetGroup.get(invLine.getCtx(), product.getA_Asset_Group_ID()); + setAssetGroup(assetGroup); + + + //setValue(prod) + setName(product.getName()); + setHelp(invLine.getDescription()); + // Header + setAssetServiceDate(inventory.getMovementDate()); + setIsOwned(true); + setIsInPosession(true); + + // Product setM_Product_ID(product.getM_Product_ID()); - setA_Asset_Group_ID(product.getA_Asset_Group_ID()); // Guarantee & Version - setGuaranteeDate(TimeUtil.addDays(shipment.getMovementDate(), product.getGuaranteeDays())); + //setGuaranteeDate(TimeUtil.addDays(shipment.getMovementDate(), product.getGuaranteeDays())); setVersionNo(product.getVersionNo()); - if (shipLine.getM_AttributeSetInstance_ID() != 0) + // ASI + if (invLine.getM_AttributeSetInstance_ID() != 0) { - MAttributeSetInstance asi = new MAttributeSetInstance (getCtx(), shipLine.getM_AttributeSetInstance_ID(), get_TrxName()); - setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); - setLot(asi.getLot()); - setSerNo(asi.getSerNo()); + MAttributeSetInstance asi = new MAttributeSetInstance (getCtx(), invLine.getM_AttributeSetInstance_ID(), get_TrxName()); + setASI(asi); } - setHelp(shipLine.getDescription()); - if (deliveryCount != 0) - setQty(shipLine.getMovementQty()); - setM_InOutLine_ID(shipLine.getM_InOutLine_ID()); + //setSerNo(invLine.getSerNo()); + setQty(qty); - // Activate - MAssetGroup ag = MAssetGroup.get(getCtx(), getA_Asset_Group_ID()); - if (!ag.isCreateAsActive()) - setIsActive(false); - } // MAsset - - - /** Product Info */ - private MProduct m_product = null; - - /** - * Set Value Name Description - * @param shipment shipment - * @param line line - * @param deliveryCount - */ - public void setValueNameDescription(MInOut shipment, MInOutLine line, - int deliveryCount) - { - MProduct product = line.getProduct(); - MBPartner partner = shipment.getBPartner(); - setValueNameDescription(shipment, deliveryCount, product, partner); - } // setValueNameDescription - - /** - * Set Value, Name, Description - * @param shipment shipment - * @param deliveryCount count - * @param product product - * @param partner partner - */ - public void setValueNameDescription (MInOut shipment, - int deliveryCount, MProduct product, MBPartner partner) - { - StringBuilder documentNo = new StringBuilder("_").append(shipment.getDocumentNo()); - if (deliveryCount > 1) - documentNo.append("_").append(deliveryCount); - // Value - StringBuilder value = new StringBuilder().append(partner.getValue()).append("_").append(product.getValue()); - if (value.length() > 40-documentNo.length()) - value.delete(40-documentNo.length(), value.length()).append(documentNo); + // Costs: + //setA_Asset_Cost(costs); //commented by @win, set at asset addition - setValue(value.toString()); + // Activity + /* + if (invLine.getC_Activity_ID() > 0) + setC_Activity_ID(invLine.getC_Activity_ID()); + */ + if (inventory.getC_Activity_ID() > 0) + setC_Activity_ID(inventory.getC_Activity_ID()); - // Name MProduct.afterSave - StringBuilder name = new StringBuilder().append(partner.getName()).append(" - ").append(product.getName()); - if (name.length() > 60) - name.delete(60,name.length()); - setName(name.toString()); - // Description - String description = product.getDescription(); - setDescription(description); - } // setValueNameDescription - - /** - * Add to Description - * @param description text - */ - public void addDescription (String description) - { - String desc = getDescription(); - if (desc == null) - setDescription(description); - else{ - StringBuilder msgsd= new StringBuilder(desc).append(" | ").append(description); - setDescription(msgsd.toString()); - } - } // addDescription - - /** - * Get Qty - * @return 1 or Qty - */ - public BigDecimal getQty () - { - BigDecimal qty = super.getQty(); - if (qty == null || qty.compareTo(Env.ZERO)==0) - setQty(Env.ONE); - return super.getQty(); - } // getQty - - /** - * String representation - * @return info - */ - public String toString () - { - StringBuilder sb = new StringBuilder ("MAsset[") - .append (get_ID ()) - .append("-").append(getValue()) - .append ("]"); - return sb.toString (); - } // toString - - - /************************************************************************** - * Get Deliveries - * @return deliveries - */ - public MAssetDelivery[] getDeliveries() - { - final String whereClause = I_A_Asset_Delivery.COLUMNNAME_A_Asset_ID+"=?"; - List list = new Query(getCtx(),I_A_Asset_Delivery.Table_Name,whereClause,get_TrxName()) - .setParameters(getA_Asset_ID()) - .setOrderBy("Created DESC") - .list(); // - MAssetDelivery[] retValue = new MAssetDelivery[list.size()]; - list.toArray(retValue); - return retValue; - } // getDeliveries - - /** - * Get Delivery count - * @return delivery count - */ - public int getDeliveryCount() - { - String sql = "SELECT COUNT(*) FROM A_Asset_Delivery WHERE A_Asset_ID=?"; - return DB.getSQLValue(get_TrxName(), - sql, getA_Asset_ID()); - } // getDeliveries - - - /************************************************************************** - * Can we download. - * Based on guarantee date and availability of download - * @return true if downloadable - */ - public boolean isDownloadable() - { - if (!isActive()) - return false; - - // Guarantee Date - Timestamp guarantee = getGuaranteeDate(); - if (guarantee == null) - return false; - guarantee = TimeUtil.getDay(guarantee); - Timestamp now = TimeUtil.getDay(System.currentTimeMillis()); - // valid - if (!now.after(guarantee)) // not after guarantee date - { - getProduct(); - return m_product != null - && m_product.hasDownloads(); + + if (MAssetType.isFixedAsset(this)) { + setA_Asset_Status(A_ASSET_STATUS_New); } - // - return false; - } // isDownloadable - - /************************************************************************** - * Get Product Version No - * @return VersionNo - */ - public String getProductVersionNo() - { - return getProduct().getVersionNo(); - } // getProductVersionNo - - /** - * Get Product R_MailText_ID - * @return R_MailText_ID - */ - public int getProductR_MailText_ID() - { - return getProduct().getR_MailText_ID(); - } // getProductR_MailText_ID - - /** - * Get Product Info - * @return product - */ - private MProduct getProduct() - { - if (m_product == null) - m_product = MProduct.get (getCtx(), getM_Product_ID()); - return m_product; - } // getProductInfo - - /** - * Get Active Addl. Product Downloads - * @return array of downloads - */ - public MProductDownload[] getProductDownloads() - { - if (m_product == null) - getProduct(); - if (m_product != null) - return m_product.getProductDownloads(false); - return null; - } // getProductDownloads - - /** - * Get Additional Download Names - * @return names - */ - public String[] getDownloadNames() - { - MProductDownload[] dls = getProductDownloads(); - if (dls != null && dls.length > 0) - { - String[] retValue = new String[dls.length]; - for (int i = 0; i < retValue.length; i++) - retValue[i] = dls[i].getName(); - log.fine("#" + dls.length); - return retValue; + else { + setA_Asset_Status(A_ASSET_STATUS_Activated); + setProcessed(true); } - return new String[]{}; - } // addlDownloadNames + + //added by @win + setA_Asset_Status(A_ASSET_STATUS_New); + //end added by @win + + + } /** - * Get Additional Download URLs - * @return URLs + * Set Asset Group; also it sets other default fields + * @param assetGroup */ - public String[] getDownloadURLs() - { - MProductDownload[] dls = getProductDownloads(); - if (dls != null && dls.length > 0) - { - String[] retValue = new String[dls.length]; - for (int i = 0; i < retValue.length; i++) - { - String url = dls[i].getDownloadURL(); - int pos = Math.max(url.lastIndexOf('/'), url.lastIndexOf('\\')); - if (pos != -1) - url = url.substring(pos+1); - retValue[i] = url; - } - return retValue; - } - return new String[]{}; - } // addlDownloadURLs + public void setAssetGroup(MAssetGroup assetGroup) { + setA_Asset_Group_ID(assetGroup.getA_Asset_Group_ID()); + + /* commented out by @win + setA_Asset_Type_ID(assetGroup.getA_Asset_Type_ID()); + setGZ_TipComponenta(assetGroup.getGZ_TipComponenta()); // TODO: move to GZ + MAssetType assetType = MAssetType.get(getCtx(), assetGroup.getA_Asset_Type_ID()); + assetType.update(SetGetUtil.wrap(this), true); + */ //end commet by @win + } + + public MAssetGroup getAssetGroup() { + return MAssetGroup.get(getCtx(), getA_Asset_Group_ID()); + } /** - * Before Save - * @param newRecord new - * @return true + * Set ASI Info (M_AttributeSetInstance_ID, Lot, SerNo) + * @param asi */ + public void setASI(MAttributeSetInstance asi) { + setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); + setLot(asi.getLot()); + setSerNo(asi.getSerNo()); + } + + /** + * Before Save + * @param newRecord new + * @return true + */ + protected boolean beforeSave (boolean newRecord) { - getQty(); // set to 1 - if (getA_Parent_Asset_ID() < 1 ) - { - setA_Parent_Asset_ID(getA_Asset_ID()); + // Set parent asset: + if (getA_Parent_Asset_ID() <= 0) + { + setA_Parent_Asset_ID(getA_Asset_ID()); } + // Fix inventory number: + String invNo = getInventoryNo(); + if(invNo != null) + { + setInventoryNo(invNo.trim()); + } + // If no asset group, than set the default one: + if(getA_Asset_Group_ID() <= 0) + { + setA_Asset_Group_ID(MAssetGroup.getDefault_ID(SetGetUtil.wrap(this))); + } + /* @win temporary commented out + + if (getA_Asset_Class_ID() <= 0 && getA_Asset_Group_ID() > 0) + { + MAssetGroup.updateAsset(SetGetUtil.wrap(this), getA_Asset_Group_ID()); + } + */ + //end @win comment + + // Copy fields from C_BPartner_Location + if (is_ValueChanged(COLUMNNAME_C_BPartner_Location_ID) && getC_BPartner_Location_ID() > 0) + { + SetGetUtil.copyValues((SetGetModel)this, MBPartnerLocation.Table_Name, getC_BPartner_Location_ID(), + new String[]{MBPartnerLocation.COLUMNNAME_C_Location_ID} + ); + } + // + // Create ASI if not exist: + if (getM_Product_ID() > 0 && getM_AttributeSetInstance_ID() <= 0) + { + MProduct product = MProduct.get(getCtx(), getM_Product_ID()); + MAttributeSetInstance asi = new MAttributeSetInstance(getCtx(), 0, product.getM_AttributeSet_ID(), get_TrxName()); + asi.setSerNo(getSerNo()); + asi.setDescription(); + asi.saveEx(); + setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); + } + // TODO: With the lines below, after creating the asset, the whole system goes much slower ??? +// else if (is_ValueChanged(COLUMNNAME_SerNo) && getM_AttributeSetInstance_ID() > 0) { +// asi = new MAttributeSetInstance(getCtx(), getM_AttributeSetInstance_ID(), get_TrxName()); +// asi.setSerNo(getSerNo()); +// asi.setDescription(); +// asi.saveEx(); +// } +// else if ((newRecord || is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)) && getM_AttributeSetInstance_ID() > 0) { +// asi = new MAttributeSetInstance(getCtx(), getM_AttributeSetInstance_ID(), get_TrxName()); +// setASI(asi); +// } + // + + // Update status + updateStatus(); + + // Validate AssetType + //@win commented out + //MAssetType.validate(this); + //@win end + // + return true; } // beforeSave - /** - * After Save - * @param newRecord new - * @param success success - * @return saved - */ - protected boolean afterSave (boolean newRecord,boolean success) + + protected boolean afterSave (boolean newRecord, boolean success) { - log.info ("afterSave"); - - int p_A_Asset_ID = 0; - p_A_Asset_ID = getA_Asset_ID(); - - String sql = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=?"; - PreparedStatement pstmt = null; - - - if (DB.getSQLValue(get_TrxName(),sql, p_A_Asset_ID)== 0) - { - sql ="SELECT * FROM A_Asset_Group_Acct WHERE A_Asset_Group_ID = ? AND IsActive='Y'"; - pstmt = null; - pstmt = DB.prepareStatement(sql,get_TrxName()); - try { - pstmt.setInt(1, getA_Asset_Group_ID()); - ResultSet rs = pstmt.executeQuery(); - int uselifemonths = 0; - int uselifeyears = 0; - boolean isdepreciate = false; - - - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - X_A_Asset asset = new X_A_Asset (getCtx(), p_A_Asset_ID, get_TrxName()); - - if (getA_Parent_Asset_ID() < 1 ) - { - asset.setA_Parent_Asset_ID(getA_Asset_ID()); - asset.saveEx(); - } - - - while (rs.next()){ - MAssetGroupAcct assetgrpacct = new MAssetGroupAcct (getCtx(), rs, get_TrxName()); - MAssetAcct assetacct = new MAssetAcct (getCtx(), 0, get_TrxName()); - isdepreciate = assetgrpacct.isProcessing(); - if (isDepreciated()== true || isdepreciate == true) - { - assetacct.setPostingType(assetgrpacct.getPostingType()); - assetacct.setA_Split_Percent(assetgrpacct.getA_Split_Percent()); - assetacct.setA_Depreciation_Conv_ID(assetgrpacct.getConventionType()); - assetacct.setA_Salvage_Value(new BigDecimal(0.0)); - assetacct.setA_Asset_ID(p_A_Asset_ID); - assetacct.setA_Depreciation_ID(assetgrpacct.getDepreciationType()); - assetacct.setA_Asset_Spread_ID(assetgrpacct.getA_Asset_Spread_Type()); - assetacct.setA_Period_Start(1); - - - if (getUseLifeMonths() == 0 && getUseLifeYears() == 0){ - assetacct.setA_Period_End(assetgrpacct.getUseLifeMonths()); - asset.setUseLifeYears(assetgrpacct.getUseLifeYears()); - asset.setUseLifeMonths(assetgrpacct.getUseLifeMonths()); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); - uselifemonths = assetgrpacct.getUseLifeMonths(); - uselifeyears = assetgrpacct.getUseLifeYears(); - - } - else if(getUseLifeMonths() == 0){ - assetacct.setA_Period_End(getUseLifeYears()*12); - asset.setUseLifeMonths(getUseLifeYears()*12); - asset.setIsDepreciated(true); - asset.setIsOwned(true); - asset.saveEx(); - uselifemonths = getUseLifeYears()*12; - uselifeyears = getUseLifeYears(); - } - else{ - assetacct.setA_Period_End(getUseLifeMonths()); - uselifemonths = getUseLifeMonths(); - uselifeyears = getUseLifeYears();} - - assetacct.setA_Depreciation_Method_ID(assetgrpacct.getA_Depreciation_Calc_Type()); - assetacct.setA_Asset_Acct(assetgrpacct.getA_Asset_Acct()); - assetacct.setC_AcctSchema_ID(assetgrpacct.getC_AcctSchema_ID()); - assetacct.setA_Accumdepreciation_Acct(assetgrpacct.getA_Accumdepreciation_Acct()); - assetacct.setA_Depreciation_Acct(assetgrpacct.getA_Depreciation_Acct()); - assetacct.setA_Disposal_Revenue(assetgrpacct.getA_Disposal_Revenue()); - assetacct.setA_Disposal_Loss(assetgrpacct.getA_Disposal_Loss()); - assetacct.setA_Reval_Accumdep_Offset_Cur(assetgrpacct.getA_Reval_Accumdep_Offset_Cur()); - assetacct.setA_Reval_Accumdep_Offset_Prior(assetgrpacct.getA_Reval_Accumdep_Offset_Prior()); - if (assetgrpacct.getA_Reval_Cal_Method() == null) - assetacct.setA_Reval_Cal_Method("DFT"); - else - assetacct.setA_Reval_Cal_Method(assetgrpacct.getA_Reval_Cal_Method()); - assetacct.setA_Reval_Cost_Offset(assetgrpacct.getA_Reval_Cost_Offset()); - assetacct.setA_Reval_Cost_Offset_Prior(assetgrpacct.getA_Reval_Cost_Offset_Prior()); - assetacct.setA_Reval_Depexp_Offset(assetgrpacct.getA_Reval_Depexp_Offset()); - assetacct.setA_Depreciation_Manual_Amount(assetgrpacct.getA_Depreciation_Manual_Amount()); - assetacct.setA_Depreciation_Manual_Period(assetgrpacct.getA_Depreciation_Manual_Period()); - assetacct.setA_Depreciation_Table_Header_ID(assetgrpacct.getA_Depreciation_Table_Header_ID()); - assetacct.setA_Depreciation_Variable_Perc(assetgrpacct.getA_Depreciation_Variable_Perc()); - assetacct.setProcessing(false); - assetacct.saveEx(); - - change.setPostingType(assetacct.getPostingType()); - change.setA_Split_Percent(assetacct.getA_Split_Percent()); - change.setConventionType(assetacct.getA_Depreciation_Conv_ID()); - change.setA_Asset_ID(p_A_Asset_ID); - change.setDepreciationType(assetacct.getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(assetacct.getA_Asset_Spread_ID()); - change.setA_Period_Start(assetacct.getA_Period_Start()); - change.setA_Period_End(assetacct.getA_Period_End()); - change.setIsInPosession(isOwned()); - change.setIsDisposed(isDisposed()); - change.setIsDepreciated(isDepreciated()); - change.setIsFullyDepreciated(isFullyDepreciated()); - change.setA_Depreciation_Calc_Type(assetacct.getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(assetacct.getA_Asset_Acct()); - change.setC_AcctSchema_ID(assetacct.getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(assetacct.getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(assetacct.getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(assetacct.getA_Disposal_Revenue()); - change.setA_Disposal_Loss(assetacct.getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(assetacct.getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(assetacct.getA_Reval_Accumdep_Offset_Prior()); - if (assetacct.getA_Reval_Cal_Method() == null) - change.setA_Reval_Cal_Method("DFT"); - else - change.setA_Reval_Cal_Method(assetacct.getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(assetacct.getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(assetacct.getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(assetacct.getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(assetacct.getA_Depreciation_Manual_Amount()); - change.setA_Depreciation_Manual_Period(assetacct.getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(assetacct.getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(assetacct.getA_Depreciation_Variable_Perc()); - - } - - String sql2 = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=? AND PostingType = ?"; - if (DB.getSQLValue(get_TrxName(), sql2, asset.getA_Asset_ID(),assetgrpacct.getPostingType())== 0) - { - - if (isDepreciated()== true || isdepreciate == true) - { - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), 0, get_TrxName()); - assetwk.setA_Asset_ID(p_A_Asset_ID); - assetwk.setA_Life_Period(uselifemonths); - assetwk.setA_Asset_Life_Years(uselifeyears); - assetwk.setIsDepreciated(isDepreciated()); - assetwk.setPostingType(assetgrpacct.getPostingType()); - assetwk.setA_Accumulated_Depr(new BigDecimal(0.0)); - assetwk.setA_QTY_Current(new BigDecimal(0.0)); - assetwk.setA_Asset_Cost(new BigDecimal(0.0)); - assetwk.setA_Period_Posted(0); - assetwk.saveEx(); - } - } - } - - change.setA_Asset_ID(p_A_Asset_ID); - change.setA_Parent_Asset_ID(asset.getA_Parent_Asset_ID()); - change.setChangeType("CRT"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "CRT")); - change.setIsInPosession(isOwned()); - change.setIsDisposed(isDisposed()); - change.setIsDepreciated(isDepreciated()); - change.setIsFullyDepreciated(isFullyDepreciated()); - change.setLot(getLot()); - change.setSerNo(getSerNo()); - change.setVersionNo(getVersionNo()); - change.setUseLifeMonths(getUseLifeMonths()); - change.setUseLifeYears(getUseLifeYears()); - change.setLifeUseUnits(getLifeUseUnits()); - change.setAssetDisposalDate(getAssetDisposalDate()); - change.setAssetServiceDate(getAssetServiceDate()); - change.setC_BPartner_Location_ID(getC_BPartner_Location_ID()); - change.setC_BPartner_ID(getC_BPartner_ID()); - change.setA_QTY_Current(getA_QTY_Current()); - change.setA_QTY_Original(getA_QTY_Original()); - change.setA_Asset_CreateDate(getA_Asset_CreateDate()); - change.setAD_User_ID(getAD_User_ID()); - change.setC_Location_ID(getC_Location_ID()); - change.saveEx(); - - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - - - } - else + if(!success) { - int uselifemonths = 0; - int uselifeyears = 0; - sql ="SELECT * FROM A_Asset_Acct WHERE A_Asset_ID = ? AND IsActive='Y'"; - pstmt = null; - pstmt = DB.prepareStatement(sql,get_TrxName()); - - - try { - - pstmt.setInt(1, getA_Asset_ID()); - ResultSet rs = pstmt.executeQuery(); - while (rs.next()){ - MAssetAcct assetacct = new MAssetAcct (getCtx(),rs, get_TrxName()); - assetacct.setProcessing(false); - assetacct.setA_Asset_ID(p_A_Asset_ID); - assetacct.setA_Period_Start(1); - if(getUseLifeMonths() == 0){ - assetacct.setA_Period_End(getUseLifeYears()*12); - setUseLifeMonths(getUseLifeYears()*12); - uselifemonths = getUseLifeYears()*12; - uselifeyears = getUseLifeYears(); - } - else{ - assetacct.setA_Period_End(getUseLifeMonths()); - uselifemonths = getUseLifeMonths(); - uselifeyears = getUseLifeYears(); - } - assetacct.saveEx(); - } - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - sql ="SELECT * FROM A_Depreciation_Workfile WHERE A_Asset_ID=? AND IsActive='Y'"; - pstmt = null; - try - { - pstmt = DB.prepareStatement(sql,get_TrxName()); - pstmt.setInt(1, p_A_Asset_ID); - ResultSet rs = pstmt.executeQuery(); - - while (rs.next()){ - - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs, get_TrxName()); - - assetwk.setA_Asset_ID(p_A_Asset_ID); - assetwk.setA_Life_Period(uselifemonths); - assetwk.setA_Asset_Life_Years(uselifeyears); - assetwk.setIsDepreciated(isDepreciated()); - //assetwk.setA_QTY_Current(getA_QTY_Current()); - assetwk.saveEx(); - - if (isProcessing()== true){ - MAssetChange change = new MAssetChange (getCtx(), 0, get_TrxName()); - change.setA_Asset_ID(p_A_Asset_ID); - change.setChangeType("UPD"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "UPD")); - change.setLot(getLot()); - change.setSerNo(getSerNo()); - change.setVersionNo(getVersionNo()); - change.setA_Parent_Asset_ID(getA_Parent_Asset_ID()); - change.setUseLifeMonths(getUseLifeMonths()); - change.setUseLifeYears(getUseLifeYears()); - change.setLifeUseUnits(getLifeUseUnits()); - change.setAssetDisposalDate(getAssetDisposalDate()); - change.setAssetServiceDate(getAssetServiceDate()); - change.setIsInPosession(isOwned()); - change.setA_Reval_Cal_Method("DFT"); - change.setIsDisposed(isDisposed()); - change.setIsDepreciated(isDepreciated()); - change.setIsFullyDepreciated(isFullyDepreciated()); - change.setC_BPartner_Location_ID(getC_BPartner_Location_ID()); - change.setC_BPartner_ID(getC_BPartner_ID()); - change.setPostingType("A"); - change.setA_QTY_Current(getA_QTY_Current()); - change.setA_QTY_Original(getA_QTY_Original()); - change.setA_Asset_CreateDate(getA_Asset_CreateDate()); - change.setAD_User_ID(getAD_User_ID()); - change.setC_Location_ID(getC_Location_ID()); - change.saveEx(); - } - else - { - X_A_Asset asset = new X_A_Asset (getCtx(), p_A_Asset_ID, get_TrxName()); - asset.setProcessing(true); - asset.saveEx(); - } - } - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) - { - log.info("getAssets"+ e); - } - finally - { - try - { - if (pstmt != null) - pstmt.close (); - } - catch (Exception e) - {} - pstmt = null; - } - + return success; } - + + // + // Set parent + if(getA_Parent_Asset_ID() <= 0) + { + int A_Asset_ID = getA_Asset_ID(); + setA_Parent_Asset_ID(A_Asset_ID); + DB.executeUpdateEx("UPDATE A_Asset SET A_Parent_Asset_ID=A_Asset_ID WHERE A_Asset_ID=" + A_Asset_ID, get_TrxName()); + log.fine("A_Parent_Asset_ID=" + getA_Parent_Asset_ID()); + } + + // + // Set inventory number: + String invNo = getInventoryNo(); + if(invNo == null || invNo.trim().length() == 0) + { + invNo = "" + get_ID(); + setInventoryNo(invNo); + DB.executeUpdateEx("UPDATE A_Asset SET InventoryNo=" + DB.TO_STRING(invNo) + " WHERE A_Asset_ID=" + getA_Asset_ID(), get_TrxName()); + log.fine("InventoryNo=" + getInventoryNo()); + } + + + // If new record, create accounting and workfile + if (newRecord) + { + //@win: set value at asset group as default value for asset + MAssetGroup assetgroup = new MAssetGroup(getCtx(), getA_Asset_Group_ID(), get_TrxName()); + String isDepreciated = (assetgroup.isDepreciated()) ? "Y" : "N"; + String isOwned = (assetgroup.isOwned()) ? "Y" : "N"; + setIsDepreciated(assetgroup.isDepreciated()); + setIsOwned(assetgroup.isOwned()); + DB.executeUpdateEx("UPDATE A_Asset SET IsDepreciated='" + isDepreciated + "', isOwned ='" + isOwned + "' WHERE A_Asset_ID=" + getA_Asset_ID(), get_TrxName()); + //end @win + + // for each asset group acounting create an asset accounting and a workfile too + for (MAssetGroupAcct assetgrpacct : MAssetGroupAcct.forA_Asset_Group_ID(getCtx(), getA_Asset_Group_ID())) + { + // Asset Accounting + MAssetAcct assetacct = new MAssetAcct(this, assetgrpacct); + assetacct.setAD_Org_ID(getAD_Org_ID()); //added by @win + assetacct.saveEx(); + + // Asset Depreciation Workfile + MDepreciationWorkfile assetwk = new MDepreciationWorkfile(this, assetacct.getPostingType(), assetgrpacct); + assetwk.setAD_Org_ID(getAD_Org_ID()); //added by @win + assetwk.setUseLifeYears(0); + assetwk.setUseLifeMonths(0); + assetwk.setUseLifeYears_F(0); + assetwk.setUseLifeMonths_F(0); + assetwk.saveEx(); + + // Change Log + MAssetChange.createAndSave(getCtx(), "CRT", new PO[]{this, assetwk, assetacct}, null); + } + + } + else + { + MAssetChange.createAndSave(getCtx(), "UPD", new PO[]{this}, null); + } + + // + // Update child.IsDepreciated flag + if (!newRecord && is_ValueChanged(COLUMNNAME_IsDepreciated)) + { + final String sql = "UPDATE " + MDepreciationWorkfile.Table_Name + +" SET " + MDepreciationWorkfile.COLUMNNAME_IsDepreciated+"=?" + +" WHERE " + MDepreciationWorkfile.COLUMNNAME_A_Asset_ID+"=?"; + DB.executeUpdateEx(sql, new Object[]{isDepreciated(), getA_Asset_ID()}, get_TrxName()); + } + return true; - } // afterSave - /************************************************************************* - * Confirm Asset EMail Delivery - * @param email email sent - * @param AD_User_ID recipient - * @return asset delivery - */ - public MAssetDelivery confirmDelivery (EMail email, int AD_User_ID) - { - setVersionNo(getProductVersionNo()); - MAssetDelivery ad = new MAssetDelivery (this, email, AD_User_ID); - return ad; - } // confirmDelivery - - /** - * Confirm Asset Download Delivery - * @param request request - * @param AD_User_ID recipient - * @return asset delivery - */ - public MAssetDelivery confirmDelivery (HttpServletRequest request, int AD_User_ID) - { - setVersionNo(getProductVersionNo()); - setLifeUseUnits(getLifeUseUnits()+1); - MAssetDelivery ad = new MAssetDelivery (this, request, AD_User_ID); - return ad; - } // confirmDelivery -} // MAsset + protected boolean beforeDelete() + { + // delete addition + { + String sql = "DELETE FROM "+MAssetAddition.Table_Name+" WHERE "+MAssetAddition.COLUMNNAME_Processed+"=? AND "+MAssetAddition.COLUMNNAME_A_Asset_ID+"=?"; + int no = DB.executeUpdateEx(sql, new Object[]{false, getA_Asset_ID()}, get_TrxName()); + log.info("@A_Asset_Addition@ @Deleted@ #" + no); + } + // + // update invoice line + { + final String sql = "UPDATE "+MInvoiceLine.Table_Name+" SET " + +" "+MInvoiceLine.COLUMNNAME_A_Asset_ID+"=?" + +","+MInvoiceLine.COLUMNNAME_A_Processed+"=?" + +" WHERE "+MInvoiceLine.COLUMNNAME_A_Asset_ID+"=?"; + int no = DB.executeUpdateEx(sql, new Object[]{null, false, getA_Asset_ID()}, get_TrxName()); + log.info("@C_InvoiceLine@ @Updated@ #" + no); + } + return true; + } // beforeDelete + + /** + * + * @see #beforeSave(boolean) + */ + public void updateStatus() + { + String status = getA_Asset_Status(); + setProcessed(!status.equals(A_ASSET_STATUS_New)); +// setIsDisposed(!status.equals(A_ASSET_STATUS_New) && !status.equals(A_ASSET_STATUS_Activated)); + setIsDisposed(status.equals(A_ASSET_STATUS_Disposed)); + setIsFullyDepreciated(status.equals(A_ASSET_STATUS_Depreciated)); + if(isFullyDepreciated() || status.equals(A_ASSET_STATUS_Disposed)) + { + setIsDepreciated(false); + } + /* commented by @win + MAssetClass assetClass = MAssetClass.get(getCtx(), getA_Asset_Class_ID()); + if (assetClass != null && assetClass.isDepreciated()) + { + setIsDepreciated(true); + } + */ //end comment by @win + if (status.equals(A_ASSET_STATUS_Activated) || getAssetActivationDate() == null) + { + setAssetActivationDate(getAssetServiceDate()); + } + } + + /** + * Change asset status to newStatus + * @param newStatus see A_ASSET_STATUS_ + * @param date state change date; if null context "#Date" will be used + */ + public void changeStatus(String newStatus, Timestamp date) + { + String status = getA_Asset_Status(); + if (CLogMgt.isLevelFinest()) log.finest("Entering: " + status + "->" + newStatus + ", date=" + date); + + // + // If date is null, use context #Date + if(date == null) { + date = Env.getContextAsDate(getCtx(), "#Date"); + } + + // + // Activation/Addition + if(newStatus.equals(A_ASSET_STATUS_Activated)) + { + setAssetActivationDate(date); + } + // + // Preservation + if(newStatus.equals(A_ASSET_STATUS_Preservation)) + { + setAssetDisposalDate(date); + // TODO: move to MAsetDisposal + Collection workFiles = MDepreciationWorkfile.forA_Asset_ID(getCtx(), getA_Asset_ID(), get_TrxName()); + for(MDepreciationWorkfile assetwk : workFiles) { + assetwk.truncDepreciation(); + assetwk.saveEx(); + } + } + // Disposal + if(newStatus.equals(A_ASSET_STATUS_Disposed)) + { // casat, vandut + setAssetDisposalDate(date); + } + + // Set new status + setA_Asset_Status(newStatus); + } // changeStatus + + // Temporary used variables: + /** */ + private int m_UseLifeMonths_F = 0; + public int getUseLifeMonths_F() { return m_UseLifeMonths_F; } + public void setUseLifeMonths_F(int UseLifeMonths_F) { m_UseLifeMonths_F = UseLifeMonths_F; } + /** */ + private int m_A_Current_Period = 0; + public int getA_Current_Period() { return m_A_Current_Period; } + public void setA_Current_Period(int A_Current_Period) { m_A_Current_Period = A_Current_Period; } + /** */ + private Timestamp m_DateAcct = null; + public Timestamp getDateAcct() { return m_DateAcct; } + public void setDateAcct(Timestamp DateAcct) { m_DateAcct = DateAcct; } + /** */ + private int m_A_Depreciation_ID = 0; + public int getA_Depreciation_ID() { return m_A_Depreciation_ID; } + public void setA_Depreciation_ID(int A_Depreciation_ID) { m_A_Depreciation_ID = A_Depreciation_ID; } + /** */ + private int m_A_Depreciation_F_ID = 0; + public int getA_Depreciation_F_ID() { return m_A_Depreciation_F_ID; } + public void setA_Depreciation_F_ID(int A_Depreciation_F_ID) { m_A_Depreciation_F_ID = A_Depreciation_F_ID; } + /** */ + private BigDecimal m_A_Asset_Cost = Env.ZERO; + private BigDecimal m_A_Accumulated_Depr = Env.ZERO; + private BigDecimal m_A_Accumulated_Depr_F = Env.ZERO; + public BigDecimal getA_Asset_Cost() { return m_A_Asset_Cost; } + public void setA_Asset_Cost(BigDecimal A_Asset_Cost) { m_A_Asset_Cost = A_Asset_Cost; } + public BigDecimal getA_Accumulated_Depr() { return m_A_Accumulated_Depr; } + public void setA_Accumulated_Depr(BigDecimal A_Accumulated_Depr) { m_A_Accumulated_Depr = A_Accumulated_Depr; } + public BigDecimal getA_Accumulated_Depr_F() { return m_A_Accumulated_Depr_F; } + public void setA_Accumulated_Depr_F(BigDecimal A_Accumulated_Depr_F) { m_A_Accumulated_Depr_F = A_Accumulated_Depr_F; } + + public MAssetDelivery confirmDelivery(EMail email, int ad_User_ID) { + // TODO Auto-generated method stub + return null; + } + + public MProductDownload[] getProductDownloads() { + // TODO Auto-generated method stub + return null; + } + + public MAssetDelivery confirmDelivery(HttpServletRequest request, + int ad_User_ID) { + // TODO Auto-generated method stub + return null; + } + + public MAssetDelivery[] getDeliveries() { + // TODO Auto-generated method stub + return null; + } + + public static MAsset getFromShipment(Properties ctx, int i, String trxName) { + // TODO Auto-generated method stub + return null; + } + + public int getProductR_MailText_ID() { + // IDEMPIERE-197 Stabilize Fixed Assets + // AssetDelivery is requiring this missing column + // TODO: Adding this method to compile correctly and future research, + // but the process AssetDelivery will fail with error "** Product Mail Text" + return 0; + } + + public boolean isDownloadable() { + // IDEMPIERE-197 Stabilize Fixed Assets + // AssetServlet is requiring this missing column + // TODO: Adding this method to compile correctly and future research + return false; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MAssetAcct.java b/org.adempiere.base/src/org/compiere/model/MAssetAcct.java index 259e882827..f5e23a3947 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetAcct.java @@ -1,168 +1,184 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * -******************************************************************************/ package org.compiere.model; -import java.sql.PreparedStatement; +import java.math.BigDecimal; import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.ArrayList; import java.util.Properties; -import org.compiere.util.DB; +import org.apache.commons.collections.keyvalue.MultiKey; +import org.compiere.model.MAccount; +import org.compiere.model.MAcctSchema; +import org.compiere.model.ProductCost; +import org.compiere.model.Query; +import org.compiere.util.CCache; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; /** - * Asset Addition Model - * - * + * Asset Acct Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ -public class MAssetAcct extends X_A_Asset_Acct { - /** - * - */ - private static final long serialVersionUID = 4779953750434068382L; +public class MAssetAcct extends X_A_Asset_Acct +{ + private static final long serialVersionUID = 1L; /** - * Default ConstructorX_A_Asset_Group_Acct - * - * @param ctx - * context - * @param M_InventoryLine_ID - * line + * DO NOT USE DIRECTLY */ - public MAssetAcct(Properties ctx, int X_A_Asset_Acct_ID, String trxName) { - super(ctx, X_A_Asset_Acct_ID, trxName); - if (X_A_Asset_Acct_ID == 0) { - // + public MAssetAcct (Properties ctx, int X_A_Asset_Acct_ID, String trxName) + { + super (ctx,X_A_Asset_Acct_ID, trxName); + if (X_A_Asset_Acct_ID == 0) + { + setA_Salvage_Value(Env.ZERO); } - } // MAssetAddition - + } + + public MAssetAcct (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** Static Cache: A_Asset_Acct_ID -> MAssetAcct */ + private static CCache s_cache = new CCache(Table_Name, 5); + /** Static Cache: Asset,PostingType,DateAcct -> MAssetAcct */ + private static CCache s_cacheAsset = new CCache(Table_Name+"_Asset", 5); + /** - * Load Constructor - * - * @param ctx - * context - * @param rs - * result set + * Get Asset Accounting (from cache) + * @param ctx context + * @param A_Asset_Acct_ID asset accounting id + * @return asset accounting or null if not found */ - public MAssetAcct(Properties ctx, ResultSet rs, String trxName) { - super(ctx, rs, trxName); - } // MInventoryLine - - protected boolean afterSave(boolean newRecord, boolean success) { - log.info("afterSave"); - int p_actasset_ID = getA_Asset_Acct_ID(); - int p_A_Asset_ID = getA_Asset_ID(); - - if (isProcessing() == true) { - MAssetChange change = new MAssetChange(getCtx(), 0, null); - change.setChangeType("SET"); - change.setTextDetails(MRefList.getListDescription(getCtx(), - "A_Update_Type", "SET")); - change.setPostingType(getPostingType()); - change.setA_Split_Percent(getA_Split_Percent()); - change.setConventionType(getA_Depreciation_Conv_ID()); - change.setA_Salvage_Value(getA_Salvage_Value()); - change.setA_Asset_ID(getA_Asset_ID()); - change.setDepreciationType(getA_Depreciation_ID()); - change.setA_Asset_Spread_Type(getA_Asset_Spread_ID()); - change.setA_Period_Start(getA_Period_Start()); - change.setA_Period_End(getA_Period_End()); - change.setA_Depreciation_Calc_Type(getA_Depreciation_Method_ID()); - change.setA_Asset_Acct(getA_Asset_Acct()); - change.setC_AcctSchema_ID(getC_AcctSchema_ID()); - change.setA_Accumdepreciation_Acct(getA_Accumdepreciation_Acct()); - change.setA_Depreciation_Acct(getA_Depreciation_Acct()); - change.setA_Disposal_Revenue(getA_Disposal_Revenue()); - change.setA_Disposal_Loss(getA_Disposal_Loss()); - change.setA_Reval_Accumdep_Offset_Cur(getA_Reval_Accumdep_Offset_Cur()); - change.setA_Reval_Accumdep_Offset_Prior(getA_Reval_Accumdep_Offset_Prior()); - if (getA_Reval_Cal_Method() == null) - change.setA_Reval_Cal_Method("DFT"); - else - change.setA_Reval_Cal_Method(getA_Reval_Cal_Method()); - change.setA_Reval_Cost_Offset(getA_Reval_Cost_Offset()); - change.setA_Reval_Cost_Offset_Prior(getA_Reval_Cost_Offset_Prior()); - change.setA_Reval_Depexp_Offset(getA_Reval_Depexp_Offset()); - change.setA_Depreciation_Manual_Amount(getA_Depreciation_Manual_Amount()); - change.setA_Depreciation_Manual_Period(getA_Depreciation_Manual_Period()); - change.setA_Depreciation_Table_Header_ID(getA_Depreciation_Table_Header_ID()); - change.setA_Depreciation_Variable_Perc(getA_Depreciation_Variable_Perc()); - change.saveEx(); - - String sql = "SELECT * FROM A_Depreciation_Workfile WHERE A_Asset_ID=? AND IsActive='Y'"; - PreparedStatement pstmt = null; - try { - pstmt = DB.prepareStatement(sql, null); - pstmt.setInt(1, p_A_Asset_ID); - ResultSet rs = pstmt.executeQuery(); - - while (rs.next()) { - // MADepreciationWorkfile asset = new MADepreciationWorkfile - // (getCtx(), rs.getInt("A_Depreciation_Workfile_ID")); - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile( - getCtx(), rs, null); - assetwk.setA_Salvage_Value(getA_Salvage_Value()); - assetwk.saveEx(); - } - rs.close(); - pstmt.close(); - pstmt = null; - } catch (Exception e) { - log.info("getAssets" + e); - } finally { - try { - if (pstmt != null) - pstmt.close(); - } catch (Exception e) { - } - pstmt = null; - } - - } else { - X_A_Asset_Acct assetacct = new X_A_Asset_Acct(getCtx(), - p_actasset_ID, this.get_TrxName()); - assetacct.setPostingType(getPostingType()); - assetacct.setA_Split_Percent(getA_Split_Percent()); - assetacct.setA_Depreciation_Conv_ID(getA_Depreciation_Conv_ID()); - assetacct.setA_Salvage_Value(getA_Salvage_Value()); - assetacct.setA_Asset_ID(getA_Asset_ID()); - assetacct.setA_Depreciation_ID(getA_Depreciation_ID()); - assetacct.setA_Asset_Spread_ID(getA_Asset_Spread_ID()); - assetacct.setA_Period_Start(getA_Period_Start()); - assetacct.setA_Depreciation_Method_ID(getA_Depreciation_Method_ID()); - assetacct.setA_Asset_Acct(getA_Asset_Acct()); - assetacct.setC_AcctSchema_ID(getC_AcctSchema_ID()); - assetacct.setA_Accumdepreciation_Acct(getA_Accumdepreciation_Acct()); - assetacct.setA_Depreciation_Acct(getA_Depreciation_Acct()); - assetacct.setA_Disposal_Revenue(getA_Disposal_Revenue()); - assetacct.setA_Disposal_Loss(getA_Disposal_Loss()); - assetacct.setA_Reval_Accumdep_Offset_Cur(getA_Reval_Accumdep_Offset_Cur()); - assetacct.setA_Reval_Accumdep_Offset_Prior(getA_Reval_Accumdep_Offset_Prior()); - assetacct.setA_Reval_Cal_Method(getA_Reval_Cal_Method()); - assetacct.setA_Reval_Cost_Offset(getA_Reval_Cost_Offset()); - assetacct.setA_Reval_Cost_Offset_Prior(getA_Reval_Cost_Offset_Prior()); - assetacct.setA_Reval_Depexp_Offset(getA_Reval_Depexp_Offset()); - assetacct.setA_Depreciation_Manual_Amount(getA_Depreciation_Manual_Amount()); - assetacct.setA_Depreciation_Manual_Period(getA_Depreciation_Manual_Period()); - assetacct.setA_Depreciation_Table_Header_ID(getA_Depreciation_Table_Header_ID()); - assetacct.setA_Depreciation_Variable_Perc(getA_Depreciation_Variable_Perc()); - assetacct.setProcessing(true); - assetacct.saveEx(); + public static MAssetAcct get (Properties ctx, int A_Asset_Acct_ID) + { + MAssetAcct acct = s_cache.get(A_Asset_Acct_ID); + if (acct != null) + { + return acct; + } + acct = new MAssetAcct(ctx, A_Asset_Acct_ID, null); + if (acct.get_ID() > 0) + { + addToCache(acct, null); + } + else + { + acct = null; + } + return acct; + } + + /** + * Get asset accounting. + * @param ctx context + * @param A_Asset_ID asset + * @param postingType Posting type + * @param dateAcct check ValidFrom + * @return asset accounting for the given asset + */ + public static MAssetAcct forA_Asset_ID (Properties ctx, int A_Asset_ID, String postingType, Timestamp dateAcct, String trxName) + { + MultiKey key = new MultiKey(A_Asset_ID, postingType, dateAcct); + MAssetAcct acct = null; + if (trxName == null) + { + // do not use cache + //acct = s_cacheAsset.get(key); + } + if (acct != null) + { + return acct; + } + // + ArrayList params = new ArrayList(); + StringBuffer whereClause = new StringBuffer(COLUMNNAME_A_Asset_ID+"=? AND "+COLUMNNAME_PostingType+"=?"); + params.add(A_Asset_ID); + params.add(postingType); + if (dateAcct != null) + { + whereClause.append(" AND " + COLUMNNAME_ValidFrom).append("<=?"); + params.add(dateAcct); + } + acct = new Query(ctx, Table_Name, whereClause.toString(), trxName) + .setParameters(params) + .setOrderBy(COLUMNNAME_ValidFrom+" DESC NULLS LAST") + .first(); + if (trxName == null) + { + addToCache(acct, key); + } + return acct; + } + + private static void addToCache(MAssetAcct acct, MultiKey keyAsset) + { + if (acct == null || acct.get_ID() <= 0) + { + return; + } + s_cache.put(acct.get_ID(), acct); + if (keyAsset != null) + { + s_cacheAsset.put(keyAsset, acct); + } + } + + /** + * Create new asset accounting from asset group accounting + * @param asset asset + * @param assetgrpacct asset group accounting + */ + public MAssetAcct(MAsset asset, MAssetGroupAcct assetgrpacct) + { + this(assetgrpacct.getCtx(), 0, asset.get_TrxName()); + + SetGetUtil.copyValues(this, assetgrpacct, null, null); + setA_Asset_ID(asset.getA_Asset_ID()); + if (asset.getA_Depreciation_ID() > 0) + { + setA_Depreciation_ID(asset.getA_Depreciation_ID()); + } + if (asset.getA_Depreciation_F_ID() > 0) + { + setA_Depreciation_F_ID(asset.getA_Depreciation_F_ID()); + } + setA_Period_Start(1); + setA_Period_End(asset.getUseLifeMonths()); + //~ setProcessing(false); + dump(); + } + + /** + * + */ + public BigDecimal getA_Depreciation_Variable_Perc(boolean fiscal) + { + return fiscal ? getA_Depreciation_Variable_Perc_F() : getA_Depreciation_Variable_Perc(); + } + + + public MAcctSchema getC_AcctSchema() + { + return MAcctSchema.get(getCtx(), getC_AcctSchema_ID()); + } + + public MAccount getP_Asset_Acct(int M_Product_ID) + { + MAcctSchema as = getC_AcctSchema(); + ProductCost pc = new ProductCost(getCtx(), M_Product_ID, 0, null); + return pc.getAccount(ProductCost.ACCTTYPE_P_Asset, as); + } + @Override + protected boolean beforeSave(boolean newRecord) { + if (getValidFrom() == null && newRecord) + { + setValidFrom(TimeUtil.getDay(1970, 01, 01)); // FIXME } return true; } - -} // MAssetAddition + + +} // class MAssetAcct diff --git a/org.adempiere.base/src/org/compiere/model/MAssetAddition.java b/org.adempiere.base/src/org/compiere/model/MAssetAddition.java index 62cc3a5af5..92df99c84b 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetAddition.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetAddition.java @@ -1,155 +1,1187 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ package org.compiere.model; -import java.sql.PreparedStatement; +import java.io.File; +import java.math.BigDecimal; import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.List; import java.util.Properties; +import org.adempiere.exceptions.FillMandatoryException; +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.process.ProcessInfo; +import org.compiere.process.ProjectClose; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Trx; +import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; +import org.idempiere.fa.exceptions.AssetException; +import org.idempiere.fa.exceptions.AssetNotImplementedException; +import org.idempiere.fa.exceptions.AssetNotSupportedException; +import org.idempiere.fa.feature.UseLifeImpl; +import org.idempiere.fa.util.POCacheLocal; + /** * Asset Addition Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL * - * + * TODO: BUG: REG in depexp creates a zero if they have more sites Addition during 0?! */ public class MAssetAddition extends X_A_Asset_Addition + implements DocAction { - /** - * - */ - private static final long serialVersionUID = 511552459407382309L; + private static final long serialVersionUID = 1L; + + /** Static Logger */ + private static CLogger s_log = CLogger.getCLogger(MAssetAddition.class); - /** - * Default Constructor - * @param ctx context - * @param M_InventoryLine_ID line - */ public MAssetAddition (Properties ctx, int A_Asset_Addition_ID, String trxName) { super (ctx, A_Asset_Addition_ID, trxName); if (A_Asset_Addition_ID == 0) { - // - + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); } } // MAssetAddition - /** - * Load Constructor - * @param ctx context - * @param rs result set - */ public MAssetAddition (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); } // MAAssetAddition - /** - * Before Save - * @param newRecord new - * @return true - */ + protected boolean beforeSave (boolean newRecord) { - log.info ("beforeSave"); - int p_A_Asset_ID = 0; - p_A_Asset_ID = getA_Asset_ID(); - String sql = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=?"; - if (DB.getSQLValue(null,sql, p_A_Asset_ID) == 0) - { - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), 0, null); - assetwk.setA_Asset_ID(p_A_Asset_ID); - assetwk.setPostingType("A"); - assetwk.setA_QTY_Current(getA_QTY_Current()); - assetwk.setA_Asset_Cost(getAssetValueAmt()); - assetwk.saveEx(); - - MAsset asset = new MAsset (getCtx(), p_A_Asset_ID, null); - asset.setA_QTY_Original(getA_QTY_Current().add(asset.getA_QTY_Original())); - asset.setA_QTY_Current(getA_QTY_Current().add(asset.getA_QTY_Current())); - asset.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0,null); - change.setA_Asset_ID(p_A_Asset_ID); - change.setA_QTY_Current(getA_QTY_Current()); - change.setChangeType("ADD"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "ADD")); - change.setPostingType("A"); - change.setAssetValueAmt(getAssetValueAmt()); - change.setA_QTY_Current(getA_QTY_Current()); - change.saveEx(); - - - } + setA_CreateAsset(); + if (isA_CreateAsset() && getA_QTY_Current().signum() == 0) + { + setA_QTY_Current(Env.ONE); + } + if (getC_Currency_ID() <= 0) + { + setC_Currency_ID(MClient.get(getCtx()).getAcctSchema().getC_Currency_ID()); + } + if (getC_ConversionType_ID() <= 0) + { + setC_ConversionType_ID(MConversionType.getDefault(getAD_Client_ID())); + } + getDateAcct(); + setAssetValueAmt(); + if (isA_CreateAsset()) + { + setA_CapvsExp(A_CAPVSEXP_Capital); + } + + // + // Check suspect asset values (UseLife, Amount etc): + /* arhipac: teo_sarca: TODO need to integrate + if (hasZeroValues() && (!m_confirmed_AssetValues && !isProcessed() && is_UserEntry())) + { + String msg = "@AssetValueAmt@="+getAssetValueAmt() + + "\n@DeltaUseLifeYears@="+getDeltaUseLifeYears() + + "\n@DeltaUseLifeYears_F@="+getDeltaUseLifeYears_F()+"\n"; + m_confirmed_AssetValues = UIFactory.getUI().ask(get_WindowNo(), null, "Confirm", Msg.parseTranslation(getCtx(), msg), true); + if (!m_confirmed_AssetValues) + { + throw new AssetCheckDocumentException(msg); + } + } + */ + + // set approved + setIsApproved(); + + return true; + } // beforeSave + +// private boolean m_confirmed_AssetValues = false; + + /** + * Create Asset and asset Addition from MMatchInv. + * MAssetAddition is saved. + * @param match match invoice + * @return asset addition + */ + public static MAssetAddition createAsset(MMatchInv match) + { + MAssetAddition assetAdd = new MAssetAddition(match); + assetAdd.dump(); + //@win add condition to prevent asset creation when expense addition or second addition + if (MAssetAddition.A_CAPVSEXP_Capital.equals(assetAdd.getA_CapvsExp()) + && match.getC_InvoiceLine().getA_Asset_ID() == 0 && assetAdd.isA_CreateAsset()) { + //end @win add condition to prevent asset creation when expense addition or second addition + MAsset asset = assetAdd.createAsset(); + asset.dump(); + //@win add + MAssetGroupAcct assetgrpacct = MAssetGroupAcct.forA_Asset_Group_ID(asset.getCtx(), asset.getA_Asset_Group_ID(), assetAdd.getPostingType()); + assetAdd.setDeltaUseLifeYears(assetgrpacct.getUseLifeYears()); + assetAdd.setDeltaUseLifeYears_F(assetgrpacct.getUseLifeYears_F()); + } else { + assetAdd.setA_Asset_ID(match.getC_InvoiceLine().getA_Asset_ID()); + assetAdd.setA_CreateAsset(false); + } + assetAdd.saveEx(); + return assetAdd; + } + + /** + * Create Asset and asset Addition from MIFixedAsset. MAssetAddition is saved. + * (@win note, not referenced from anywhere. incomplete feature) + * @param match match invoice + * @return asset addition + */ + public static MAssetAddition createAsset(MIFixedAsset ifa) + { + MAssetAddition assetAdd = new MAssetAddition(ifa); + assetAdd.dump(); + //@win add condition to prevent asset creation when expense addition or second addition + if (MAssetAddition.A_CAPVSEXP_Capital.equals(assetAdd.getA_CapvsExp()) + && ifa.getA_Asset_ID() == 0) { + //end @win add condition to prevent asset creation when expense addition or second addition + MAsset asset = assetAdd.createAsset(); + asset.dump(); + } + assetAdd.saveEx(); + return assetAdd; + } + + //@win create asset from Project + /** + * Create Asset and asset Addition from MProject. MAssetAddition is saved. + * Addition from Project only allows initial addition (will definitely create new asset) + * @param project + * @return asset addition + */ + public static MAssetAddition createAsset(MProject project, MProduct product) + { + MAssetAddition assetAdd = new MAssetAddition(project); + assetAdd.dump(); + + MAsset asset = assetAdd.createAsset(); + + if (product != null) { + asset.setM_Product_ID(product.getM_Product_ID()); + asset.setA_Asset_Group_ID(product.getA_Asset_Group_ID()); + MAttributeSetInstance asi = MAttributeSetInstance.create(Env.getCtx(), product, null); + asset.setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); + } + asset.setName(product.getName().concat(project.getName())); + asset.setValue(product.getName().concat(project.getName())); + asset.saveEx(); + asset.dump(); + + // Copy UseLife values from asset group to workfile + MAssetGroupAcct assetgrpacct = MAssetGroupAcct.forA_Asset_Group_ID(asset.getCtx(), asset.getA_Asset_Group_ID(), assetAdd.getPostingType()); + assetAdd.setDeltaUseLifeYears(assetgrpacct.getUseLifeYears()); + assetAdd.setDeltaUseLifeYears_F(assetgrpacct.getUseLifeYears_F()); + assetAdd.setA_Asset(asset); + assetAdd.saveEx(); + //@win add + + return assetAdd; + } + //end @win create asset from Project + /** + * Create Asset + */ + private MAsset createAsset() + { + MAsset asset = null; + if (getA_Asset_ID() <= 0) + { + String sourceType = getA_SourceType(); + if (A_SOURCETYPE_Invoice.equals(sourceType)) + { + asset = new MAsset(getMatchInv(false)); + asset.saveEx(); + setA_Asset(asset); + } + else if (A_SOURCETYPE_Imported.equals(sourceType)) + { + asset = new MAsset(getI_FixedAsset(false)); + asset.saveEx(); + setA_Asset(asset); + } + else if (A_SOURCETYPE_Project.equals(sourceType)) + { + //@win add code for generate from Project + asset = new MAsset(getC_Project(false)); + //end @win add code for generate from Project + } + else + { + throw new AssetNotSupportedException(COLUMNNAME_A_SourceType, sourceType); + } + } else { - sql ="SELECT * FROM A_Depreciation_Workfile WHERE A_Asset_ID=? AND IsActive='Y'"; - PreparedStatement pstmt = null; - try - { - pstmt = DB.prepareStatement(sql,null); - pstmt.setInt(1, p_A_Asset_ID); - ResultSet rs = pstmt.executeQuery(); + asset = getA_Asset(false); + } + // + return asset; + } + + /** + * Construct addition from match invoice + * @param match match invoice model + */ + private MAssetAddition (MMatchInv match) + { + this(match.getCtx(), 0, match.get_TrxName()); + setM_MatchInv(match); + } + + //added by @win + /** + * @author @win + * Construct addition from Project + * @param project + */ + private MAssetAddition (MProject project) + { + this(project.getCtx(), 0, project.get_TrxName()); + log.finest("Entering: Project=" + project); + setAD_Org_ID(project.getAD_Org_ID()); + setPostingType(POSTINGTYPE_Actual); + setA_SourceType(A_SOURCETYPE_Project); + // + setC_Currency_ID(project.getC_Currency_ID()); + if (project.get_ValueAsInt("C_ConversionType_ID")>0) { + setC_ConversionType_ID(project.get_ValueAsInt("C_ConversionType_ID")); + } + setSourceAmt(project.getProjectBalanceAmt()); + setDateDoc(new Timestamp (System.currentTimeMillis())); + setA_CreateAsset(true); //added by @win as create from project will certainly for createnew + setDeltaUseLifeYears(I_ZERO); + setDeltaUseLifeYears_F(I_ZERO); + + Timestamp dateAcct = new Timestamp (System.currentTimeMillis()); + if (dateAcct != null) + { + dateAcct = UseLifeImpl.getDateAcct(dateAcct, 1); + log.fine("DateAcct=" + dateAcct); + setDateAcct(dateAcct); + } + setC_Project(project); + } + + private final POCacheLocal m_cacheCProject = POCacheLocal.newInstance(this, MProject.class); + public MProject getC_Project(boolean requery) + { + return m_cacheCProject.get(requery); + } + private void setC_Project(MProject project) + { + set_Value("C_Project_ID", project.get_ID()); + m_cacheCProject.set(project); + } + //end added by @win + /**IDR + * Construct addition from import + * @param ifa fixed asset import + */ + private MAssetAddition (MIFixedAsset ifa) + { + this(ifa.getCtx(), 0, ifa.get_TrxName()); + log.finest("Entering: ifa=" + ifa); + setAD_Org_ID(ifa.getAD_Org_ID()); + setPostingType(POSTINGTYPE_Actual); + setA_SourceType(A_SOURCETYPE_Imported); + // + setM_Product_ID(ifa.getM_Product_ID()); + setSourceAmt(ifa.getA_Asset_Cost()); + setDateDoc(ifa.getAssetServiceDate()); + setM_Locator_ID(ifa.getM_Locator_ID()); + + boolean isAccmDeprAdjust = (ifa.getA_Accumulated_Depr().compareTo(Env.ZERO) > 0) ? true : false; + setA_Accumulated_Depr_Adjust(isAccmDeprAdjust); + setA_Period_Start(ifa.getA_Current_Period()); + + setA_Accumulated_Depr(ifa.getA_Accumulated_Depr()); + setA_Accumulated_Depr_F(ifa.getA_Accumulated_Depr_F()); + setDeltaUseLifeYears((int)(ifa.getUseLifeMonths() / 12)); + setDeltaUseLifeYears_F((int)(ifa.getUseLifeMonths_F() / 12)); + + setA_CapvsExp(MAssetAddition.A_CAPVSEXP_Capital); //added by zuhri, import must be in Capital + setA_CreateAsset(true); //added by zuhri, import must be create asset + setA_Salvage_Value(ifa.getA_Salvage_Value()); + + Timestamp dateAcct = ifa.getDateAcct(); + if (dateAcct != null) + { + //dateAcct = UseLifeImpl.getDateAcct(dateAcct, 1); //commented by @win -- i don't see why i should add 1 month + log.fine("DateAcct=" + dateAcct); + setDateAcct(dateAcct); + } + setI_FixedAsset(ifa); + } + + /** Match Invoice Cache */ + private final POCacheLocal m_cacheMatchInv = POCacheLocal.newInstance(this, MMatchInv.class); + + /** + * @param requery + * @return + */ + private MMatchInv getMatchInv(boolean requery) + { + return m_cacheMatchInv.get(requery); + } + + private void setM_MatchInv(MMatchInv mi) + { + mi.load(get_TrxName()); + setAD_Org_ID(mi.getAD_Org_ID()); + setPostingType(POSTINGTYPE_Actual); + setA_SourceType(A_SOURCETYPE_Invoice); + setM_MatchInv_ID(mi.get_ID()); + + if (MAssetAddition.A_CAPVSEXP_Capital.equals(mi.getC_InvoiceLine().getA_CapvsExp()) + && mi.getC_InvoiceLine().getA_Asset_ID() == 0) { + setA_CreateAsset(true); + } + + setC_Invoice_ID(mi.getC_InvoiceLine().getC_Invoice_ID()); + setC_InvoiceLine_ID(mi.getC_InvoiceLine_ID()); + setM_InOutLine_ID(mi.getM_InOutLine_ID()); + setM_Product_ID(mi.getM_Product_ID()); + setM_AttributeSetInstance_ID(mi.getM_AttributeSetInstance_ID()); + setA_QTY_Current(mi.getQty()); + setLine(mi.getC_InvoiceLine().getLine()); + setM_Locator_ID(mi.getM_InOutLine().getM_Locator_ID()); + setA_CapvsExp(mi.getC_InvoiceLine().getA_CapvsExp()); + setAssetAmtEntered(mi.getC_InvoiceLine().getLineNetAmt()); + setAssetSourceAmt(mi.getC_InvoiceLine().getLineNetAmt()); + setC_Currency_ID(mi.getC_InvoiceLine().getC_Invoice().getC_Currency_ID()); + setC_ConversionType_ID(mi.getC_InvoiceLine().getC_Invoice().getC_ConversionType_ID()); + setDateDoc(mi.getM_InOutLine().getM_InOut().getMovementDate()); + setDateAcct(mi.getM_InOutLine().getM_InOut().getMovementDate()); + m_cacheMatchInv.set(mi); + } + + /** + * Copy fields from MatchInv+InvoiceLine+InOutLine + * @param model - to copy from + * @param M_MatchInv_ID - matching invoice id + * @param newRecord new object model is created + */ + public static boolean setM_MatchInv(SetGetModel model, int M_MatchInv_ID) + { + boolean newRecord = false; + String trxName = null; + if (model instanceof PO) + { + PO po = (PO)model; + newRecord = po.is_new(); + trxName = po.get_TrxName(); - while (rs.next()){ - //MADepreciationWorkfile asset = new MADepreciationWorkfile (getCtx(), rs.getInt("A_Depreciation_Workfile_ID")); - X_A_Depreciation_Workfile assetwk = new X_A_Depreciation_Workfile (getCtx(), rs, null); - assetwk.setA_Asset_Cost(getAssetValueAmt().add(assetwk.getA_Asset_Cost())); - assetwk.setA_QTY_Current(getA_QTY_Current().add(assetwk.getA_QTY_Current())); - assetwk.saveEx(); - - MAssetChange change = new MAssetChange (getCtx(), 0, null); - change.setA_Asset_ID(p_A_Asset_ID); - change.setA_QTY_Current(getA_QTY_Current()); - change.setChangeType("ADD"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "ADD")); - change.setPostingType(rs.getString("PostingType")); - change.setAssetValueAmt(getAssetValueAmt()); - change.setA_QTY_Current(getA_QTY_Current()); - change.saveEx(); - - MAsset asset = new MAsset (getCtx(), p_A_Asset_ID, null); - asset.setA_QTY_Original(getA_QTY_Current().add(asset.getA_QTY_Original())); - asset.setA_QTY_Current(getA_QTY_Current().add(asset.getA_QTY_Current())); - asset.setProcessing(false); - asset.saveEx(); - } - rs.close(); - pstmt.close(); - pstmt = null; - } - catch (Exception e) + } + + if(CLogMgt.isLevelFine()) s_log.fine("Entering: model=" + model + ", M_MatchInv_ID=" + M_MatchInv_ID + ", newRecord=" + newRecord + ", trxName=" + trxName); + + final String qMatchInv_select = "SELECT" + + " C_Invoice_ID" + + ", C_InvoiceLine_ID" + + ", M_InOutLine_ID" + + ", M_Product_ID" + + ", M_AttributeSetInstance_ID" + + ", Qty AS "+COLUMNNAME_A_QTY_Current + + ", InvoiceLine AS "+COLUMNNAME_Line + + ", M_Locator_ID" + + ", A_CapVsExp" + + ", MatchNetAmt AS "+COLUMNNAME_AssetAmtEntered + + ", MatchNetAmt AS "+COLUMNNAME_AssetSourceAmt + + ", C_Currency_ID" + + ", C_ConversionType_ID" + + ", MovementDate AS "+COLUMNNAME_DateDoc + ; + final String qMatchInv_from = " FROM mb_matchinv WHERE M_MatchInv_ID="; //@win change M_MatchInv_ARH to M_MatchInv + + String query = qMatchInv_select; + if (newRecord) { + query += ", A_Asset_ID, A_CreateAsset"; + } + query += qMatchInv_from + M_MatchInv_ID; + + /* + PreparedStatement pstmt = null; + ResultSet rs = null; + + try + { + pstmt = DB.prepareStatement(query, trxName); + DB.setParameters(pstmt, params); + rs = pstmt.executeQuery(); + updateColumns(models, columnNames, rs); + } + catch (SQLException e) + { + throw new DBException(e, query); + } + finally + { + DB.close(rs, pstmt); + rs = null; pstmt = null; + } + */ + SetGetUtil.updateColumns(model, null, query, trxName); + + if(CLogMgt.isLevelFine()) s_log.fine("Leaving: RETURN TRUE"); + return true; + } + + private final POCacheLocal m_cacheIFixedAsset = POCacheLocal.newInstance(this, MIFixedAsset.class); + public MIFixedAsset getI_FixedAsset(boolean requery) + { + return m_cacheIFixedAsset.get(requery); + } + private void setI_FixedAsset(MIFixedAsset ifa) + { + setI_FixedAsset_ID(ifa.get_ID()); + m_cacheIFixedAsset.set(ifa); + } + + /** + * Sets the AssetValueAmt from AssetSourceAmt using C_Currency_ID and C_ConversionRate_ID + */ + private void setAssetValueAmt() + { + getDateAcct(); + MConversionRateUtil.convertBase(SetGetUtil.wrap(this), + COLUMNNAME_DateAcct, + COLUMNNAME_AssetSourceAmt, + COLUMNNAME_AssetValueAmt, + null); + } + + public void setSourceAmt(BigDecimal amt) + { + setAssetAmtEntered(amt); + setAssetSourceAmt(amt); + } + + /** + * + */ + public void setIsApproved() + { + if(!isProcessed()) + { + String str = Env.getContext(getCtx(), "#IsCanApproveOwnDoc"); + boolean isApproved = "Y".equals(str); //ARHIPAC.toBoolean(str, false); + log.fine("#IsCanApproveOwnDoc=" + str + "=" + isApproved); + setIsApproved(isApproved); + } + } + + + public Timestamp getDateAcct() + { + Timestamp dateAcct = super.getDateAcct(); + if (dateAcct == null) { + dateAcct = getDateDoc(); + setDateAcct(dateAcct); + } + return dateAcct; + } + + + public boolean processIt (String processAction) + { + m_processMsg = null; + DocumentEngine engine = new DocumentEngine (this, getDocStatus()); + return engine.processIt (processAction, getDocAction()); + } // processIt + + /** Process Message */ + private String m_processMsg = null; + /** Just Prepared Flag */ + private boolean m_justPrepared = false; + + + public boolean unlockIt() + { + log.info("unlockIt - " + toString()); + // setProcessing(false); + return true; + } // unlockIt + + + public boolean invalidateIt() + { + log.info("invalidateIt - " + toString()); + return false; + } // invalidateIt + + + public String prepareIt() + { + log.info(toString()); + + // Call model validators + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), MDocType.DOCBASETYPE_GLJournal, getAD_Org_ID()); + + // Check AssetValueAmt != 0 + if (getAssetValueAmt().signum() == 0) { + m_processMsg="@Invalid@ @AssetValueAmt@=0"; + return DocAction.STATUS_Invalid; + } + + MAsset asset = getA_Asset(true); + + // Additions may be made ​​only on sites that depreciates FA + // (WARNING: FA sites scrapped / sold not depreciate) + + /* @win temporary comment as some assets are not depreciated + if(!isA_CreateAsset() && !asset.isDepreciated()) + { + m_processMsg = "@AssetIsNotDepreciating@"; + return DocAction.STATUS_Invalid; + } + */ + + // If new assets (not renewals) must have nonzero values + if (isA_CreateAsset() && hasZeroValues()) + { + throw new AssetException("New document has nulls"); + } + + // Only New assets can be activated + if (isA_CreateAsset() && !MAsset.A_ASSET_STATUS_New.equals(asset.getA_Asset_Status())) + { + throw new AssetException("Only new assets can be activated"); + } + // + // Validate Source - Project + if (A_SOURCETYPE_Project.equals(getA_SourceType())) + { + if (getC_Project_ID() <= 0) { - log.info("getAssets"+ e); + throw new FillMandatoryException(COLUMNNAME_C_Project_ID); } - finally + final String whereClause = COLUMNNAME_C_Project_ID+"=?" + +" AND DocStatus IN ('IP','CO','CL')" + +" AND "+COLUMNNAME_A_Asset_Addition_ID+"<>?"; + List list = new Query(getCtx(), Table_Name, whereClause, get_TrxName()) + .setParameters(new Object[]{getC_Project_ID(), get_ID()}) + .list(); + if (list.size() > 0) { - try + StringBuffer sb = new StringBuffer("You can not create project for this asset," + +" Project already has assets. View: "); + for (MAssetAddition aa : list) { - if (pstmt != null) - pstmt.close (); + sb.append(aa.getDocumentInfo()).append("; "); } - catch (Exception e) - {} - pstmt = null; + throw new AssetException(sb.toString()); } - } - return true; - } // beforeSave + } + + // Call model validators + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + + // Done + m_justPrepared = true; + if (!DOCACTION_Complete.equals(getDocAction())) + setDocAction(DOCACTION_Complete); + return DocAction.STATUS_InProgress; + } // prepareIt + + + public boolean approveIt() + { + log.info("approveIt - " + toString()); + setIsApproved(true); + return true; + } // approveIt + + + public boolean rejectIt() + { + log.info("rejectIt - " + toString()); + setIsApproved(false); + return true; + } // rejectIt + + + public String completeIt() + { + // Re-Check + if (!m_justPrepared) + { + String status = prepareIt(); + if (!DocAction.STATUS_InProgress.equals(status)) + return status; + } + // User Validation + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_COMPLETE); + if (m_processMsg != null) { + return DocAction.STATUS_Invalid; + } + + // Implicit Approval + if (!isApproved()) + approveIt(); + log.info(toString()); + // + + // Check/Create ASI: + checkCreateASI(); + + //loading asset + MAsset asset = getA_Asset(!m_justPrepared); // requery if not just prepared + log.fine("asset=" + asset); + // + // Get/Create Asset Workfile: + // If there Worksheet creates a new file in this asset + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + if (assetwk == null) + { + assetwk = new MDepreciationWorkfile(asset, getPostingType(), null); + } + log.fine("workfile: " + assetwk); + // + // Can not upgrade a previous period + /* + if (!isA_CreateAsset() && assetwk.isDepreciated(getDateAcct())) + { + throw new AssetAlreadyDepreciatedException(); + } + */ + // + // Do we have entries that are not processed and before this date: + if (this.getA_CapvsExp().equals(A_CAPVSEXP_Capital)) { + //@win modification to asset value and use life should be restricted to Capital + MDepreciationExp.checkExistsNotProcessedEntries(assetwk.getCtx(), assetwk.getA_Asset_ID(), getDateAcct(), assetwk.getPostingType(), assetwk.get_TrxName()); + // + if (this.getA_Salvage_Value().signum() > 0) { + assetwk.setA_Salvage_Value(this.getA_Salvage_Value()); + } + assetwk.adjustCost(getAssetValueAmt(), getA_QTY_Current(), isA_CreateAsset()); // reset if isA_CreateAsset + assetwk.adjustUseLife(getDeltaUseLifeYears(), getDeltaUseLifeYears_F(), isA_CreateAsset()); // reset if isA_CreateAsset + assetwk.setDateAcct(getDateAcct()); + assetwk.setProcessed(true); + assetwk.saveEx(); + } + MAssetChange.createAddition(this, assetwk); + + // Setting locator if is CreateAsset + if (isA_CreateAsset() && getM_Locator_ID() > 0) + { + asset.setM_Locator_ID(getM_Locator_ID()); + } + + // Creating/Updating asset product + updateA_Asset_Product(false); + // + // Changing asset status to Activated or Depreciated + if (isA_CreateAsset()) + { + asset.setAssetServiceDate(getDateDoc()); + } + asset.changeStatus(MAsset.A_ASSET_STATUS_Activated, getDateAcct()); + asset.saveEx(); + + //@win set initial depreciation period = 1 + if (isA_CreateAsset() && !isA_Accumulated_Depr_Adjust()) + { + assetwk.setA_Current_Period(1); + assetwk.saveEx(); + } + // + + if (isA_Accumulated_Depr_Adjust()) + { + if (isA_CreateAsset() && isA_Accumulated_Depr_Adjust()) + { + assetwk.setA_Current_Period(getA_Period_Start()); + assetwk.setA_Accumulated_Depr(getA_Accumulated_Depr()); + assetwk.setA_Accumulated_Depr_F(getA_Accumulated_Depr_F()); + assetwk.saveEx(); + } + } + + // Accumulated depreciation (if any): + /* + if (isA_Accumulated_Depr_Adjust()) + { + Collection expenses = MDepreciationExp.createDepreciation(assetwk, + 1, // PeriodNo + getDateAcct(), + getA_Accumulated_Depr(), getA_Accumulated_Depr_F(), + null, // Accum Amt + null, // Accum Amt (F) + null, // Help + null); + for (MDepreciationExp exp : expenses) + { + exp.setA_Asset_Addition_ID(getA_Asset_Addition_ID()); + exp.process(); + } + + if (isA_CreateAsset() && isA_Accumulated_Depr_Adjust()) + { + assetwk.setA_Current_Period(getA_Period_Start()); + assetwk.saveEx(); + } + } + */ + + // Rebuild depreciation: + assetwk.buildDepreciation(); + + // + updateSourceDocument(false); + + // finish + setProcessed(true); + setDocAction(DOCACTION_Close); + // + // User Validation + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE); + if (m_processMsg != null) { + return DocAction.STATUS_Invalid; + } + // + return DocAction.STATUS_Completed; + } // completeIt + + + public boolean voidIt() + { + // Before Void + m_processMsg = ModelValidationEngine.get().fireDocValidate(this,ModelValidator.TIMING_BEFORE_VOID); + if (m_processMsg != null) + return false; + + reverseIt(false); + + // User Validation + String errmsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_VOID); + if (errmsg != null) + { + m_processMsg = errmsg; + return false; + } + + // finish + setProcessed(true); + setDocAction(DOCACTION_None); + return true; + } // voidIt + + private void reverseIt(boolean isReActivate) + { + if (DOCSTATUS_Closed.equals(getDocStatus()) + || DOCSTATUS_Reversed.equals(getDocStatus()) + || DOCSTATUS_Voided.equals(getDocStatus())) + { + setDocAction(DOCACTION_None); + throw new AssetException("Document Closed: " + getDocStatus()); + } + + // Handling Workfile + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + if (assetwk == null) + { + throw new AssetException("@NotFound@ @A_DepreciationWorkfile_ID"); + } + + // TODO: Check if there are Additions after this one + + if (assetwk.isFullyDepreciated()) + { + throw new AssetNotImplementedException("Unable to verify if it is fully depreciated"); + } + + // cannot update a previous period + if (!isA_CreateAsset() && assetwk.isDepreciated(getDateAcct())) + { + throw new AssetAlreadyDepreciatedException(); + } + + // adjust the asset value + assetwk.adjustCost(getAssetValueAmt().negate(), getA_QTY_Current().negate(), false); + assetwk.adjustUseLife(0 - getDeltaUseLifeYears(), 0 - getDeltaUseLifeYears_F(), false); + assetwk.saveEx(); + + // + // Delete Expense Entries that were created by this addition + { + final String whereClause = MDepreciationExp.COLUMNNAME_A_Asset_Addition_ID+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_PostingType+"=?"; + List + list = new Query(getCtx(), MDepreciationExp.Table_Name, whereClause, get_TrxName()) + .setParameters(new Object[]{get_ID(), assetwk.getPostingType()}) + .setOrderBy(MDepreciationExp.COLUMNNAME_DateAcct+" DESC, "+MDepreciationExp.COLUMNNAME_A_Depreciation_Exp_ID+" DESC") + .list(); + for (MDepreciationExp depexp: list) + { + depexp.deleteEx(true); + } + } + // + // Update/Delete working file (after all entries were deleted) + if (isA_CreateAsset()) + { + assetwk.deleteEx(true); + } + else + { + assetwk.setA_Current_Period(); + assetwk.saveEx(); + assetwk.buildDepreciation(); + } + + // Creating/Updating asset product + updateA_Asset_Product(true); + + // Change Asset Status + if (isA_CreateAsset()) + { + MAsset asset = getA_Asset(true); + asset.changeStatus(MAsset.A_ASSET_STATUS_New, getDateAcct()); + //asset.isDepreciated(); + //asset.setIsDepreciated(true); + asset.saveEx(); + + + if (!isReActivate) + { + setA_CreateAsset(false); // reset flag + } + } + + MFactAcct.deleteEx(get_Table_ID(), get_ID(), get_TrxName()); + + updateSourceDocument(true); + } + + + public boolean closeIt() + { + log.info("closeIt - " + toString()); + setDocAction(DOCACTION_None); + return true; + } // closeIt + + + public boolean reverseCorrectIt() + { + throw new AssetNotImplementedException("reverseCorrectIt"); + } // reverseCorrectionIt + + + public boolean reverseAccrualIt() + { + throw new AssetNotImplementedException("reverseAccrualIt"); + } // reverseAccrualIt + + + public boolean reActivateIt() + { + // Before + m_processMsg = ModelValidationEngine.get().fireDocValidate(this,ModelValidator.TIMING_BEFORE_REACTIVATE); + if (m_processMsg != null) + return false; + + reverseIt(true); + + // User Validation + String errmsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_REACTIVATE); + if (errmsg != null) { + m_processMsg = errmsg; + return false; + } + + // finish + setProcessed(false); + setDocAction(DOCACTION_Complete); + return true; + } // reActivateIt + + + public String getSummary() + { + MAsset asset = getA_Asset(false); + StringBuffer sb = new StringBuffer(); + sb.append("@DocumentNo@ #").append(getDocumentNo()) + .append(": @A_CreateAsset@=@").append(isA_CreateAsset() ? "Y" : "N").append("@") + ; + if (asset != null) + { + sb.append(", @A_Asset_ID@=").append(asset.getName()); + } + + return Msg.parseTranslation(getCtx(), sb.toString()); + } // getSummary + + + public String getProcessMsg() + { + return m_processMsg; + } // getProcessMsg + + + public int getDoc_User_ID() + { + return getCreatedBy(); + } // getDoc_User_ID + + + public BigDecimal getApprovalAmt() + { + return getAssetValueAmt(); + } // getApprovalAmt + + + /** Asset Cache */ + private final POCacheLocal m_cacheAsset = POCacheLocal.newInstance(this, MAsset.class); + + /** + * Get Asset + * @param requery + * @return asset + */ + public MAsset getA_Asset(boolean requery) + { + return m_cacheAsset.get(requery); + } + + /** + * Set Asset + * @return asset + */ + private void setA_Asset(MAsset asset) + { + setA_Asset_ID(asset.getA_Asset_ID()); + m_cacheAsset.set(asset); + } // setAsset + + + protected boolean afterSave (boolean newRecord, boolean success) + { + if(!success) + { + return false; + } + updateSourceDocument(false); + return true; + } // afterSave + + /** + * Update Source Document (Invoice, Project etc) Status + * @param isReversal is called from a reversal action (like Void, Reverse-Correct). + * We need this flag because that when we call the method from voidIt() + * the document is not marked as voided yet. Same thing applies for reverseCorrectIt too. + */ + private void updateSourceDocument(final boolean isReversalParam) + { + boolean isReversal = isReversalParam; + // Check if this document is reversed/voided + String docStatus = getDocStatus(); + if (!isReversal && (DOCSTATUS_Reversed.equals(docStatus) || DOCSTATUS_Voided.equals(docStatus))) + { + isReversal = true; + } + final String sourceType = getA_SourceType(); + // + // Invoice: mark C_InvoiceLine.A_Processed='Y' and set C_InvoiceLine.A_Asset_ID + if (A_SOURCETYPE_Invoice.equals(sourceType) && isProcessed()) + { + int C_InvoiceLine_ID = getC_InvoiceLine_ID(); + MInvoiceLine invoiceLine = new MInvoiceLine(getCtx(), C_InvoiceLine_ID, get_TrxName()); + invoiceLine.setA_Processed(!isReversal); + invoiceLine.setA_Asset_ID(isReversal ? 0 : getA_Asset_ID()); + invoiceLine.saveEx(); + } + // + // Project + else if (A_SOURCETYPE_Project.equals(sourceType) && isProcessed()) + { + if (isReversal) + { + // Project remains closed. We just void/reverse/reactivate the Addition + } + else + { + //TODO decide whether to close project first or later + + int project_id = getC_Project_ID(); + ProcessInfo pi = new ProcessInfo("", 0, MProject.Table_ID, project_id); + pi.setAD_Client_ID(getAD_Client_ID()); + pi.setAD_User_ID(Env.getAD_User_ID(getCtx())); + // + ProjectClose proc = new ProjectClose(); + proc.startProcess(getCtx(), pi, Trx.get(get_TrxName(), false)); + if (pi.isError()) + { + throw new AssetException(pi.getSummary()); + } + + } + } + // + // Import + else if (A_SOURCETYPE_Imported.equals(sourceType) && !isProcessed()) + { + if (is_new() && getI_FixedAsset_ID() > 0) + { + MIFixedAsset ifa = getI_FixedAsset(false); + if (ifa != null) + { + ifa.setI_IsImported(true); + ifa.setA_Asset_ID(getA_Asset_ID()); + ifa.saveEx(get_TrxName()); + } + } + } + // + // Manual + else if (A_SOURCETYPE_Manual.equals(sourceType) && isProcessed()) + { + // nothing to do + log.fine("Nothing to do"); + } + } + + /** + * Check/Create ASI for Product (if any). If there is no product, no ASI will be created + */ + private void checkCreateASI() + { + MProduct product = MProduct.get(getCtx(), getM_Product_ID()); + // Check/Create ASI: + MAttributeSetInstance asi = null; + if (product != null && getM_AttributeSetInstance_ID() == 0) + { + asi = new MAttributeSetInstance(getCtx(), 0, get_TrxName()); + asi.setAD_Org_ID(0); + asi.setM_AttributeSet_ID(product.getM_AttributeSet_ID()); + asi.saveEx(); + setM_AttributeSetInstance_ID(asi.getM_AttributeSetInstance_ID()); + } + } + + /** + * Creating/Updating asset product + * @param isReversal + */ + private void updateA_Asset_Product(boolean isReversal) + { + // Skip if no product + if (getM_Product_ID() <= 0) + { + return; + } + // + MAssetProduct assetProduct = MAssetProduct.getCreate(getCtx(), + getA_Asset_ID(), getM_Product_ID(), getM_AttributeSetInstance_ID(), + get_TrxName()); + // + if (assetProduct.get_ID() <= 0 && isReversal) + { + log.warning("No Product found "+this+" [IGNORE]"); + return; + } + // + BigDecimal adjQty = getA_QTY_Current(); + + if (isReversal) + { + adjQty = adjQty.negate(); + } + // + assetProduct.addA_Qty_Current(getA_QTY_Current()); + assetProduct.setAD_Org_ID(getA_Asset().getAD_Org_ID()); + assetProduct.saveEx(); + if (isA_CreateAsset()) + { + MAsset asset = getA_Asset(false); + assetProduct.updateAsset(asset); + asset.saveEx(); + } + } + + public boolean hasZeroValues() + { + return + getDeltaUseLifeYears() <= 0 || getDeltaUseLifeYears_F() <= 0 + || getDeltaUseLifeYears() != getDeltaUseLifeYears_F() || + getAssetValueAmt().signum() <= 0 + ; + } + + + public File createPDF () + { + return null; + } // createPDF + + + public String getDocumentInfo() + { + return getDocumentNo() + " / " + getDateDoc(); + } // getDocumentInfo + + + public String toString() + { + StringBuffer sb = new StringBuffer("@DocumentNo@: " + getDocumentNo()); + MAsset asset = getA_Asset(false); + if(asset != null && asset.get_ID() > 0) + { + sb.append(", @A_Asset_ID@: ").append(asset.getName()); + } + return sb.toString(); + } // toString + + private void setA_CreateAsset() + { + if (DOCSTATUS_Voided.equals(getDocStatus())) + { + setA_CreateAsset(false); + } + else + { + final String sql = "SELECT COUNT(*) FROM A_Asset_Addition WHERE A_Asset_ID=? AND A_CreateAsset='Y'" + +" AND DocStatus<>'VO' AND IsActive='Y'" + +" AND A_Asset_Addition_ID<>?"; + int cnt = DB.getSQLValueEx(null, sql, getA_Asset_ID(), getA_Asset_Addition_ID()); + if(isA_CreateAsset()) + { + // A_CreateAsset='Y' must be unique + if (cnt >= 1) + { + setA_CreateAsset(false); + } + } + else + { + // Succesfull creation of Asset + if (cnt == 0) + { + setA_CreateAsset(true); + } + } + } + } } // MAssetAddition diff --git a/org.adempiere.base/src/org/compiere/model/MAssetChange.java b/org.adempiere.base/src/org/compiere/model/MAssetChange.java index 1dda43a325..d4e6ed2440 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetChange.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetChange.java @@ -1,36 +1,38 @@ /****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * + * The contents of this file are subject to the Compiere License Version 1.1 + * ("License"); You may not use this file except in compliance with the License + * You may obtain a copy of the License at http://www.compiere.org/license.html + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for + * the specific language governing rights and limitations under the License. + * The Original Code is Compiere ERP & CRM Smart Business Solution + * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. + * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts + * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. + * Contributor(s): ______________________________________. *****************************************************************************/ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.model.MRefList; +import org.compiere.model.PO; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; + /** * Asset Addition Model - * + * @author Teo Sarca, SC ARHIPAC SERVICE SRL * */ public class MAssetChange extends X_A_Asset_Change { - /** - * - */ - private static final long serialVersionUID = 5906751299228645904L; - + private static final long serialVersionUID = 1L; + + /** Static Logger */ + private static CLogger s_log = CLogger.getCLogger(MAssetChange.class); + /** * Default Constructor * @param ctx context @@ -39,12 +41,8 @@ public class MAssetChange extends X_A_Asset_Change public MAssetChange (Properties ctx, int A_Asset_Change_ID, String trxName) { super (ctx, A_Asset_Change_ID, trxName); - if (A_Asset_Change_ID == 0) - { - // - - } - } // MAssetAddition + } // MAssetChange + /** * Load Constructor * @param ctx context @@ -61,11 +59,94 @@ public class MAssetChange extends X_A_Asset_Change * @return true */ protected boolean beforeSave (boolean newRecord) - { - if (getA_Reval_Cal_Method() == null) - setA_Reval_Cal_Method("DFT"); + { + String textDetails = getTextDetails(); + if (textDetails == null || textDetails.length() == 0) { + setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , getChangeType())); + } return true; } // beforeSave - -} // MAssetAddition + /** ARHIPAC: TEO: BEGIN ------------------------------------------------------------------ */ + public void setSerno(String value) { setSerNo(value); } + public void setVersionno(String value) { setVersionNo(value); } + public void setAd_User_ID(int value) { setAD_User_ID(value); } + + public static MAssetChange createAddition(MAssetAddition assetAdd, MDepreciationWorkfile assetwk) { + MAssetChange change = new MAssetChange (assetAdd.getCtx(), 0, assetAdd.get_TrxName()); + change.setAD_Org_ID(assetAdd.getAD_Org_ID()); //@win added + change.setA_Asset_ID(assetAdd.getA_Asset_ID()); + change.setA_QTY_Current(assetAdd.getA_QTY_Current()); + change.setChangeType("ADD"); + change.setTextDetails(MRefList.getListDescription (assetAdd.getCtx(),"A_Update_Type" , "ADD")); + change.setPostingType(assetwk.getPostingType()); + change.setAssetValueAmt(assetAdd.getAssetValueAmt()); + change.setA_QTY_Current(assetAdd.getA_QTY_Current()); + change.saveEx(); + + return change; + } + + public static MAssetChange create(Properties ctx, String changeType, PO[] pos, String trxName) { + return create(ctx, changeType, pos, false, trxName); + } + + /** + * TODO + * @param ctx + * @param changeType + * @param pos + * @param trxName + * @return + */ + public static MAssetChange createAndSave(Properties ctx, String changeType, PO[] pos, String trxName) { + return null; + //~ return create(ctx, changeType, pos, true, trxName); + } + + public static MAssetChange create(Properties ctx, String changeType, PO[] pos, boolean save, String trxName) { + s_log.fine("Entering: changeType=" + changeType); + if (pos == null || pos.length == 0) { + s_log.fine("Entering/Leaving: POs is empty"); + return null; + } + MAssetChange change = new MAssetChange (ctx, 0, trxName); + change.setChangeType(changeType); + for (PO po : pos) { + change.addChanges(po); + } + if (save) { + change.saveEx(); + } + // + s_log.fine("Leaving: change=" + change); + return change; + } + + public void addChanges(PO po) { + if(CLogMgt.isLevelFine()) log.fine("Entering: po=" + po); + if (po == null) { + return; + } + /* arhipac: teo_sarca: TODO need to integrate + for(int idx = 0; idx < po.get_ColumnCount_P(); idx++) { + //~ if(!po.is_ValueChanged(idx)) { + //~ continue; + //~ } + String colName = po.get_ColumnName_P(idx); + int idx2 = get_ColumnIndex(colName); + if(idx2 < 0) { + if(CLogMgt.isLevelFine()) log.fine("Setting " + colName + ": SKIP (idx2 < 0)"); + continue; + } + + Object value = po.get_Value(idx2); + set_Value(colName, value); + if(CLogMgt.isLevelFine()) log.fine("Setting " + colName + "=" + value + " (from " + po.getClass() + ", idx=" + idx + ", idx2=" + idx2 + ")"); + } + */ + // + if(CLogMgt.isLevelFine()) log.fine("Leaving: po=" + po); + } + /** ARHIPAC: TEO: END ------------------------------------------------------------------ */ +} // MAssetChange \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/MAssetClass.java b/org.adempiere.base/src/org/compiere/model/MAssetClass.java new file mode 100644 index 0000000000..5efa563129 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MAssetClass.java @@ -0,0 +1,210 @@ +package org.compiere.model; + +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Calendar; +import java.util.Properties; + +import org.compiere.model.Query; +import org.compiere.util.CCache; +import org.compiere.util.CLogMgt; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; +import org.idempiere.fa.feature.UseLifeImpl; + +/** Asset Class + * @author Teo Sarca, SC Arhipac SRL + * @version $Id$ + */ +public class MAssetClass extends X_A_Asset_Class +{ + /** + * + */ + public MAssetClass(Properties ctx, int A_Asset_Class_ID, String trxName) + { + super (ctx, A_Asset_Class_ID, trxName); + } // MAssetClass + + /** + * Load Constructor + * @param ctx context + * @param rs result set record + */ + public MAssetClass (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MAssetClass + + /** */ + private static CCache s_cache = new CCache("A_Asset_Class", 20); + + /** Get Asset Class from cache + * @param ctx context + * @param id A_Asset_Class_ID + * @return MAssetClass or null if not found + */ + public static MAssetClass get(Properties ctx, int id) { + if (id <= 0) { + return null; + } + + MAssetClass assetClass = s_cache.get(id); + if (assetClass == null) { + assetClass = new MAssetClass(ctx, id, null); + } + if (assetClass.get_ID() != id) { + return null; + } + s_cache.put(id, assetClass); + return assetClass; + } // get + + /** + * + */ + public static MAssetClass get(Properties ctx, String value) + { + // TODO: maybe logging + final String whereClause = "UPPER(Value)=UPPER(?) AND AD_Client_ID IN (0,?)"; + return new Query(ctx, Table_Name, whereClause, null) + .setParameters(new Object[]{value, Env.getAD_Client_ID(ctx)}) + .setOrderBy("AD_Client_ID DESC") + .firstOnly(); + } // get + + /** + * + */ + public void setDescription() { + StringBuffer description = new StringBuffer(); + String value = getValue(); + if (value != null) { + description.append(value).append(" "); + } + + String name = getName(); + if (name != null) { + description.append(name); + } + super.setDescription(description.toString()); + } + + /** + * + */ + public void setLevels() { + setMFX_Grupa(0); + setMFX_SubGrupa(0); + setMFX_Clasa(0); + setMFX_SubClasa(0); + + String value = getValue(); + if (value == null || value.length() == 0) + return; + + String[] arr = value.split("\\."); + try { + if (arr.length >= 1) + setMFX_Grupa(Integer.valueOf(arr[0])); + if (arr.length >= 2) + setMFX_SubGrupa(Integer.valueOf(arr[1])); + if (arr.length >= 3) + setMFX_Clasa(Integer.valueOf(arr[2])); + if (arr.length >= 4) + setMFX_SubClasa(Integer.valueOf(arr[3])); + } catch (NumberFormatException e) { + log.warning("@Error@ @Value@=" + value); + } + } + + /** + * + */ + public int getA_Life_Period_Min(Timestamp serviceDate) { + Calendar cal = TimeUtil.getCalendar(serviceDate); + if (cal.get(Calendar.YEAR) >= 2004) { + return getA_Life_Period_Min(); + } + else { + return getA_Life_Period_2004(); + } + } + + /** Validate */ + public String validate(boolean saveError, int A_Life_Period, Timestamp serviceDate) { + log.fine("Entering"); + int A_Life_Period_Min = 0; + int A_Life_Period_Max = 1000000; + Calendar cal = TimeUtil.getCalendar(serviceDate); + if (cal.get(Calendar.YEAR) >= 2004) { + A_Life_Period_Min = getA_Life_Period_Min(); + A_Life_Period_Max = getA_Life_Period_Max(); + } + else { + A_Life_Period_Min = getA_Life_Period_2004(); + A_Life_Period_Max = getA_Life_Period_2004(); + } + // logging: + if (CLogMgt.isLevelFine()) { + log.fine("serviceDate=" + serviceDate + ", A_Life_Period_Min=" + A_Life_Period_Min + ", A_Life_Period_Max=" + A_Life_Period_Max + ", A_Life_Period=" + A_Life_Period); + } + + + if (A_Life_Period < A_Life_Period_Min || A_Life_Period > A_Life_Period_Max) { + String errmsg = "@UseLifeMonths@=" + A_Life_Period + " @NotBetween@ " + A_Life_Period_Min + " - " + A_Life_Period_Max; + if (saveError) { + log.saveError("Error", errmsg); + } + if(CLogMgt.isLevelFine()) { + log.fine("Leaving: " + errmsg); + Thread.dumpStack(); + } + return errmsg; + } + + log.fine("Leaving: OK!"); + return ""; + } + + /** Validate UseLifeImpl model + */ + public boolean validate(UseLifeImpl asset) { + if(CLogMgt.isLevelFine()) log.fine("Entering: UseLifeImpl=" + asset); + + if (!asset.isFiscal()) { + log.fine("Leaving: fiscal=false [RETURN TRUE]"); + return true; + } + else { + log.fine("asset is fiscal"); + } + + int A_Life_Period = asset.getUseLifeMonths(); + Timestamp serviceDate = asset.getAssetServiceDate(); + String errmsg = validate(true, A_Life_Period, serviceDate); + boolean ok = (errmsg == null || errmsg.length() == 0); + + log.fine("Leaving: ok=" + ok); + return ok; + } + + /** Depreciated check + * + */ + public boolean isDepreciated() { + return !(getA_Life_Period_Min() == 0 && getA_Life_Period_Max() ==0); + } + + /** + * + */ + public boolean beforeSave (boolean newRecord) { + setDescription(); + if (is_ValueChanged("Value")) { + setValue(getValue().trim()); + setLevels(); + } + return true; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java b/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java new file mode 100644 index 0000000000..aad9c688a4 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java @@ -0,0 +1,428 @@ +package org.compiere.model; + +import java.io.File; +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.sql.ResultSet; +import java.util.List; +import java.util.Properties; + +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.Env; +import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; +import org.idempiere.fa.exceptions.AssetNotImplementedException; +import org.idempiere.fa.exceptions.AssetNotSupportedException; +import org.idempiere.fa.exceptions.AssetStatusChangedException; +import org.idempiere.fa.util.POCacheLocal; + + + +/** + * Asset Disposal Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class MAssetDisposed extends X_A_Asset_Disposed +implements DocAction +{ + /** + * + */ + private static final long serialVersionUID = 1763997880662445638L; + + public MAssetDisposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) + { + super (ctx, A_Asset_Disposed_ID, trxName); + if (A_Asset_Disposed_ID == 0) + { + setProcessed (false); + setProcessing (false); + } + + } + + //@win: autocreate asset disposal from ar invoice + public static MAssetDisposed createAssetDisposed (MInvoiceLine invLine) { + MAssetDisposed assetDisposed = new MAssetDisposed(invLine); + assetDisposed.dump(); + return assetDisposed; + } + + private MAssetDisposed (MInvoiceLine invLine) { + this(invLine.getCtx(),0,invLine.get_TrxName()); + log.finest("Entering: Project=" + invLine); + setAD_Org_ID(invLine.getAD_Org_ID()); + setPostingType(POSTINGTYPE_Actual); + setDateDoc(invLine.getC_Invoice().getDateInvoiced()); + setDateAcct(invLine.getC_Invoice().getDateInvoiced()); + setA_Disposed_Date(invLine.getC_Invoice().getDateInvoiced()); + setA_Disposed_Method(A_DISPOSED_METHOD_Trade); + setA_Asset_ID(invLine.getA_Asset_ID()); + set_ValueNoCheck("C_Invoice_ID", invLine.getC_Invoice_ID()); + setM_InvoiceLine(invLine); + saveEx(invLine.get_TrxName()); + } + + private final POCacheLocal m_cacheInvoiceLine = POCacheLocal.newInstance(this, MInvoiceLine.class); + public MInvoiceLine getM_InvoiceLine(boolean requery) + { + return m_cacheInvoiceLine.get(requery); + } + private void setM_InvoiceLine(MInvoiceLine invLine) + { + set_Value("C_InvoiceLine_ID", invLine.get_ID()); + m_cacheInvoiceLine.set(invLine); + } + //end @win: autocreate asset disposal from ar invoice + + public MAssetDisposed (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + public MAsset getAsset() + { + return MAsset.get(getCtx(), getA_Asset_ID(), null); + } + + + public boolean processIt (String processAction) + { + m_processMsg = null; + DocumentEngine engine = new DocumentEngine (this, getDocStatus()); + return engine.processIt (processAction, getDocAction()); + } // processIt + + /** Process Message */ + private String m_processMsg = null; + /** Just Prepared Flag */ + private boolean m_justPrepared = false; + + + public boolean unlockIt() + { + setProcessing(false); + return true; + } // unlockIt + + + public boolean invalidateIt() + { + return false; + } // invalidateIt + + + public String prepareIt() + { + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), MDocType.DOCBASETYPE_GLDocument, getAD_Org_ID()); + + //saveEx() //commented by @win + updateFromAsset(this); + saveEx(get_TrxName()); //added by @win + if (is_Changed()) + { + throw new AssetStatusChangedException(); + } + + // Check that the FA is not just depreciated + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + if (assetwk.isDepreciated(getDateAcct())) + { + throw new AssetAlreadyDepreciatedException(); + } + MDepreciationExp.checkExistsNotProcessedEntries(getCtx(), getA_Asset_ID(), getDateAcct(), getPostingType(), get_TrxName()); + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + // + m_justPrepared = true; + setDocAction(DOCACTION_Complete); + return DocAction.STATUS_InProgress; + } // prepareIt + + + public boolean approveIt() + { + log.info("approveIt - " + toString()); + setIsApproved(true); + return true; + } // approveIt + + + public boolean rejectIt() + { + log.info("rejectIt - " + toString()); + setIsApproved(false); + return true; + } // rejectIt + + + public String completeIt() + { + // Re-Check + if (!m_justPrepared) + { + String status = prepareIt(); + if (!DocAction.STATUS_InProgress.equals(status)) + return status; + } + + String valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_COMPLETE); + if (valid != null) + { + m_processMsg = valid; + return DocAction.STATUS_Invalid; + } + + // Implicit Approval + if (!isApproved()) + approveIt(); + log.info(toString()); + // + + //loading asset + MAsset asset = getAsset(); + log.fine("asset=" + asset); + + // Activation + if(!isDisposal()) + { + String method = getA_Activation_Method(); + if(method.equals(A_ACTIVATION_METHOD_Activation)) + { // reactivation + asset.changeStatus(MAsset.A_ASSET_STATUS_Activated, getDateDoc()); + } + else + { + throw new AssetNotSupportedException(COLUMNNAME_A_Activation_Method, method); + } + } + // Preservation/Partial Retirement/etc + else + { + String method = getA_Disposed_Method(); + if (A_DISPOSED_METHOD_Preservation.equals(method)) + { + asset.changeStatus(MAsset.A_ASSET_STATUS_Preservation, getDateDoc()); + } + else if (A_DISPOSED_METHOD_Simple.equals(method) + || A_DISPOSED_METHOD_Trade.equals(method) + ) + { + asset.changeStatus(MAsset.A_ASSET_STATUS_Disposed, null); + setA_Disposal_Amt(getA_Asset_Cost()); + setA_Accumulated_Depr_Delta(getA_Accumulated_Depr()); + setExpense(getA_Disposal_Amt().subtract(getA_Accumulated_Depr_Delta())); + createDisposal(); + } + else if (A_DISPOSED_METHOD_PartialRetirement.equals(method)) + { + createDisposal(); + } + else + { + throw new AssetNotSupportedException(COLUMNNAME_A_Disposed_Method, method); + } + } + + asset.saveEx(get_TrxName()); + + + // User Validation + valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE); + if (valid != null) + { + m_processMsg = valid; + return DocAction.STATUS_Invalid; + } + + // Done + setProcessed(true); + setDocAction(DOCACTION_Close); + return DocAction.STATUS_Completed; + } // completeIt + + + public boolean voidIt() + { + throw new AssetNotImplementedException(""); + } // voidIt + + + public boolean closeIt() + { + setDocAction(DOCACTION_None); + return true; + } // closeIt + + + public boolean reverseCorrectIt() + { + throw new AssetNotImplementedException(""); + } // reverseCorrectionIt + + + public boolean reverseAccrualIt() + { + throw new AssetNotImplementedException(""); + } + + + public boolean reActivateIt() + { + throw new AssetNotImplementedException(""); + } + + + + public String getSummary() + { + return new StringBuffer() + .append(getDocumentNo()).append("/").append(getDateDoc()) + .toString(); + } + + + public String getProcessMsg() + { + return m_processMsg; + } // getProcessMsg + + + public int getDoc_User_ID() + { + return getCreatedBy(); + } + + + public BigDecimal getApprovalAmt() + { + return Env.ZERO; + } + + + public int getC_Currency_ID() + { + return MClient.get(getCtx(), getAD_Client_ID()).getAcctSchema().getC_Currency_ID(); + } + + + protected boolean beforeSave (boolean newRecord) + { + if (getDateAcct() == null) + { + setDateAcct(getDateDoc()); + } + if (newRecord || is_ValueChanged(COLUMNNAME_DateAcct)) + { + setC_Period_ID(MPeriod.get(getCtx(), getDateAcct(), getAD_Org_ID()).get_ID()); + } + if (getA_Disposed_Date() == null) + { + setA_Disposed_Date(getDateAcct()); + } + /* commented by @win - asset type + if (!MAssetType.isFixedAsset(getA_Asset_ID())) + { + throw new AssetException("This is not a Fixed Asset!"); + } + */ + return true; + } + + /** + * Copy fields from A_Asset + * @param model + * @param A_Asset_ID + */ + public static void updateFromAsset(I_A_Asset_Disposed bean) + { + int asset_id = bean.getA_Asset_ID(); + SetGetUtil.copyValues( + SetGetUtil.wrap(bean), + MAsset.Table_Name, asset_id, + new String[] { + MAsset.COLUMNNAME_IsDisposed, + MAsset.COLUMNNAME_A_Asset_Status, + "AD_Org_ID", + } + ); + + MDepreciationWorkfile wk = MDepreciationWorkfile.get(Env.getCtx(), asset_id, bean.getPostingType(), null); + if (wk != null) + { + bean.setA_Asset_Cost(wk.getA_Asset_Cost()); + bean.setA_Accumulated_Depr(wk.getA_Accumulated_Depr()); + } + else + { + bean.setA_Asset_Cost(Env.ZERO); + bean.setA_Accumulated_Depr(Env.ZERO); + } + } + + + public File createPDF () + { + return null; + } // createPDF + + + public String getDocumentInfo() + { + return getDocumentNo(); + } // getDocumentInfo + + /** + * Check if this is a disposal (if the asset is not disposed) + * @return true if is disposal + */ + public boolean isDisposal() + { + return !isDisposed(); + } + + public static void setA_Disposal_Amt(I_A_Asset_Disposed bean) + { + int precision = 2; + BigDecimal A_Asset_Cost = bean.getA_Asset_Cost(); + BigDecimal A_Disposal_Amt = bean.getA_Disposal_Amt(); + BigDecimal coef = Env.ZERO; + if (A_Asset_Cost.signum() != 0) + { + coef = A_Disposal_Amt.divide(A_Asset_Cost, 12, RoundingMode.HALF_UP); + } + // + BigDecimal A_Accumulated_Depr = bean.getA_Accumulated_Depr(); + BigDecimal A_Accumulated_Depr_Delta = A_Accumulated_Depr.multiply(coef).setScale(precision, RoundingMode.HALF_UP); + BigDecimal Expense = A_Disposal_Amt.subtract(A_Accumulated_Depr_Delta); + // + bean.setA_Accumulated_Depr_Delta(A_Accumulated_Depr_Delta); + bean.setExpense(Expense); + } + + private void createDisposal() + { + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + assetwk.adjustCost(getA_Disposal_Amt().negate(), Env.ZERO, false); + assetwk.adjustAccumulatedDepr(getA_Accumulated_Depr_Delta().negate(), getA_Accumulated_Depr_Delta().negate(), false); + assetwk.saveEx(); + assetwk.buildDepreciation(); + // + // Delete not processed expense entries + List list = MDepreciationExp.getNotProcessedEntries(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + for (MDepreciationExp ex : list) + { + ex.deleteEx(false); + } + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MAssetGroup.java b/org.adempiere.base/src/org/compiere/model/MAssetGroup.java index 2a784e32f8..422b6ece9a 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetGroup.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetGroup.java @@ -1,86 +1,169 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.CCache; +import org.compiere.util.DB; /** - * Asset Group Model - * - * @author Jorg Janke - * @version $Id: MAssetGroup.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $ + * Asset Group Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ public class MAssetGroup extends X_A_Asset_Group { + private static final long serialVersionUID = 1L; + + /** Cache: ID -> MAssetGroup */ + private static CCache s_cache = new CCache(Table_Name, 10, 0); + /** - * - */ - private static final long serialVersionUID = 1364948077775028283L; - - /** - * Get from Cache + * Default Constructor * @param ctx context - * @param A_Asset_Group_ID id - * @return category - */ - public static MAssetGroup get (Properties ctx, int A_Asset_Group_ID) - { - Integer ii = new Integer (A_Asset_Group_ID); - MAssetGroup pc = (MAssetGroup)s_cache.get(ii); - if (pc == null) - pc = new MAssetGroup (ctx, A_Asset_Group_ID, null); - return pc; - } // get - - /** Categopry Cache */ - private static CCache s_cache = new CCache ("A_Asset_Group", 10); - - /** - * Standard Constructor - * @param ctx context - * @param A_Asset_Group_ID id - * @param trxName trx + * @param A_Asset_Group_ID */ public MAssetGroup (Properties ctx, int A_Asset_Group_ID, String trxName) { - super (ctx, A_Asset_Group_ID, trxName); - if (A_Asset_Group_ID == 0) - { - // setName (null); - setIsDepreciated (false); - setIsOneAssetPerUOM (false); - setIsOwned (false); - setIsCreateAsActive(true); - setIsTrackIssues(false); - } + super (ctx,A_Asset_Group_ID, trxName); } // MAssetGroup - + /** - * Load Cosntructor + * Load Constructor * @param ctx context * @param rs result set - * @param trxName trx */ public MAssetGroup (Properties ctx, ResultSet rs, String trxName) { - super (ctx, rs, trxName); + super (ctx, rs, trxName); } // MAssetGroup + /** + * Get Asset Group [CACHE] + * @param ctx context + * @param A_Asset_Group_ID asset group id + * @return asset group or null + */ + public static MAssetGroup get(Properties ctx, int A_Asset_Group_ID) + { + if (A_Asset_Group_ID <= 0) + return null; + // Try cache + MAssetGroup ag = s_cache.get(A_Asset_Group_ID); + if (ag != null) + return ag; + // Load + ag = new MAssetGroup(ctx, A_Asset_Group_ID, null); + if (ag != null && ag.get_ID() != A_Asset_Group_ID) + ag = null; + // + return ag; + } + + /** + * Get default asset group ID for given model. + * WARNING: trxName = null. + * @param m reference model (used to get AD_Client_ID) + * @return default asset group ID or 0 if not found + */ + public static int getDefault_ID(SetGetModel m) + { + int AD_Client_ID = SetGetUtil.get_AttrValueAsInt(m, "AD_Client_ID"); + /* commented by @win + int A_AssetType_ID = SetGetUtil.get_AttrValueAsInt(m, MAssetType.COLUMNNAME_A_Asset_Type_ID); + */ + final String sql = "SELECT "+COLUMNNAME_A_Asset_Group_ID + + " FROM "+Table_Name + + " WHERE AD_Client_ID=?" + // + " AND NVL("+COLUMNNAME_A_Asset_Type_ID+",0) IN (0,?)" //commented by @win + + " ORDER BY "+COLUMNNAME_IsDefault+" DESC" + +", "+COLUMNNAME_A_Asset_Group_ID+" ASC" // default first, older first + ; + /* modify by @win + int id = DB.getSQLValueEx(null, sql, AD_Client_ID, A_AssetType_ID); + */ + int id = DB.getSQLValueEx(null, sql, AD_Client_ID); + // modify by @win + + return id; + } + + /** + * Update Asset + * - updates asset M_AssetGroup_ID if is null + */ + public static void updateAsset(SetGetModel m, int A_Asset_Group_ID) + { + /* commented by @win + int i = (Integer) m.get_AttrValue(MAsset.COLUMNNAME_A_Asset_Type_ID); + MAssetType type = MAssetType.get(m.getCtx(), m.get_AttrValue(MAsset.COLUMNNAME_A_Asset_Type_ID)); + if (type == null) + return; + + if (A_Asset_Group_ID > 0) + { + if (!type.isFixedAsset()) + { + return; + } + MAssetGroup assetGrp = MAssetGroup.get(m.getCtx(), A_Asset_Group_ID); + int A_Asset_Class_ID = assetGrp.getA_Asset_Class_ID(); + if (A_Asset_Class_ID > 0) + { + m.set_AttrValue(MAsset.COLUMNNAME_A_Asset_Class_ID, A_Asset_Class_ID); + } + } + else + { + A_Asset_Group_ID = MAssetGroup.getDefault_ID(SetGetUtil.wrap(m)); + m.set_AttrValue(MAsset.COLUMNNAME_A_Asset_Group_ID, A_Asset_Group_ID); + } + */ + if (A_Asset_Group_ID < 0) { + A_Asset_Group_ID = MAssetGroup.getDefault_ID(SetGetUtil.wrap(m)); + m.set_AttrValue(MAsset.COLUMNNAME_A_Asset_Group_ID, A_Asset_Group_ID); + } + + //end modify by @win + } + + + protected boolean beforeSave (boolean newRecord) + { + /* commented by @win + MAssetType type = MAssetType.get(getCtx(), getA_Asset_Type_ID()); + if (type != null) + { + type.update(SetGetUtil.wrap(this), newRecord == true); + } + */ + //end commented by @win + + return true; + } + + + protected boolean afterSave (boolean newRecord, boolean success) + { + if(!success) + { + return false; + } + // + if (newRecord) + { + // If this is not the default group, then copy accounting settings from default group + int default_id = getDefault_ID(SetGetUtil.wrap(this)); + if (default_id > 0 && default_id != get_ID()) + { + for (MAssetGroupAcct acct : MAssetGroupAcct.forA_Asset_Group_ID(getCtx(), default_id)) + { + MAssetGroupAcct newAcct = acct.copy(this); + newAcct.saveEx(get_TrxName()); + } + } + } + // + return true; + } } // MAssetGroup + diff --git a/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java b/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java index 2714974b14..6bfc1750d7 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java @@ -1,48 +1,54 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ package org.compiere.model; import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.List; import java.util.Properties; +import org.compiere.model.Query; +import org.idempiere.fa.feature.UseLife; +import org.idempiere.fa.feature.UseLifeImpl; + /** - * Asset Addition Model - * - * + * Asset Group Accounting Model + * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ public class MAssetGroupAcct extends X_A_Asset_Group_Acct + implements UseLife { + private static final long serialVersionUID = 1L; + /** - * + * Get Asset Group Accountings for given group */ - private static final long serialVersionUID = 1097065220838511473L; + public static List forA_Asset_Group_ID(Properties ctx, int A_Asset_Group_ID) + { + return new Query(ctx, Table_Name, COLUMNNAME_A_Asset_Group_ID+"=?", null) + .setParameters(new Object[]{A_Asset_Group_ID}) + .list(); + } + + /** + * Get Asset Group Accountings for given group + */ + public static MAssetGroupAcct forA_Asset_Group_ID(Properties ctx, int A_Asset_Group_ID, String postingType) + { + final String whereClause = COLUMNNAME_A_Asset_Group_ID+"=? AND "+COLUMNNAME_PostingType+"=?"; + return new Query(ctx, Table_Name, whereClause, null) + .setParameters(new Object[]{A_Asset_Group_ID, postingType}) + .firstOnly(); + } + /** * Default ConstructorX_A_Asset_Group_Acct * @param ctx context - * @param M_InventoryLine_ID line + * @param X_A_Asset_Group_Acct_ID id */ public MAssetGroupAcct (Properties ctx, int X_A_Asset_Group_Acct_ID, String trxName) { super (ctx,X_A_Asset_Group_Acct_ID, trxName); - if (X_A_Asset_Group_Acct_ID == 0) - { - // - } - } // MAssetAddition + } // MAssetGroupAcct + /** * Load Constructor * @param ctx context @@ -51,9 +57,81 @@ public class MAssetGroupAcct extends X_A_Asset_Group_Acct public MAssetGroupAcct (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); - } // MInventoryLine + } // MAssetGroupAcct + + /** Asset Group */ + private MAssetGroup m_parent = null; + + /** + * Get Asset Group + */ + public MAssetGroup getParent() + { + if (m_parent == null) + { + int A_Asset_Group_ID = getA_Asset_Group_ID(); + if (is_new()) + { + m_parent = new MAssetGroup(getCtx(), A_Asset_Group_ID, get_TrxName()); + } + else + { + m_parent = MAssetGroup.get(getCtx(), A_Asset_Group_ID); + } + } + return m_parent; + } + + /* commented by @win + public int getA_Asset_Class_ID() + { + return getParent().getA_Asset_Class_ID(); + } + */ + + public Timestamp getAssetServiceDate() + { + return null; + } + + /** + * Clone this object, using specified group + * @param grp the new asset group + * @return new asset group accounting (NOTE: it's not saved) + */ + public MAssetGroupAcct copy(MAssetGroup grp) + { + MAssetGroupAcct newAcct = new MAssetGroupAcct(grp.getCtx(), 0, grp.get_TrxName()); + copyValues(this, newAcct, grp.getAD_Client_ID(), grp.getAD_Org_ID()); + newAcct.setA_Asset_Group_ID(grp.getA_Asset_Group_ID()); + return newAcct; + } - - - -} // MAssetAddition + public boolean beforeSave(boolean newRecord) + { + if (! UseLifeImpl.get(this).validate()) + { + return false; + } + return true; + } + + public boolean set_AttrValue(String ColumnName, Object value) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return false; + return set_ValueNoCheck(ColumnName, value); + } + public Object get_AttrValue(String ColumnName) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return null; + return get_Value(index); + } + public boolean is_AttrValueChanged(String ColumnName) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return false; + return is_ValueChanged(index); + } +} // MAssetGroupAcct diff --git a/org.adempiere.base/src/org/compiere/model/MAssetProduct.java b/org.adempiere.base/src/org/compiere/model/MAssetProduct.java new file mode 100644 index 0000000000..8c5a15e56f --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MAssetProduct.java @@ -0,0 +1,93 @@ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.model.Query; + +/** + * Asset Product + * @author Teo Sarca, SC ARHIPAC SERIVCE SRL + */ +public class MAssetProduct extends X_A_Asset_Product +{ + private static final long serialVersionUID = 1L; + + /** Standard Constructor */ + public MAssetProduct (Properties ctx, int A_Asset_Product_ID, String trxName) + { + super (ctx, A_Asset_Product_ID, trxName); + } + + /** Load Constructor */ + public MAssetProduct (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** + * Set product and ASI + * @param M_Product_ID + * @param M_ASI_ID + */ + public void setProduct(int M_Product_ID, int M_ASI_ID) + { + setM_Product_ID(M_Product_ID); + setM_AttributeSetInstance_ID(M_ASI_ID); + } + + /** + * Get/Create Asset Product. + * Doesn't save newly create one. + * @param ctx + * @param A_Asset_ID + * @param M_Product_ID + * @param M_ASI_ID + * @param trxName + * @return MAssetProduct + */ + public static MAssetProduct getCreate(Properties ctx, + int A_Asset_ID, int M_Product_ID, int M_ASI_ID, + String trxName) + { + if (M_Product_ID <= 0) { + return null; + } + final String whereClause = COLUMNNAME_A_Asset_ID + "=?" + + " AND " + COLUMNNAME_M_Product_ID + "=?" + + " AND " + COLUMNNAME_M_AttributeSetInstance_ID + "=?"; + MAssetProduct ap = new Query(ctx, MAssetProduct.Table_Name, whereClause, trxName) + .setParameters(new Object[]{A_Asset_ID, M_Product_ID, M_ASI_ID}) + .firstOnly(); + // If found, return + if (ap != null) + return ap; + + // Create new + ap = new MAssetProduct(ctx, 0, trxName); + ap.setA_Asset_ID(A_Asset_ID); + ap.setProduct(M_Product_ID, M_ASI_ID); + + return ap; + } // get + + /** + * Add given qty to current qty + * @param qty + */ + public void addA_Qty_Current(BigDecimal qty) + { + setA_QTY_Current(getA_QTY_Current().add(qty)); + } + + /** + * Update given asset. + * Note: does not save asset + */ + public void updateAsset(MAsset asset) + { + asset.setM_Product_ID(getM_Product_ID()); + asset.setM_AttributeSetInstance_ID(getM_AttributeSetInstance_ID()); + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MAssetReval.java b/org.adempiere.base/src/org/compiere/model/MAssetReval.java new file mode 100644 index 0000000000..2241df3cf5 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MAssetReval.java @@ -0,0 +1,258 @@ +/** + * + */ +package org.compiere.model; + +import java.io.File; +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MDocType; +import org.compiere.model.MPeriod; +import org.compiere.model.ModelValidationEngine; +import org.compiere.model.ModelValidator; +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; + + +/** + * @author Anca Bradau www.arhipac.ro + * + */ +public class MAssetReval extends X_A_Asset_Reval +implements DocAction +{ + private static final long serialVersionUID = 1L; + + private boolean m_justPrepared = false; + + public MAssetReval(Properties ctx, int X_A_Asset_Reval_ID, String trxName) + { + super(ctx, X_A_Asset_Reval_ID, trxName); + if (X_A_Asset_Reval_ID == 0) + { + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); + } + } + public MAssetReval(Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + public boolean approveIt() + { + return false; + } + + public boolean closeIt() { + setDocAction(DOCACTION_None); + return true; + } + + public String prepareIt() + { + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + // test if period is open + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), MDocType.DOCBASETYPE_GLJournal, getAD_Org_ID()); + + // test if asset is already Depreciated + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType()); + + if (!assetwk.isDepreciated(getDateAcct())) + { + throw new AdempiereException("Asset is not depreciated at this moment"); + + } + + // test if Asset Cost and Accumulated Depreciation are changed + if (assetwk.getA_Asset_Cost().equals(getA_Asset_Cost_Change()) + && assetwk.getA_Accumulated_Depr().equals(getA_Change_Acumulated_Depr())) + { + throw new AdempiereException("Nothing has changed"); + } + + //test if Asset Cost is changed + if (assetwk.getA_Asset_Cost().equals(getA_Asset_Cost_Change()) + && !assetwk.getA_Accumulated_Depr().equals(getA_Change_Acumulated_Depr())) + { + throw new AdempiereException("It has changed the cost of Asset"); + } + + // test if Accumulated depreciation is changed + if (!assetwk.getA_Asset_Cost().equals(getA_Asset_Cost_Change()) + && assetwk.getA_Accumulated_Depr().equals(getA_Change_Acumulated_Depr())) + { + throw new AdempiereException("It has changed the cumulative depreciation"); + } + + if (!isLastDepreciated(getDateAcct())) + { + throw new AdempiereException("It can only review the last month processed"); + } + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE); + if (m_processMsg != null) + return DocAction.STATUS_Invalid; + + m_justPrepared = true; + if (!DOCACTION_Complete.equals(getDocAction())) + setDocAction(DOCACTION_Complete); + return DocAction.STATUS_InProgress; + } + //return true if is last record depreciated + public boolean isLastDepreciated(Timestamp date) + { + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType()); + Timestamp lastActionDate = assetwk.getLastActionDate(); + boolean isLastDepr = TimeUtil.getMonthLastDay(date).equals(lastActionDate); + return isLastDepr; + + } + + public String completeIt() { + + if (!m_justPrepared) + { + String status = prepareIt(); + if (!DocAction.STATUS_InProgress.equals(status)) + return status; + } + + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_COMPLETE); + if (m_processMsg != null) + return DocAction.STATUS_Invalid; + + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + assetwk.setA_Asset_Cost(getA_Asset_Cost_Change()); + assetwk.setA_Accumulated_Depr(getA_Change_Acumulated_Depr()); + assetwk.saveEx(); + MAsset asset = MAsset.get(getCtx(), getA_Asset_ID(), get_TrxName()); + asset.setA_Asset_RevalDate(this.getDateDoc()); + asset.saveEx(); + //rebuild depreciation + /* commented out by @win, deprecating existing design + assetwk.buildDepreciation(); + */ + + // User Validation + String valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE); + if (valid != null) + { + m_processMsg = valid; + return DocAction.STATUS_Invalid; + } + + // Set the definite document number after completed (if needed) + //setDefiniteDocumentNo(); + + setProcessed(true); + setDocAction(DOCACTION_Close); + return DocAction.STATUS_Completed; + } + + public File createPDF() + { + return null; + } + + public BigDecimal getApprovalAmt() + { + return Env.ZERO; + } + + public int getC_Currency_ID() + { + return 0; + } + + public int getDoc_User_ID() + { + return getCreatedBy(); + } + + public String getDocumentInfo() + { + return getDocumentNo() + "/" + getDateAcct(); + } + + public String getProcessMsg() { + return m_processMsg; + } + private String m_processMsg = null; + + + public String getSummary() + { + StringBuffer sb = new StringBuffer(); + sb.append("@DocumentNo@ #").append(getDocumentNo()); + return sb.toString(); + } + + public boolean invalidateIt() + { + return false; + } + + public boolean processIt(String action) throws Exception + { + m_processMsg = null; + DocumentEngine engine = new DocumentEngine (this, getDocStatus()); + return engine.processIt (action, getDocAction()); + } + + + public boolean reActivateIt() + { + return false; + } + + public boolean rejectIt() + { + return false; + } + + public boolean reverseAccrualIt() + { + return false; + } + + public boolean reverseCorrectIt() + { + return false; + } + + public boolean unlockIt() + { + return false; + } + + public boolean voidIt() + { + return false; + } + public String getDocumentNo() + { + return null; + } + /** Before save + * @param newRecord + * @return true on success + */ + //protected boolean beforeSave (boolean newRecord) + //{ + //return true; + //} + +} diff --git a/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java b/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java index 8f81a2fd93..c85be7ad7d 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java @@ -1,60 +1,267 @@ /****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * + * The contents of this file are subject to the Compiere License Version 1.1 + * ("License"); You may not use this file except in compliance with the License + * You may obtain a copy of the License at http://www.compiere.org/license.html + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for + * the specific language governing rights and limitations under the License. + * The Original Code is Compiere ERP & CRM Smart Business Solution + * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. + * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts + * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. + * Contributor(s): ______________________________________. *****************************************************************************/ package org.compiere.model; +import java.io.File; +import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MDocType; +import org.compiere.model.MPeriod; +import org.compiere.model.ModelValidationEngine; +import org.compiere.model.ModelValidator; +import org.compiere.model.PO; +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.Env; +import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; + + /** - * Asset Trnasfer Model - * + * Asset Transfer Model + * @author www.arhipac.ro * */ public class MAssetTransfer extends X_A_Asset_Transfer +implements DocAction { - /** - * - */ - private static final long serialVersionUID = 6542200284709386238L; - /** - * Default ConstructorX_A_Asset_Group_Acct - * @param ctx context - * @param M_InventoryLine_ID line - */ + private static final long serialVersionUID = 1L; + /** Just Prepared Flag */ + private boolean m_justPrepared = false; + public MAssetTransfer (Properties ctx, int X_A_Asset_Transfer_ID, String trxName) - { + { super (ctx,X_A_Asset_Transfer_ID, trxName); if (X_A_Asset_Transfer_ID == 0) { - // + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); } - } // MAssetAddition - /** - * Load Constructor - * @param ctx context - * @param rs result set - */ + } + public MAssetTransfer (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); - } // MInventoryLine + } + + + protected boolean beforeSave(boolean newRecord) + { + setC_Period_ID(); + return true; + } + + public void setC_Period_ID() + { + MPeriod period = MPeriod.get(getCtx(), getDateAcct(), getAD_Org_ID()); + if (period == null) + { + throw new AdempiereException("@NotFound@ @C_Period_ID@"); + } + setC_Period_ID(period.get_ID()); + } + + + public boolean approveIt() { + return false; + } + + public boolean closeIt() { + setDocAction(DOCACTION_None); + return true; + } + + public File createPDF() { + return null; + } + + public BigDecimal getApprovalAmt() { + return Env.ZERO; + } + + public int getC_Currency_ID() { + return 0; + } + + public int getDoc_User_ID() { + return getCreatedBy(); + } + + public String getDocumentInfo() { + return getDocumentNo() + "/" + getDateAcct(); + } + + public String getProcessMsg() { + return m_processMsg; + } + private String m_processMsg = null; + + + public String getSummary() { + StringBuffer sb = new StringBuffer(); + sb.append("@DocumentNo@ #").append(getDocumentNo()); + return sb.toString(); + } + + public boolean invalidateIt() { + return false; + } + + public String prepareIt() + { + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + // test if period is open + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), MDocType.DOCBASETYPE_GLJournal, getAD_Org_ID()); + + MDepreciationWorkfile assetwk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType()); + if (assetwk.isDepreciated(getDateAcct())) + { + throw new AssetAlreadyDepreciatedException(); + } + + // Check if the accounts have changed in the meantime + MAssetAcct assetAcct = MAssetAcct.forA_Asset_ID(getCtx(), getA_Asset_ID(), getPostingType(), getDateAcct(), get_TrxName()); + if (assetAcct.getA_Asset_Acct() != getA_Asset_Acct() + || assetAcct.getA_Accumdepreciation_Acct() != getA_Accumdepreciation_Acct() + || assetAcct.getA_Depreciation_Acct() != getA_Depreciation_Acct() + || assetAcct.getA_Disposal_Revenue_Acct() != getA_Disposal_Revenue_Acct() + || assetAcct.getA_Disposal_Loss_Acct() != getA_Disposal_Loss_Acct() + ) + { + throw new AdempiereException("The accounts have been changed"); + } + //Check that at least one account is changed + { + MAssetAcct acct = MAssetAcct.forA_Asset_ID(getCtx(), getA_Asset_ID(), getPostingType(), getDateAcct(), get_TrxName()); + if (acct.getA_Asset_Acct() == getA_Asset_New_Acct() + && acct.getA_Accumdepreciation_Acct() == getA_Accumdepreciation_New_Acct() + && acct.getA_Depreciation_Acct() == getA_Depreciation_New_Acct() + && acct.getA_Disposal_Revenue_Acct() == getA_Disposal_Revenue_New_Acct() + && acct.getA_Disposal_Loss_Acct() == getA_Disposal_Loss_New_Acct() + ) + { + throw new AdempiereException("An account has been changed"); + } + } + //doc check if the date is equal to its accounting for the expense table + if (assetwk.getDateAcct().equals(getDateAcct())) + { + throw new AdempiereException("Last day of month. Accounts will be changed next month"); + } + + //check if they are unprocessed records + MDepreciationExp.checkExistsNotProcessedEntries(getCtx(), getA_Asset_ID(), getDateAcct(), getPostingType(), get_TrxName()); + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE); + if (m_processMsg != null) + return DocAction.STATUS_Invalid; + + m_justPrepared = true; + if (!DOCACTION_Complete.equals(getDocAction())) + setDocAction(DOCACTION_Complete); + return DocAction.STATUS_InProgress; + } + + + public String completeIt() + { + // Re-Check + if (!m_justPrepared) + { + String status = prepareIt(); + if (!DocAction.STATUS_InProgress.equals(status)) + return status; + } + + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_COMPLETE); + if (m_processMsg != null) + return DocAction.STATUS_Invalid; + // create new MAssetAcct + MAssetAcct assetAcctPrev = MAssetAcct.forA_Asset_ID(getCtx(), getA_Asset_ID(), getPostingType(), getDateAcct(), get_TrxName()); + MAssetAcct assetAcct = new MAssetAcct(getCtx(), 0, get_TrxName()); + PO.copyValues(assetAcctPrev, assetAcct); + assetAcct.setA_Asset_Acct(getA_Asset_New_Acct()); + assetAcct.setA_Accumdepreciation_Acct(getA_Accumdepreciation_New_Acct()); + assetAcct.setValidFrom(getDateAcct()); + assetAcct.saveEx(); + + MDepreciationWorkfile wk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + /* commented out by @win, deprecating existing design + wk.buildDepreciation(); + */ + + // User Validation + String valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE); + if (valid != null) + { + m_processMsg = valid; + return DocAction.STATUS_Invalid; + } + + // Set the definite document number after completed (if needed) + //setDefiniteDocumentNo(); + setProcessed(true); + setDocAction(DOCACTION_Close); + return DocAction.STATUS_Completed; + } + + + public boolean processIt(String action) throws Exception { + m_processMsg = null; + DocumentEngine engine = new DocumentEngine (this, getDocStatus()); + return engine.processIt (action, getDocAction()); + } + + public boolean reActivateIt() { + return false; + } + + public boolean rejectIt() { + return false; + } + + public boolean reverseAccrualIt() { + return false; + } + + public boolean reverseCorrectIt() { + return false; + } + + public boolean unlockIt() { + return false; + } + + public boolean voidIt() { + return false; + } -} // MAssetAddition + + public String getDocumentNo() { + // TODO Auto-generated method stub + return null; + } +} // MAssetTransfer diff --git a/org.adempiere.base/src/org/compiere/model/MAssetType.java b/org.adempiere.base/src/org/compiere/model/MAssetType.java new file mode 100644 index 0000000000..52dcb79f24 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MAssetType.java @@ -0,0 +1,231 @@ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.Query; +import org.compiere.util.ArhRuntimeException; +import org.compiere.util.CCache; +import org.compiere.util.Env; + +/** + * Asset Type + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class MAssetType extends X_A_Asset_Type +{ + private static final long serialVersionUID = 1L; + + public static final String A_ASSET_TYPE_MFX = "MFX"; + public static final String A_ASSET_TYPE_INV = "INV"; + + public static final int A_ASSET_TYPE_ID_MFX = 1; + public static final int A_ASSET_TYPE_ID_INV = 2; + public static final int A_ASSET_TYPE_ID_SUP = 3; + /** Obiecte tert */ + public static final int A_ASSET_TYPE_ID_OIN = 4; + + public static interface Model + { + /** Get Context */ + public Properties getCtx(); + /** Get Asset Type */ + public int getA_Asset_Type_ID(); + /** Get In Possession. The asset is in the possession of the organization */ + public boolean isInPosession(); + /** Get Owned. The asset is owned by the organization */ + public boolean isOwned(); + /** Get Is Depreciated */ + public boolean isDepreciated(); + }; + + /** Static Cache: A_Asset_Type.A_Asset_Type_ID-> MAssetType */ + private static CCache s_cache = new CCache(Table_Name, 10, 0); + + /** Get Asset Type + * @param ctx context + * @param A_Asset_Type_ID + * @return asset type object + */ + public static MAssetType get (Properties ctx, int A_Asset_Type_ID) + { + if (A_Asset_Type_ID <= 0) + return null; + MAssetType o = s_cache.get(A_Asset_Type_ID); + if (o != null) + return o; + o = new MAssetType(ctx, A_Asset_Type_ID, null); + if (o.get_ID() > 0) { + s_cache.put(A_Asset_Type_ID, o); + return o; + } + return null; + } + + /** Get Asset Type + * @param ctx context + * @param id id as Number + * @return asset type object + */ + public static MAssetType get (Properties ctx, Object id) + { + if (id == null) + return null; + return get(ctx, ((Number)id).intValue()); + } + + /** Standard Constructor */ + public MAssetType (Properties ctx, int A_Asset_Type_ID, String trxName) + { + super (ctx, A_Asset_Type_ID, trxName); + } + + /** Load Constructor */ + public MAssetType (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** Is Fixed Asset + */ + public boolean isFixedAsset() + { + return A_ASSET_TYPE_MFX.equals(getValue()); + } + + public static boolean isFixedAsset(int A_Asset_ID) + { + final String whereClause = MAsset.COLUMNNAME_A_Asset_ID+"=?" + +" AND "+MAsset.COLUMNNAME_A_AssetType+"=?"; + + return new Query(Env.getCtx(), MAsset.Table_Name, whereClause, null) + .setParameters(new Object[]{A_Asset_ID, A_ASSET_TYPE_MFX}) + .match(); + } + + public static boolean isFixedAsset(MAsset asset) + { + return asset != null && A_ASSET_TYPE_MFX.equals(asset.getA_Asset_Type()); + } + + public static boolean isFixedAssetGroup(Properties ctx, int A_Asset_Group_ID) + { + if (A_Asset_Group_ID <= 0) + return false; + MAssetGroup assetGroup = MAssetGroup.get(ctx, A_Asset_Group_ID); + // + int assetType_ID = assetGroup.getA_Asset_Type_ID(); + if (assetType_ID <= 0) + return false; + MAssetType assetType = MAssetType.get(ctx, assetType_ID); + // + return assetType.isFixedAsset(); + } + + /** Is Inventory Object + */ + public boolean isInventoryObject() { + return A_ASSET_TYPE_INV.equals(getValue()); + } + + /** Convert an Yes-No-Unknown field to Boolean */ + protected static Boolean getBoolean (String value, boolean useDefaults) + { + if (value == null || value.length() == 0) + return null; + String f = value.substring(0, 1); + if ("N".equals(f)) + return Boolean.FALSE; + else if ("Y".equals(f)) + return Boolean.TRUE; + else if ("X".equals(f) && useDefaults) + return getBoolean(value.substring(1), false); + else + return null; + } + + /** + * Validate a Model + * @param m model + * @thorows ContextUserException + */ + public static void validate(Model m) + { + // Load Asset Type + MAssetType assetType = MAssetType.get(m.getCtx(), m.getA_Asset_Type_ID()); + if (assetType == null) + { + throw new ArhRuntimeException(m.getCtx(), "@NotFound@ @A_Asset_Type_ID@") + .addInfo("@A_Asset_Type_ID", m.getA_Asset_Type_ID()); + } + + ArhRuntimeException err = new ArhRuntimeException(m.getCtx(), ""); + Boolean f = getBoolean(assetType.getIsOwned(), false); + if (f != null && f.booleanValue() != m.isOwned()) { + err.addInfo("@IsOwned@ <> @" + f + "@"); + } + f = getBoolean(assetType.getIsInPosession(), false); + if (f != null && f.booleanValue() != m.isInPosession()) { + err.addInfo("@IsInPosession@ <> @" + f + "@"); + } + f = getBoolean(assetType.getIsDepreciable(), false); + if (f != null && f.booleanValue() != m.isDepreciated()) { + err.addInfo("@IsDepreciated@ <> @" + f + "@"); + } + + if (err.hasInfo()) + throw err; + } + + /** + * Update the given SetGetModel; Does not set A_Asset_Type_ID + * @param model + * @param useDefaults in case is not a concrete value, use defaults + */ + public boolean update(SetGetModel model, boolean useDefaults) + { +// boolean useDefaults = true; + Boolean f = getBoolean(getIsOwned(), useDefaults); + if (f != null) + model.set_AttrValue("IsOwned", f); + f = getBoolean(getIsInPosession(), useDefaults); + if (f != null) + model.set_AttrValue("IsInPosession", f); + f = getBoolean(getIsDepreciable(), useDefaults); + if (f != null) { + model.set_AttrValue("IsDepreciated", f); + } + + if (!isFixedAsset()) { + model.set_AttrValue("A_Asset_Class_ID", null); + } + + model.set_AttrValue("A_Asset_Type", getValue()); + + return true; + } + + /** Callout Class */ + public static class Callout extends CalloutEngine + { + public String assetType(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) { + if (isCalloutActive()) + return ""; + + int A_Asset_Type_ID = 0; + if (value != null && value instanceof Number) + A_Asset_Type_ID = ((Number)value).intValue(); + else + return ""; + MAssetType assetType = MAssetType.get(ctx, A_Asset_Type_ID); + if (assetType != null) + assetType.update(SetGetUtil.wrap(mTab), true); + // + return ""; + } + }; + +} // class MAssetType diff --git a/org.adempiere.base/src/org/compiere/model/MAssetUse.java b/org.adempiere.base/src/org/compiere/model/MAssetUse.java index 1cd4aa19bb..8a22615c63 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetUse.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetUse.java @@ -1,36 +1,14 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ - package org.compiere.model; + import java.sql.ResultSet; import java.util.Properties; +import org.compiere.model.MRefList; import org.compiere.util.DB; /** Generated Model for A_Asset_Use ** @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ */ public class MAssetUse extends X_A_Asset_Use { - /** - * - */ - private static final long serialVersionUID = -1247516669047870893L; - public MAssetUse (Properties ctx, int A_Asset_Use_ID, String trxName) { super (ctx, A_Asset_Use_ID, trxName); @@ -65,9 +43,9 @@ protected boolean afterSave (boolean newRecord,boolean success) String sql = "SELECT SUM(USEUNITS) FROM A_Asset_use WHERE A_Asset_ID=? and usedate <= SYSDATE"; - total_unitsused = DB.getSQLValue(null, sql, getA_Asset_ID()); + total_unitsused = DB.getSQLValueEx(null, sql, getA_Asset_ID()); - MAsset asset = new MAsset (getCtx(), p_A_Asset_ID, null); + MAsset asset = MAsset.get(getCtx(), p_A_Asset_ID, null); asset.setUseUnits(total_unitsused); asset.setProcessing(false); asset.saveEx(); diff --git a/org.adempiere.base/src/org/compiere/model/MConversionRateUtil.java b/org.adempiere.base/src/org/compiere/model/MConversionRateUtil.java new file mode 100644 index 0000000000..7ebf89f471 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MConversionRateUtil.java @@ -0,0 +1,103 @@ +/** + * + */ +package org.compiere.model; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.sql.Timestamp; + +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.idempiere.exceptions.NoCurrencyConversionException; + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public final class MConversionRateUtil +{ + /** Logger */ + private static final CLogger s_log = CLogger.getCLogger (MConversionRateUtil.class); + + private MConversionRateUtil() + { + // nothing + } + + /** + * Convert an amount to base currency and update model fields (CurrencyRate, "AmtName"). + * @param model + * @param DateName conversion date field name + * @param SourceAmtName source amount field name + * @param AmtName converted amount field name (optional); if null then the converted amount field will not be updated + * @param changedColumnName the column that has changed (the controller); optional + * @return converted amount or null if error + */ + public static BigDecimal convertBase(SetGetModel model, String DateName, + String SourceAmtName, String AmtName, String changedColumnName) + { + // If Currency changed, reset rate + if (changedColumnName != null && "C_Currency_ID".equalsIgnoreCase(changedColumnName)) + { + model.set_AttrValue("CurrencyRate", Env.ZERO); + } + + // Source Amount + BigDecimal sourceAmt = SetGetUtil.get_AttrValueAsBigDecimal(model, SourceAmtName); + if (sourceAmt == null || sourceAmt.signum() == 0) + { + if (AmtName != null) + { + model.set_AttrValue(AmtName, Env.ZERO); + } + return Env.ZERO; + } + + // AD_Client_ID + int AD_Client_ID = SetGetUtil.get_AttrValueAsInt(model, "AD_Client_ID"); + + // Currency To + int C_Currency_ID_To = MClient.get(model.getCtx(), AD_Client_ID).getAcctSchema().getC_Currency_ID(); + //~ model.set_AttrValue("C_Currency_ID_To", Integer.valueOf(C_Currency_ID_To)); + + // Get Rate + BigDecimal rate = SetGetUtil.get_AttrValueAsBigDecimal(model, "CurrencyRate"); + if (rate == null || rate.signum() == 0) + { + int AD_Org_ID = SetGetUtil.get_AttrValueAsInt(model, "AD_Client_ID"); + Timestamp ConvDate = SetGetUtil.get_AttrValueAsDate(model, DateName); + int C_Currency_ID = SetGetUtil.get_AttrValueAsInt(model, "C_Currency_ID"); + if (C_Currency_ID == C_Currency_ID_To) + { + rate = Env.ONE; + } + else + { + int C_ConversionType_ID = SetGetUtil.get_AttrValueAsInt(model, "C_ConversionType_ID"); + rate = MConversionRate.getRate (C_Currency_ID, C_Currency_ID_To, + ConvDate, C_ConversionType_ID, + AD_Client_ID, AD_Org_ID); + if (rate == null) + { // NoCurrencyConversion + throw new NoCurrencyConversionException(C_Currency_ID, C_Currency_ID_To, + ConvDate, C_ConversionType_ID, + AD_Client_ID, AD_Org_ID); + } + } + } + model.set_AttrValue("CurrencyRate", rate); + + // Calculate converted amount + BigDecimal amt = sourceAmt.multiply(rate); + int stdPrecision = MCurrency.getStdPrecision(model.getCtx(), C_Currency_ID_To); + amt = amt.setScale(stdPrecision, RoundingMode.HALF_UP); + + // Update model + if (AmtName != null) + model.set_AttrValue(AmtName, amt); + // Return amt + if (CLogMgt.isLevelFine()) s_log.fine("amt=" + sourceAmt + " * " + rate + "=" + amt + ", scale=" + stdPrecision); + return amt; + } // convert +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciation.java b/org.adempiere.base/src/org/compiere/model/MDepreciation.java new file mode 100644 index 0000000000..67a585a2fa --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciation.java @@ -0,0 +1,469 @@ +package org.compiere.model; +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Logger; + +import org.compiere.model.Query; +import org.compiere.util.CCache; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.idempiere.fa.exceptions.AssetNotImplementedException; +import org.idempiere.fa.exceptions.AssetNotSupportedException; + + +/** + * Depreciation Engine (eg. SL, ARH_VAR ...) + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class MDepreciation extends X_A_Depreciation +{ + private static final long serialVersionUID = 1L; + + /** Standard Constructor */ + public MDepreciation (Properties ctx, int A_Depreciation_ID, String trxName) + { + super (ctx, A_Depreciation_ID, trxName); + } // MDepreciation + + /** + * Load Constructor + * @param ctx context + * @param rs result set record + */ + public MDepreciation (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MDepreciation + + /** Cache */ + private static CCache + s_cache = new CCache(Table_Name, 5); + /** Cache for type */ + private static CCache + s_cache_forType = new CCache(Table_Name+"_DepreciationType", 5); + /** Static logger */ + private static Logger s_log = CLogger.getCLogger(MDepreciation.class); + /** The accuracy of calculation on depreciation */ + private final static int m_precision = 2; + + /* Constrants */ + private static final BigDecimal BD_12 = BigDecimal.valueOf(12); + + private static void addToCache(MDepreciation depr) + { + if (depr == null) + { + return ; + } + + s_cache.put(depr.get_ID(), depr); + String key = "" + depr.getAD_Client_ID() + "_" + depr.getDepreciationType(); + s_cache_forType.put(key, depr); + } + + /** + * Get Depreciation method + * @param ctx + * @param A_Depreciation_ID depreciation id + */ + public static MDepreciation get(Properties ctx, int A_Depreciation_ID) + { + MDepreciation depr = s_cache.get(A_Depreciation_ID); + if (depr != null) + { + return depr; + } + depr = new MDepreciation(ctx, A_Depreciation_ID, null); + if (depr.get_ID() > 0) + { + addToCache(depr); + } + else + { + depr = null; + } + return depr; + } // get + + /** + * Get Depreciation method + * @param ctx + * @param depreciationType depreciation type (e.g. SL) + */ + public static MDepreciation get(Properties ctx, String depreciationType) + { + int AD_Client_ID = Env.getAD_Client_ID(ctx); + String key = "" + AD_Client_ID + "_" + depreciationType; + MDepreciation depr = s_cache_forType.get(key); + if (depr != null) + { + return depr; + } + + final String whereClause = COLUMNNAME_DepreciationType+"=?" + +" AND AD_Client_ID IN (0,?)"; + depr = new Query(ctx, Table_Name, whereClause, null) + .setOrderBy("AD_Client_ID DESC") + .setParameters(new Object[]{depreciationType, AD_Client_ID}) + .firstOnly(); + addToCache(depr); + return depr; + } // get + + /** + * Returns the precision of calculation of depreciation + * @return accuracy of calculation of depreciation + */ + public static int getPrecision() + { + return m_precision; + } + + /** + * Needs to be adjusted in last month's amortization + */ + public boolean requireLastPeriodAdjustment() + { + return !"ARH_ZERO".equals(getDepreciationType()); + } + + /** + * Calculate the value of depreciation over time + * @param assetwk - Fixed Assets worksheet + * @param assetAcct - FA default accounting elements + * @param A_Current_Period - current period + * @param Accum_Dep accumulated depreciation until present period + * @return amortized value + */ + public BigDecimal invoke(MDepreciationWorkfile assetwk, MAssetAcct assetAcct, + int A_Current_Period, BigDecimal Accum_Dep) + { + String depreciationType = getDepreciationType(); + BigDecimal retValue = null; + //~ int offset = getFixMonthOffset(); + //~ A_Current_Period += offset; + + if(CLogMgt.isLevelFinest()) + { + log.fine("Entering: DepreciationType=" + depreciationType + + ", assetwk=" + assetwk+ ", assetacct=" + assetAcct + + ", A_Current_Period=" + A_Current_Period //+ " (offset=" + offset + ")" + + ", Accum_Dep=" + Accum_Dep + ); + } + + if (!canInvoke(assetwk, assetAcct, A_Current_Period, Accum_Dep)) + { + return BigDecimal.ZERO; + } + if (depreciationType.equalsIgnoreCase("SL")) + { + retValue = apply_SL(assetwk, assetAcct, A_Current_Period, Accum_Dep); + } + else if (depreciationType.equalsIgnoreCase("ARH_VAR")) + { + retValue = apply_ARH_VAR(assetwk, assetAcct, A_Current_Period, Accum_Dep); + } + else if (depreciationType.equalsIgnoreCase("ARH_AD1")) + { + retValue = apply_ARH_AD1(assetwk, assetAcct, A_Current_Period, Accum_Dep); + } + else if (depreciationType.equalsIgnoreCase("ARH_AD2")) + { + retValue = apply_ARH_AD2(assetwk, assetAcct, A_Current_Period, Accum_Dep); + } + else if (depreciationType.equalsIgnoreCase("ARH_ZERO")) + { + retValue = apply_ARH_ZERO(assetwk, assetAcct, A_Current_Period, Accum_Dep); + } + else + { + throw new AssetNotSupportedException(COLUMNNAME_DepreciationType, depreciationType); + } + // + if (retValue == null) + { + retValue = BigDecimal.ZERO; + } + retValue = retValue.setScale(getPrecision(), RoundingMode.HALF_UP); + // + if(CLogMgt.isLevelFinest()) log.fine("Leaving: retValue=" + retValue); + return retValue; + } // invoke + + /** + * Check if the method can be invoked to give parameters + * @param assetwk + * @param assetAcct + * @param A_Current_Period between 0 to UseLifeMonths - 1 + * @param Accum_Dep + */ + public boolean canInvoke(MDepreciationWorkfile assetwk, MAssetAcct assetAcct, + int A_Current_Period, BigDecimal Accum_Dep) + { + //~ MDepreciationWorkfile wk = MDepreciationWorkfile.get(getCtx(), A_Asset_ID, PostingType); + if (assetwk == null) + { + log.warning("@NotFound@ @A_Depreciation_Workfile_ID@"); + return false; + } + //TODO review this method - red1 + int offset = 0 ; //getFixMonthOffset(); this field does not exist in AD nor DB but exists in X_. - red1 + int lifePeriods = assetwk.getUseLifeMonths(assetwk.isFiscal()); + boolean ok = (offset <= A_Current_Period); + + if(CLogMgt.isLevelFinest()) log.finest("A_Current_Period=" + A_Current_Period + ", lifePeriods=" + lifePeriods + " (offset=" + offset + ") ==> OK=" + ok); + return ok; + } // canInvoke + + /** + * Without depreciation + * @param A_Asset_ID Assets IDs (ignored) + * @param A_Current_Period current period (in months, between 0 and UseLifeMonths - 1) (ignored) + * @param PostingType posting type (eg. A - Actual, S - Statistics ...) (ignored) + * @param A_Asset_Acct_ID FA accounting IDs (see table A_Asset_Acct) (ignored) + * @param Accum_Dep Accumulated depreciation from this method (ignored) + * @return Env.ZERO + */ + private BigDecimal apply_ARH_ZERO (MDepreciationWorkfile wk, MAssetAcct assetAcct, + int A_Current_Period, BigDecimal Accum_Dep) + { + return Env.ZERO; + } + + /** Linear depreciation regime + * @param A_Asset_ID Assets IDs + * @param A_Current_Period current period (in months, between 0 and UseLifeMonths - 1) + * @param PostingType posting type (eg. A - Actual, S - Statistics ...) + * @param A_Asset_Acct_ID FA accounting IDs (see table A_Asset_Acct) + * @param Accum_Dep Accumulated depreciation from this method + * @return depreciation for the current month + */ + private BigDecimal apply_SL (MDepreciationWorkfile wk, MAssetAcct assetAcct, + int A_Current_Period, BigDecimal Accum_Dep) + { + BigDecimal remainingPeriods = new BigDecimal(wk.getRemainingPeriods(A_Current_Period - 1)); + BigDecimal remainingAmt = wk.getRemainingCost(Accum_Dep); + BigDecimal amtPerPeriod = Env.ZERO; + if (remainingPeriods.signum() != 0) + { + amtPerPeriod = remainingAmt.divide(remainingPeriods, getPrecision(), RoundingMode.HALF_UP); + } + + if(CLogMgt.isLevelFinest()) + { + log.finest("currentPeriod=" + A_Current_Period + ", remainingAmt=" + remainingAmt + ", remainingPeriods=" + remainingPeriods + " => amtPerPeriod=" + amtPerPeriod); + } + + return amtPerPeriod; + } + + /** + * Accelerated depreciation regime + * @param A_Current_Period current period (in months, between 0 and UseLifeMonths - 1) + * @param PostingType posting type (eg. A - Actual, S - Statistics ...) + * @param A_Asset_Acct_ID FA accounting IDs (see table A_Asset_Acct) + * @param Accum_Dep Accumulated depreciation from this method + * @return depreciation for the current month + */ + private BigDecimal apply_ARH_VAR (MDepreciationWorkfile wk, MAssetAcct acct, + int A_Current_Period, BigDecimal Accum_Dep) + { + BigDecimal amt = wk.getActualCost(); + BigDecimal varPercent = acct.getA_Depreciation_Variable_Perc(wk.isFiscal()).setScale(getPrecision(), RoundingMode.HALF_UP); + //~ int lifePeriods = wk.getUseLifeMonths(wk.isFiscal()); + BigDecimal assetExp = BigDecimal.ZERO; + + // First time in first year + if (A_Current_Period == 0) + { + assetExp = amt.multiply(varPercent); + } + // Periods of the first year (without first) + else if (A_Current_Period < 12) + { + // do nothing; + } + // Following periods + else + { + BigDecimal remainingAmt = wk.getRemainingCost(Accum_Dep); + BigDecimal remainingPeriods = new BigDecimal(wk.getRemainingPeriods(A_Current_Period)); + assetExp = remainingAmt.divide(remainingPeriods, getPrecision(), RoundingMode.HALF_UP); + // logging + if (CLogMgt.isLevelFinest()) { + log.fine("remainingAmt=" + remainingAmt + ", remainingPeriods=" + remainingPeriods+ " => assetExp=" + assetExp); + } + } + + return assetExp; + } + + + /** Digressive depreciation regime (AD1) + * @param A_Current_Period current period (in months, between 0 and UseLifeMonths - 1) + * @param PostingType posting type (eg. A - Actual, S - Statistics ...) + * @param A_Asset_Acct_ID FA accounting IDs (see table A_Asset_Acct) + * @param Accum_Dep Accumulated depreciation from this method + * @return depreciation for the current month + * TODO RE TEST IT! + */ + private BigDecimal apply_ARH_AD1(MDepreciationWorkfile wk, MAssetAcct assetAcct, int A_Current_Period,BigDecimal Accum_Dep) + { + //~ /** Current Worksheet */ + //~ MDepreciationWorkfile wk = MDepreciationWorkfile.get(getCtx(), A_Asset_ID, PostingType); + + /** FAs' value = acquisition value - the amount recovered */ + BigDecimal assetAmt = wk.getActualCost(); + /** Life in months */ + int A_Life_Period = wk.getA_Life_Period(); + /** Year = integer part of (current period / 12) => first year will be 0 */ + int A_Current_Year = (int)(A_Current_Period / 12); + /** Life in years = integer part of (the life in months / 12) => first year will be 0 */ + int A_Life_Year = (int)(A_Life_Period / 12); + //~ /** Number of years of use remaining (including current year) */ + //~ int A_RemainingLife_Year = A_Life_Year - A_Current_Year; + + + /** Coefficient K */ + /* @win : looks like a country specific requirement + BigDecimal coef_K = get_AD_K(A_Life_Year); + */ + + /** Linear damping coefficient for one year = 1 / total number of years */ + BigDecimal coef_sl = BigDecimal.ONE.divide(new BigDecimal(A_Life_Year), getPrecision() + 2, RoundingMode.DOWN); + /** Degressive damping coefficient for one year = one-year linear depreciation * coeficient K */ + //BigDecimal coef_ad1 = coef_sl.multiply(coef_K); //commented by @win + BigDecimal coef_ad1 = coef_sl.multiply(new BigDecimal(2.0)); //added by @win + + /** AD2 */ + //~ BigDecimal DUR = BD_100.multiply( + + // logging + if (CLogMgt.isLevelFinest()) { + log.fine("assetAmt=" + assetAmt + ", A_Life_Period=" + A_Life_Period); + log.fine("A_Current_Year=" + A_Current_Year + ", A_Life_Year=" + A_Life_Year); + //log.fine("coef_K=" + coef_K + ", coef_sl=" + coef_sl + ", coef_ad1=" + coef_ad1); //commented out by @win + } + + /** Depreciation for the current year, is calculated below */ + BigDecimal amtPerYear = BigDecimal.ZERO; + /** They went on linear depreciation */ + boolean is_SL = false; + /** Year linear depreciation = depreciation remaining / number of years remaining (including this year) */ + BigDecimal amt_sl = BigDecimal.ZERO; + /** Remaining depreciation */ + BigDecimal amt_r = assetAmt; + + for (int curr_year = 0; curr_year <= A_Current_Year; curr_year++) { + if (!is_SL) { + /** Number of years of use remaining (including current year) */ + int A_RemainingLife_Year = A_Life_Year - curr_year; + /** Degressive current year depreciation */ + BigDecimal amt_ad1 = amt_r.multiply(coef_ad1); + /** Year linear depreciation = depreciation remaining / number of years remaining (including this year) */ + amt_sl = amt_r.divide(new BigDecimal(A_RemainingLife_Year), getPrecision(), RoundingMode.HALF_UP); + // logging + if (CLogMgt.isLevelFinest()) { + s_log.fine("amt_r=" + amt_r + ", amt_ad1=amt_r*coef_ad1=" + amt_ad1 + ", amt_sl=amt_r/A_RemainingLife_Year=" + amt_sl + ", A_Current_Year=" + A_Current_Year + ", A_RemainingLife_Year=" + A_RemainingLife_Year); + } + + /** If the first year or if the value depreciation value depreciation degressive more linear ... */ + if (curr_year == 0 || amt_ad1.compareTo(amt_sl) >= 0) { + amtPerYear = amt_ad1; + } + else { + amtPerYear = amt_sl; + is_SL = true; + s_log.fine("*** PASS IT ON linear amt_sl= " + amt_sl + " ***"); + } + } + else { + amtPerYear = amt_sl; + s_log.fine("* linear *"); + } + + amt_r = amt_r.subtract(amtPerYear); + if (CLogMgt.isLevelFinest()) s_log.fine("year=" + curr_year + ", amtPerYear=" + amtPerYear + ", amt_r=" + amt_r); //logging + } + if (CLogMgt.isLevelFinest()) s_log.fine("amt_r=" + amt_r + ", amtPerYear=" + amtPerYear); //logging + + /** Damping value for the current month */ + BigDecimal assetExp = getPeriodExp(A_Current_Period, amtPerYear); + + /** Depreciation refund */ + if (CLogMgt.isLevelFinest()) log.fine("assetExp=" + assetExp); + return assetExp; + } + + /** + * + */ + private BigDecimal apply_ARH_AD2(MDepreciationWorkfile wk, MAssetAcct assetAcct, int A_Current_Period,BigDecimal Accum_Dep) + { + throw new AssetNotImplementedException("AD2"); + } + + /** For depreciation regime skimmed returns coefficient K depending on the life of FAs + * @param A_Life_Year life in years + * @return coeficient K degressive method for + * @see #apply_ARH_AD1(int, int, String, int, BigDecimal) + */ + private static BigDecimal get_AD_K(int A_Life_Year) + { + if (A_Life_Year < 2) { + throw new IllegalArgumentException("@A_Life_Year@ = " + A_Life_Year + " < 2"); + } + // A_Life_Year in [2, 5] + else if (A_Life_Year <= 5) { + return new BigDecimal(1.5); + } + // A_Life_Year in (5, 10] + else if (A_Life_Year <= 10) { + return new BigDecimal(2.0); + } + // A_Life_Year in (10, infinit) + else { + return new BigDecimal(2.5); + } + } + + /** Calculate the value of depreciation over a month (period). In the last month of the year we add errors from the adjustment calculation + * @param A_Current_Period current month's index + * @param amtPerYear value of depreciation per year + * @return rounded value to the nearest month/decimal getPrecision () + */ + protected BigDecimal getPeriodExp(int A_Current_Period, BigDecimal amtPerYear) + { + /** Monthly amount */ + BigDecimal amtPerMonth = amtPerYear.divide(BD_12, getPrecision(), RoundingMode.HALF_UP); + /** Value adjustment */ + BigDecimal adj = BigDecimal.ZERO; + /** The amount a month (with adjustments) */ + BigDecimal assetExp = amtPerMonth; + + // if last month of the year, calculate the adjustment + // NOTE: All adjusted value shall be rounded to getPrecision () decimal + if (A_Current_Period % 12 == 11) + { + adj = amtPerYear.subtract(amtPerMonth.multiply(BD_12)); + assetExp = assetExp.add(adj).setScale(getPrecision(), RoundingMode.HALF_UP); + } + + if (CLogMgt.isLevelFinest()) + { + log.fine("amtPerYear=" + amtPerYear + ", amtPerMonth=" + amtPerMonth + ", adj=" + adj + " => assetExp=" + assetExp); + } + return assetExp; + } + + public int getFixMonthOffset() { + // IDEMPIERE-197 Stabilize Fixed Assets + // MDepreciationWorkfile is requiring this missing column + // TODO: Adding this method to compile correctly and future research + return 0; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java b/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java new file mode 100644 index 0000000000..f1dca0be17 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java @@ -0,0 +1,28 @@ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; + + +/** Depreciation Build + * @author Teo Sarca, SC ARHIPAC SRL + * @version $Id$ -- Release 2.5.3a - 2006-06-22 18:03:22.896 + */ +public class MDepreciationBuild extends X_A_Depreciation_Build +{ + /** Standard Constructor */ + public MDepreciationBuild (Properties ctx, int A_Depreciation_Build_ID, String trxName) + { + super (ctx, A_Depreciation_Build_ID, trxName); + /** if (A_Depreciation_Build_ID == 0) + { + setA_Depreciation_Build_ID (0); + } + */ + } + /** Load Constructor */ + public MDepreciationBuild (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java b/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java new file mode 100644 index 0000000000..e05c82ebfc --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java @@ -0,0 +1,116 @@ +package org.compiere.model; +import java.sql.*; +import java.math.*; +import java.util.*; +import java.util.logging.*; +import org.compiere.model.*; +import org.compiere.util.*; + +/** Convention for the first year of depreciation (ex. FMCON, FYCON ...) + * @author Teo Sarca, SC Arhipac SRL + * @version $Id$ + */ +public class MDepreciationConvention extends X_A_Depreciation_Convention +{ + /** + * Default Constructor + * @param ctx context + * @param A_Depreciation_Convention_ID id + * @param trxName transaction name + */ + public MDepreciationConvention(Properties ctx, int A_Depreciation_Convention_ID, String trxName) + { + super (ctx, A_Depreciation_Convention_ID, trxName); + //~ if (A_Depreciation_Convention_ID == 0) + //~ { + //~ } + } // MDepreciationConvention + + /** + * Load Constructor + * @param ctx context + * @param rs result set record + */ + public MDepreciationConvention (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MDepreciationConvention + + /** Cache */ + private static CCache s_cache = new CCache("A_Depreciation_Convention", 5); + //~ /** Static logger */ + //~ private static Logger s_log = CLogger.getCLogger(MDepreciationConvention.class); + + public static MDepreciationConvention get(Properties ctx, int A_Depreciation_Convention_ID) { + Integer key = Integer.valueOf(A_Depreciation_Convention_ID); + MDepreciationConvention conv = s_cache.get(key); + if (conv != null) { + return conv; + } + conv = new MDepreciationConvention(ctx, A_Depreciation_Convention_ID, null); + if (conv.get_ID() > 0) { + s_cache.put(key, conv); + } else { + conv = null; + } + return conv; + } // get + + /** */ + public BigDecimal invoke (MDepreciationWorkfile assetwk, MAssetAcct assetAcct, int Flag, int Period) { + return invoke(assetwk.getA_Asset_ID(), assetAcct.getPostingType(), assetAcct.get_ID(), Flag, Period); + } + + /** */ + public BigDecimal invoke (int A_Asset_ID, String PostingType, int A_Asset_Acct_ID, int Flag, int Period) { + String conventionType = getConventionType(); + BigDecimal retValue = null; + + if(CLogMgt.isLevelFine()) + log.fine("Entering: ConventionType=" + conventionType + + "A_Asset_ID=" + A_Asset_ID + ", PostingType=" + PostingType + ", A_Asset_Acct_ID=" + A_Asset_Acct_ID + + ", Flag=" + Flag + ", Period=" + Period + ); + + if (conventionType.equalsIgnoreCase("FMCON")) { + return apply_FMCON(A_Asset_ID, PostingType, A_Asset_Acct_ID, Flag, Period); + } + else { + String sql = "{ ? = call "+ conventionType + "(?, ?, ?, ?, ?) }"; + CallableStatement cs = null; + try { + cs = DB.prepareCall(sql); + cs.registerOutParameter(1, java.sql.Types.DECIMAL); + cs.setInt(2, A_Asset_ID); + cs.setString(3, PostingType); + cs.setInt(4, A_Asset_Acct_ID); + cs.setInt(5, Flag); + cs.setInt(6, Period); + cs.execute(); + retValue = cs.getBigDecimal(1); + cs.close(); + } catch (Exception e) { + log.log(Level.SEVERE, sql, e); + } + finally { + try { + if (cs != null) cs.close(); + } catch (SQLException e) { + log.log(Level.FINEST, "Error", e); + } + cs = null; + } + } + // + if (retValue == null) { + retValue = BigDecimal.ZERO; + } + // + if(CLogMgt.isLevelFine()) log.fine("Leaving: retValue=" + retValue); + return retValue; + } + + public BigDecimal apply_FMCON(int A_Asset_ID, String PostingType, int A_Asset_Acct_ID, int Flag, int Period) { + return BigDecimal.ONE; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java b/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java new file mode 100644 index 0000000000..ba31fcca2c --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java @@ -0,0 +1,373 @@ +package org.compiere.model; + +import java.io.File; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Properties; +import java.util.logging.Level; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MClient; +import org.compiere.model.MPeriod; +import org.compiere.model.ModelValidationEngine; +import org.compiere.model.ModelValidator; +import org.compiere.model.Query; +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; +import org.compiere.util.Trx; +import org.compiere.util.TrxRunnable; +import org.idempiere.fa.exceptions.AssetArrayException; +import org.idempiere.fa.exceptions.AssetException; + + +/** + * Depreciation Entry + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class MDepreciationEntry extends X_A_Depreciation_Entry +implements DocAction +{ + private static final long serialVersionUID = 1L; + + /** Standard Constructor */ + public MDepreciationEntry(Properties ctx, int A_Depreciation_Entry_ID, String trxName) + { + super (ctx, A_Depreciation_Entry_ID, trxName); + if (A_Depreciation_Entry_ID == 0) + { + MAcctSchema acctSchema = MClient.get(getCtx()).getAcctSchema(); + setC_AcctSchema_ID(acctSchema.get_ID()); + setC_Currency_ID(acctSchema.getC_Currency_ID()); + setA_Entry_Type (A_ENTRY_TYPE_Depreciation); // TODO: workaround + setPostingType (POSTINGTYPE_Actual); // A + setProcessed (false); + setProcessing (false); + setPosted(false); + } + } + + /** Load Constructor */ + public MDepreciationEntry (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + + protected boolean beforeSave(boolean newRecord) + { + setC_Period_ID(); + return true; + } + + + protected boolean afterSave(boolean newRecord, boolean success) + { + if (!success) + { + return false; + } + if (!isProcessed() && (newRecord || is_ValueChanged(COLUMNNAME_DateAcct))) + { + selectLines(); + } + return true; + } + + + protected boolean afterDelete(boolean success) + { + if (!success) + { + return false; + } + + unselectLines(); + return true; + } + + public void setC_Period_ID() + { + MPeriod period = MPeriod.get(getCtx(), getDateAcct(), getAD_Org_ID()); + if (period == null) + { + throw new AdempiereException("@NotFound@ @C_Period_ID@"); + } + setC_Period_ID(period.get_ID()); + } + + private void unselectLines() + { + String sql = "UPDATE " + MDepreciationExp.Table_Name + " SET " + + MDepreciationExp.COLUMNNAME_A_Depreciation_Entry_ID + "=NULL " + + " WHERE " + + MDepreciationExp.COLUMNNAME_A_Depreciation_Entry_ID + "=?"; + int id = get_ID(); + if (id <= 0) + { // Use old ID is current ID is missing (i.e. object was deleted) + id = get_IDOld(); + } + int no = DB.executeUpdateEx(sql, new Object[]{id}, get_TrxName()); + log.fine("Updated #" + no); + } + + private void selectLines() + { + // Reset selected lines: + unselectLines(); + // Select lines: + final String sql = "UPDATE " + MDepreciationExp.Table_Name + " SET " + + MDepreciationExp.COLUMNNAME_A_Depreciation_Entry_ID + "=?" + + " WHERE " + + MDepreciationExp.COLUMNNAME_A_Depreciation_Entry_ID + " IS NULL" + + " AND TRUNC("+MDepreciationExp.COLUMNNAME_DateAcct+",'MONTH') = ?" + + " AND AD_Client_ID=? AND AD_Org_ID=?"; + ; + Timestamp dateAcct = TimeUtil.trunc(getDateAcct(), TimeUtil.TRUNC_MONTH); + int no = DB.executeUpdateEx(sql, new Object[]{get_ID(), dateAcct, getAD_Client_ID(), getAD_Org_ID()}, get_TrxName()); + log.fine("Updated #" + no); + } + + /** + * Get Lines + */ + public Iterator getLinesIterator(boolean onlyNotProcessed) + { + final String trxName = get_TrxName(); + final List params = new ArrayList(); + String whereClause = MDepreciationExp.COLUMNNAME_A_Depreciation_Entry_ID+"=?"; + params.add(get_ID()); + + if (onlyNotProcessed) + { + whereClause += " AND "+MDepreciationExp.COLUMNNAME_Processed+"=?"; + params.add(false); + } + + // ORDER BY clause - very important + String orderBy = MDepreciationExp.COLUMNNAME_A_Asset_ID + +","+MDepreciationExp.COLUMNNAME_PostingType + +","+MDepreciationExp.COLUMNNAME_A_Period + +","+MDepreciationExp.COLUMNNAME_A_Entry_Type; + + Iterator it = new Query(getCtx(), MDepreciationExp.Table_Name, whereClause, trxName) + .setOrderBy(orderBy) + .setParameters(params) + .iterate(); + return it; + } + + + public boolean processIt (String processAction) + { + m_processMsg = null; + DocumentEngine engine = new DocumentEngine (this, getDocStatus()); + return engine.processIt (processAction, getDocAction()); + } // processIt + + /** Process Message */ + private String m_processMsg = null; + /** Just Prepared Flag */ + private boolean m_justPrepared = false; + + + public boolean unlockIt() + { + log.info("unlockIt - " + toString()); + // setProcessing(false); + return true; + } // unlockIt + + + public boolean invalidateIt() + { + return false; + } + + + public String prepareIt() + { + log.info(toString()); + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), getC_DocType_ID(), getAD_Org_ID()); + + m_justPrepared = true; + + m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE); + if (m_processMsg != null) + { + return DocAction.STATUS_Invalid; + } + + setDocAction(DOCACTION_Complete); + return DocAction.STATUS_InProgress; + } + + + public boolean approveIt() + { + log.info("approveIt - " + toString()); + setIsApproved(true); + return true; + } + + + public boolean rejectIt() + { + log.info("rejectIt - " + toString()); + setIsApproved(false); + return true; + } // rejectIt + + + public String completeIt() + { + // Re-Check + if (!m_justPrepared) + { + String status = prepareIt(); + if (!DocAction.STATUS_InProgress.equals(status)) + return status; + } + // Implicit Approval + if (!isApproved()) + { + approveIt(); + } + + final MPeriod period = MPeriod.get(getCtx(), getC_Period_ID()); + + final ArrayList errors = new ArrayList(); + final Iterator it = getLinesIterator(true); + // + while(it.hasNext()) + { + try + { + Trx.run(get_TrxName(), new TrxRunnable(){ + + public void run(String trxName) + { + MDepreciationExp depexp = it.next(); + // Check if is in Period + if (!period.isInPeriod(depexp.getDateAcct())) + { + throw new AssetException("The date is not within this Period" + +" ("+depexp+", Data="+depexp.getDateAcct()+", Period="+period.getName()+")"); // TODO: translate + } + depexp.process(); + }}); + } + catch (Exception e) + { + log.log(Level.SEVERE, e.getLocalizedMessage(), e); + errors.add(e); + } + } + // + if (errors.size() > 0) + { + throw new AssetArrayException(errors); + } + + // User Validation + String valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE); + if (valid != null) + { + m_processMsg = valid; + return DocAction.STATUS_Invalid; + } + + setProcessed(true); + setDocAction(DOCACTION_Close); + return DocAction.STATUS_Completed; + } // completeIt + + + public boolean voidIt() + { + return false; + } + + + public boolean closeIt() + { + setDocAction(DOCACTION_None); + return true; + } + + + public boolean reverseCorrectIt() + { + return false; + } + + + public boolean reverseAccrualIt() + { + return false; + } + + + public boolean reActivateIt() + { + return false; + } // reActivateIt + + + + public String getSummary() + { + return toString(); + } + + + public String getProcessMsg() + { + return m_processMsg; + } + + + public int getDoc_User_ID() + { + return getCreatedBy(); + } + + + public BigDecimal getApprovalAmt() + { + return null; + } + + + public File createPDF () + { + return null; + } + + + public String getDocumentInfo() + { + return getDocumentNo(); + } + + public static void deleteFacts(MDepreciationExp depexp) + { + final String sql = "DELETE FROM Fact_Acct WHERE AD_Table_ID=? AND Record_ID=? AND Line_ID=?"; + Object[] params = new Object[]{Table_ID, depexp.getA_Depreciation_Entry_ID(), depexp.get_ID()}; + DB.executeUpdateEx(sql, params, depexp.get_TrxName()); + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java b/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java new file mode 100644 index 0000000000..3ceb11a6d0 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java @@ -0,0 +1,301 @@ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.Properties; + +import org.compiere.model.MDocType; +import org.compiere.model.MPeriod; +import org.compiere.model.Query; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Msg; +import org.compiere.util.TimeUtil; +import org.idempiere.fa.exceptions.AssetException; +import org.idempiere.fa.exceptions.AssetNotActiveException; + + +public class MDepreciationExp extends X_A_Depreciation_Exp +{ + private static final long serialVersionUID = 1L; + + private static CLogger s_log = CLogger.getCLogger(MDepreciationExp.class); + private CLogger log = CLogger.getCLogger(this.getClass()); + + /** Standard Constructor */ + public MDepreciationExp(Properties ctx, int A_Depreciation_Exp_ID, String trxName) + { + super (ctx, A_Depreciation_Exp_ID, trxName); + /** + if (A_Depreciation_Exp_ID == 0) + { + setA_Account_Number (0); + setA_Asset_ID (0); + setA_Depreciation_Exp_ID (0); + setA_Entry_Type (null); + setA_Period (0); + setDescription (null); + setExpense (Env.ZERO); + setIsDepreciated (false); + setProcessed (false); + } + */ + } + + /** Load Constructor */ + public MDepreciationExp (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** Gets depreciation expense + * @param ctx context + * @param A_Depreciation_Exp_ID depreciation expense id + * @return depreciation expense or null if A_Depreciation_Exp_ID=0 or not found + */ + public static MDepreciationExp get(Properties ctx, int A_Depreciation_Exp_ID) { + if (A_Depreciation_Exp_ID <= 0) { + return null; + } + MDepreciationExp depexp = new MDepreciationExp(ctx, A_Depreciation_Exp_ID, null); + if (depexp.get_ID() != A_Depreciation_Exp_ID) { + depexp = null; + } + return depexp; + } + + /** Create entry + */ + public static MDepreciationExp createEntry (Properties ctx, String entryType, int A_Asset_ID + , int A_Period, Timestamp DateAcct, String postingType + , int drAcct, int crAcct, BigDecimal expense + , String description + , MDepreciationWorkfile assetwk) + { + MDepreciationExp depexp = new MDepreciationExp(ctx, 0, null); + depexp.setA_Entry_Type(entryType); + depexp.setA_Asset_ID(A_Asset_ID); + depexp.setDR_Account_ID(drAcct); + depexp.setCR_Account_ID(crAcct); + depexp.setA_Account_Number_Acct(drAcct); // TODO: DELETEME + depexp.setPostingType(postingType); + depexp.setExpense(expense); + depexp.setDescription(Msg.parseTranslation(ctx, description)); + depexp.setA_Period(A_Period); + depexp.setIsDepreciated(true); + depexp.setDateAcct(DateAcct); + // + depexp.updateFrom(assetwk); + // + s_log.fine("depexp=" + depexp); + return depexp; + } + + /** + * Update fields from asset workfile + * @param wk asset workfile + */ + public void updateFrom(MDepreciationWorkfile wk) + { + setA_Asset_Cost(wk.getA_Asset_Cost()); + setA_Accumulated_Depr(wk.getA_Accumulated_Depr()); + setA_Accumulated_Depr_F(wk.getA_Accumulated_Depr_F()); + setUseLifeMonths(wk.getUseLifeMonths()); + setUseLifeMonths_F(wk.getUseLifeMonths_F()); + setA_Asset_Remaining(wk.getA_Asset_Remaining()); + setA_Asset_Remaining_F(wk.getA_Asset_Remaining_F()); + } + + private MDepreciationWorkfile getA_Depreciation_Workfile() + { + return MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName()); + } + + /** Create Depreciation Entries + * Produce record: + *
+	 *		68.. = 28..   depreciation value
+	 *	
+ */ + public static Collection createDepreciation ( + MDepreciationWorkfile assetwk, + int PeriodNo, Timestamp dateAcct, + BigDecimal amt, BigDecimal amt_F, + BigDecimal accumAmt, BigDecimal accumAmt_F, + String help, String trxName) + { + ArrayList list = new ArrayList(); + Properties ctx = assetwk.getCtx(); + MAssetAcct assetAcct = assetwk.getA_AssetAcct(dateAcct, trxName); + MDepreciationExp depexp = null; + + depexp = createEntry (ctx, A_ENTRY_TYPE_Depreciation, assetwk.getA_Asset_ID(), PeriodNo, dateAcct, assetwk.getPostingType() + , assetAcct.getA_Depreciation_Acct(), assetAcct.getA_Accumdepreciation_Acct() + , amt + , "@AssetDepreciationAmt@" + , assetwk); + if(depexp != null) { + depexp.setAD_Org_ID(assetwk.getA_Asset().getAD_Org_ID()); // added by zuhri + if (accumAmt != null) + depexp.setA_Accumulated_Depr(accumAmt); + if (accumAmt_F != null) + depexp.setA_Accumulated_Depr_F(accumAmt_F); + if (help != null && help.length() > 0) + depexp.setHelp(help); + depexp.setExpense_F(amt_F); + depexp.setA_Accumulated_Depr_Delta(amt); + depexp.setA_Accumulated_Depr_F_Delta(amt_F); + depexp.saveEx(assetwk.get_TrxName()); + list.add(depexp); + } + return list; + } + + /** + * Process this entry and save the modified workfile. + */ + public void process() + { + if(isProcessed()) + { + log.fine("@AlreadyProcessed@"); + return; + } + + // + MDepreciationWorkfile assetwk = getA_Depreciation_Workfile(); + if (assetwk == null) + { + throw new AssetException("@NotFound@ @A_Depreciation_Workfile_ID@"); + } + // + String entryType = getA_Entry_Type(); + if (MDepreciationExp.A_ENTRY_TYPE_Depreciation.equals(entryType)) + { + checkExistsNotProcessedEntries(getCtx(), getA_Asset_ID(), getDateAcct(), getPostingType(), get_TrxName()); + // + // Check if the asset is Active: + if (!assetwk.getAsset().getA_Asset_Status().equals(MAsset.A_ASSET_STATUS_Activated)) + { + throw new AssetNotActiveException(assetwk.getAsset().get_ID()); + } + // + setDateAcct(assetwk.getDateAcct()); + assetwk.adjustAccumulatedDepr(getExpense(), getExpense_F(), false); + } + else + { + // nothing to do for other entry types + } + // + setProcessed(true); + updateFrom(assetwk); + saveEx(); + + // + // Update workfile + assetwk.setA_Current_Period(); + assetwk.saveEx(); + } + + + protected boolean beforeDelete() + { + if (isProcessed()) + { + // TODO : check if we can reverse it (check period, check dateacct etc) + MDepreciationWorkfile assetwk = getA_Depreciation_Workfile(); + assetwk.adjustAccumulatedDepr(getA_Accumulated_Depr().negate(), getA_Accumulated_Depr_F().negate(), false); + assetwk.saveEx(); + } + // Try to delete postings + if (isPosted()) + { + MPeriod.testPeriodOpen(getCtx(), getDateAcct(), MDocType.DOCBASETYPE_GLDocument, getAD_Org_ID()); + MDepreciationEntry.deleteFacts(this); + } + return true; + } + + + protected boolean afterDelete(boolean success) + { + if (!success) + { + return false; + } + // + // If it was processed, we need to update workfile's current period + if (isProcessed()) + { + MDepreciationWorkfile wk = getA_Depreciation_Workfile(); + wk.setA_Current_Period(); + wk.saveEx(); + } + // + return true; + } + + protected boolean isPosted() + { + return isProcessed() && getA_Depreciation_Entry_ID() > 0; + } + + public static void checkExistsNotProcessedEntries(Properties ctx, + int A_Asset_ID, Timestamp dateAcct, String postingType, + String trxName) + { + final String whereClause = MDepreciationExp.COLUMNNAME_A_Asset_ID+"=?" + +" AND TRUNC("+MDepreciationExp.COLUMNNAME_DateAcct+",'MONTH') getNotProcessedEntries(Properties ctx, + int A_Asset_ID, String postingType, + String trxName) + { + final String whereClause = MDepreciationExp.COLUMNNAME_A_Asset_ID+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_PostingType+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_Processed+"=?"; + List list = new Query(ctx, MDepreciationExp.Table_Name, whereClause, trxName) + .setParameters(new Object[]{A_Asset_ID, postingType, false}) + .list(); + return list; +} + + + public void setProcessed(boolean Processed) + { + super.setProcessed(Processed); + // + if (get_ID() > 0) + { + final String sql = "UPDATE "+Table_Name+" SET Processed=? WHERE "+COLUMNNAME_A_Depreciation_Exp_ID+"=?"; + DB.executeUpdateEx(sql, new Object[]{Processed, get_ID()}, get_TrxName()); + } + } + + + public String toString() + { + return getClass().getSimpleName()+"["+get_ID() + +",A_Asset_ID="+getA_Asset_ID() + +",A_Period="+getA_Period() + +",DateAcct="+getDateAcct() + +",Expense="+getExpense() + +",Entry_ID="+getA_Depreciation_Entry_ID() + +"]"; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java b/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java new file mode 100644 index 0000000000..c1fc145cf0 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java @@ -0,0 +1,245 @@ +package org.compiere.model; +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.sql.CallableStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Properties; + +import org.adempiere.exceptions.DBException; +import org.compiere.model.Query; +import org.compiere.util.CCache; +import org.compiere.util.CLogMgt; +import org.compiere.util.DB; + +/** + * Method of adjusting the difference between depreciation (Calculated) and registered as (booked). + * ex. MDI, LDI, YDI ... + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class MDepreciationMethod extends X_A_Depreciation_Method +{ + /** Standard Constructor */ + public MDepreciationMethod (Properties ctx, int A_Depreciation_Method_ID, String trxName) + { + super (ctx, A_Depreciation_Method_ID, trxName); + } // MDepreciationMethod + + /** + * Load Constructor + * @param ctx context + * @param rs result set record + */ + public MDepreciationMethod (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MDepreciationMethod + + /** Cache */ + private static CCache + s_cache = new CCache(Table_Name, 5); + /** Cache for type */ + private static CCache + s_cache_forType = new CCache(Table_Name+"_DepreciationType", 5); + + /** + * + */ + private static void addToCache(MDepreciationMethod depr) + { + if (depr == null) + { + return; + } + s_cache.put(depr.get_ID(), depr); + s_cache_forType.put(depr.getDepreciationType(), depr); + } + + /** + * + */ + private static int getPrecision() + { + return 2; + } + + /** + * + */ + public static MDepreciationMethod get(Properties ctx, int A_Depreciation_Method_ID) + { + MDepreciationMethod depr = s_cache.get(A_Depreciation_Method_ID); + if (depr != null) + { + return depr; + } + depr = new MDepreciationMethod(ctx, A_Depreciation_Method_ID, null); + if (depr.get_ID() > 0) + { + addToCache(depr); + } + else + { + depr = null; + } + return depr; + } // get + + /** + * + */ + public static MDepreciationMethod get(Properties ctx, String depreciationType) + { + String key = depreciationType; + MDepreciationMethod depr = s_cache_forType.get(key); + if (depr != null) + { + return depr; + } + depr = new Query(ctx, Table_Name, COLUMNNAME_DepreciationType+"=?", null) + .setParameters(new Object[]{depreciationType}) + .firstOnly(); + addToCache(depr); + return depr; + } + + + /** + * + */ + public static BigDecimal invoke (Properties ctx, String depreciationType, + int A_Asset_ID, BigDecimal A_Asset_Adjustment, + int A_PeriodNo, String PostingType, int A_Asset_Acct_ID) + { + MDepreciationMethod depr = get(ctx, depreciationType); + if (depr == null) + { + throw new IllegalArgumentException("@NotFound@ @DepreciationType@ " + depreciationType); + } + return depr.invoke(A_Asset_ID, A_Asset_Adjustment, A_PeriodNo, PostingType, A_Asset_Acct_ID); + } + + /** + * Calculate adjustment + * @return adjustment to be applied in the specified period + */ + public BigDecimal invoke (MDepreciationWorkfile assetwk, + MAssetAcct assetAcct, BigDecimal A_Asset_Adjustment, + int A_PeriodNo) + { + return invoke(assetwk.getA_Asset_ID(), A_Asset_Adjustment, A_PeriodNo, assetAcct.getPostingType(), assetAcct.get_ID()); + } + + /** + * Calculate adjustment + * @return adjustment to be applied in the specified period + */ + public BigDecimal invoke (int A_Asset_ID, BigDecimal A_Asset_Adjustment, + int A_PeriodNo, String PostingType, int A_Asset_Acct_ID) + { + String depreciationType = getDepreciationType(); + BigDecimal retValue = null; + + if(CLogMgt.isLevelFine()) + log.fine("Entering: DepreciationMethodType=" + depreciationType + + ", A_Asset_ID=" + A_Asset_ID + ", A_Asset_Adjustment=" + A_Asset_Adjustment + + ", A_PeriodNo=" + A_PeriodNo + ", PostingType=" + PostingType + ", A_Asset_Acct_ID=" + A_Asset_Acct_ID + ); + + if (depreciationType.equalsIgnoreCase("MDI")) + { + retValue = apply_MDI(A_Asset_ID, A_Asset_Adjustment, A_PeriodNo, PostingType, A_Asset_Acct_ID); + } + else if (depreciationType.equalsIgnoreCase("YDI")) + { + retValue = apply_YDI(A_Asset_ID, A_Asset_Adjustment, A_PeriodNo, PostingType, A_Asset_Acct_ID); + } + else if (depreciationType.equalsIgnoreCase("LDI")) + { + retValue = apply_LDI(A_Asset_ID, A_Asset_Adjustment, A_PeriodNo, PostingType, A_Asset_Acct_ID); + } + else + { + String sql = "{ ? = call "+ depreciationType + "(?, ?, ?, ?, ?) }"; + CallableStatement cs = null; + try + { + cs = DB.prepareCall(sql); + cs.registerOutParameter(1, java.sql.Types.DECIMAL); + cs.setInt(2, A_Asset_ID); + cs.setBigDecimal(3, A_Asset_Adjustment); + cs.setInt(4, A_PeriodNo); + cs.setString(5, PostingType); + cs.setInt(6, A_Asset_Acct_ID); + cs.execute(); + retValue = cs.getBigDecimal(1); + cs.close(); + } + catch (SQLException e) + { + throw new DBException(e); + } + finally + { + DB.close(cs); + cs = null; + } + } + // + if (retValue == null) + { + retValue = BigDecimal.ZERO; + } + // + if(CLogMgt.isLevelFine()) log.fine("Leaving: retValue=" + retValue); + return retValue; + } + + /** MDI - adjustment is made ​​in the current month + * + */ + public BigDecimal apply_MDI (int A_Asset_ID, BigDecimal A_Asset_Adjustment, int A_PeriodNo, String PostingType, int A_Asset_Acct_ID) + { + return A_Asset_Adjustment; + } + + /** YDI -adjustment is made ​​for periods of the year remains + * + */ + public BigDecimal apply_YDI (int A_Asset_ID, BigDecimal A_Asset_Adjustment, int A_PeriodNo, String PostingType, int A_Asset_Acct_ID) + { + BigDecimal remainingPeriods = new BigDecimal(12 - A_PeriodNo); + if (remainingPeriods.signum() == 0) { + log.warning("A_PeriodNo=" + A_PeriodNo + " => remainingPeriods=" + remainingPeriods); + } + BigDecimal periodAdjustment = A_Asset_Adjustment.divide(remainingPeriods, getPrecision(), RoundingMode.HALF_UP); + + if(CLogMgt.isLevelFine()) { + log.fine("A_Asset_Adjustment=" + A_Asset_Adjustment + ", remainingPeriods=" + remainingPeriods + " => periodAdjustment=" + periodAdjustment); + } + return periodAdjustment; + } + + /** LDI - adjustment is made ​​on the remaining life + * + */ + public BigDecimal apply_LDI (int A_Asset_ID, BigDecimal A_Asset_Adjustment, int A_PeriodNo, String PostingType, int A_Asset_Acct_ID) + { + MDepreciationWorkfile wk = MDepreciationWorkfile.get(getCtx(), A_Asset_ID, PostingType); + + int A_Life_Period = wk.getA_Life_Period(); + int A_Period_Posted = wk.getA_Period_Posted(); + BigDecimal remainingPeriods = new BigDecimal(A_Life_Period - A_Period_Posted + 1); + if (remainingPeriods.signum() == 0) { + log.warning("A_Life_Period=" + A_Life_Period + ", A_Period_Posted=" + A_Period_Posted + " => remainingPeriods=" + remainingPeriods); + return BigDecimal.ZERO; + } + + BigDecimal periodAdjustment = A_Asset_Adjustment.divide(remainingPeriods, getPrecision(), RoundingMode.HALF_UP); + + if(CLogMgt.isLevelFine()) { + log.fine("A_Asset_Adjustment=" + A_Asset_Adjustment + ", remainingPeriods=" + remainingPeriods + " => periodAdjustment=" + periodAdjustment); + } + return periodAdjustment; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java b/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java index 774e032ecc..de63f5d164 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java @@ -1,38 +1,39 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Smart Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts - * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. - * Contributor(s): ______________________________________. - *****************************************************************************/ package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Calendar; +import java.util.Collection; import java.util.Properties; +import org.adempiere.exceptions.AdempiereException; +import org.apache.commons.collections.keyvalue.MultiKey; +import org.compiere.model.Query; +import org.compiere.util.CCache; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; +import org.idempiere.fa.feature.UseLife; +import org.idempiere.fa.feature.UseLifeImpl; + /** * Depreciation Workfile Model - * - * + * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ public class MDepreciationWorkfile extends X_A_Depreciation_Workfile + implements UseLife { /** * */ - private static final long serialVersionUID = 9075233803956474274L; + private static final long serialVersionUID = -3814417671427820714L; /** - * Default Constructor X_A_Depreciation_Workfile + * Default Constructor * @param ctx context * @param M_InventoryLine_ID line */ @@ -41,9 +42,15 @@ public class MDepreciationWorkfile extends X_A_Depreciation_Workfile super (ctx,A_Depreciation_Workfile_ID, trxName); if (A_Depreciation_Workfile_ID == 0) { - // + setPostingType(POSTINGTYPE_Actual); + setA_QTY_Current(Env.ZERO); + setA_Asset_Cost(Env.ZERO); + setA_Accumulated_Depr(Env.ZERO); + setA_Period_Posted(0); + setA_Current_Period(0); } - } // MAssetAddition + } // MDepreciationWorkfile + /** * Load Constructor * @param ctx context @@ -52,71 +59,733 @@ public class MDepreciationWorkfile extends X_A_Depreciation_Workfile public MDepreciationWorkfile (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); - } // MInventoryLine - + } // MDepreciationWorkfile + /** Asset (parent) */ + private MAsset m_asset = null; + + /** Get Asset */ + public MAsset getAsset() { + return getAsset(false); + } + + /** Get asset using this trxName + * @param requery requery asset + * @return parent asset + */ + public MAsset getAsset(boolean requery) + { + if (m_asset == null || requery) { + m_asset = MAsset.get(getCtx(), getA_Asset_ID(), get_TrxName()); + } + if (m_asset.get_ID() <= 0) { + m_asset = null; + } + return m_asset; + } + + /** Set asset + * @param asset + */ + public void setAsset(MAsset asset) + { + setA_Asset_ID(asset.get_ID()); + m_asset = asset; + } + + /** Gets asset's service date (commissioning) + * @return asset service date + */ + + public Timestamp getAssetServiceDate() + { + MAsset asset = getAsset(); + if (asset == null) { + return null; + } + return asset.getAssetServiceDate(); + } + + + /** Gets asset's class + * @return asset class id + */ + /* commented out by @win + public int getA_Asset_Class_ID() + { + MAsset asset = getAsset(); + if (asset == null) { + return 0; + } + return asset.getA_Asset_Class_ID(); + } + */ // end comment by @win + + /** After save + * @param newRecord + * @return true on success + */ protected boolean afterSave (boolean newRecord) { - - log.info ("beforeSave"); - //int p_A_Asset_ID = 0; - int p_wkasset_ID = 0; - //p_A_Asset_ID = getA_Asset_ID(); - p_wkasset_ID = getA_Depreciation_Workfile_ID(); - StringBuilder sqlB = new StringBuilder ("UPDATE A_Depreciation_Workfile ") - .append("SET Processing = 'Y'") - .append(" WHERE A_Depreciation_Workfile_ID = " ).append(p_wkasset_ID ); - - int no = DB.executeUpdate (sqlB.toString(),null); - if (no == -1) - log.info("Update to Deprecaition Workfile failed"); + if(m_buildDepreciation) + { + buildDepreciation(); + } return true; } - /** - * after Save - * @param newRecord new - * @return true - */ + protected boolean beforeSave (boolean newRecord) { + log.info ("Entering: trxName=" + get_TrxName()); - log.info ("beforeSave"); - int p_A_Asset_ID = 0; - //int p_wkasset_ID = 0; - p_A_Asset_ID = getA_Asset_ID(); - //p_wkasset_ID = getA_Depreciation_Workfile_ID(); + // copy UseLife to A_Life + if (newRecord) { //@win: should only update only if newrecord + setA_Life_Period(getUseLifeMonths()); + setA_Asset_Life_Years(getUseLifeYears()); + setA_Life_Period_F(getUseLifeMonths_F()); + setA_Asset_Life_Years_F(getUseLifeYears_F()); + } - log.info ("afterSave"); - X_A_Asset asset = new X_A_Asset (getCtx(), p_A_Asset_ID, null); - asset.setA_QTY_Current(getA_QTY_Current()); - asset.setA_QTY_Original(getA_QTY_Current()); - asset.saveEx(); - - if (getA_Accumulated_Depr().equals(null)) - setA_Accumulated_Depr(new BigDecimal(0.0)); - - if (new BigDecimal(getA_Period_Posted()).equals(null)) - setA_Period_Posted(0); - - - MAssetChange change = new MAssetChange (getCtx(), 0,null); - log.info("0"); - String sql2 = "SELECT COUNT(*) FROM A_Depreciation_Workfile WHERE A_Asset_ID=? AND PostingType = ?"; - if (DB.getSQLValue(null, sql2, p_A_Asset_ID,getPostingType())!= 0) + // If it is fully amortized, change the state's FA + MAsset asset = getAsset(true); + if (MAsset.A_ASSET_STATUS_Activated.equals(asset.getA_Asset_Status()) + && isFullyDepreciated()) { - change.setA_Asset_ID(p_A_Asset_ID); - change.setChangeType("BAL"); - change.setTextDetails(MRefList.getListDescription (getCtx(),"A_Update_Type" , "BAL")); - change.setPostingType(getPostingType()); - change.setAssetValueAmt(getA_Asset_Cost()); - change.setA_QTY_Current(getA_QTY_Current()); - change.setA_QTY_Original(getA_QTY_Current()); - change.setAssetAccumDepreciationAmt(getA_Accumulated_Depr()); - change.saveEx(); - } - return true; + asset.changeStatus(MAsset.A_ASSET_STATUS_Depreciated, null); + asset.saveEx(); + } + + // Fix DateAcct + if(is_ValueChanged(COLUMNNAME_DateAcct)) + { + setDateAcct(TimeUtil.getMonthLastDay(getDateAcct())); + } + + // + BigDecimal cost = getA_Asset_Cost(); + BigDecimal accumDep_C = getA_Accumulated_Depr(); + setA_Asset_Remaining(cost.subtract(accumDep_C)); + BigDecimal accumDep_F = getA_Accumulated_Depr_F(); + setA_Asset_Remaining_F(cost.subtract(accumDep_F)); + + // Financing + { + String mainColumnName = null; + if (newRecord || is_ValueChanged(COLUMNNAME_A_Asset_Cost)) + { + mainColumnName = COLUMNNAME_A_Asset_Cost; + } + else if (is_ValueChanged(COLUMNNAME_A_Valoare_Cofinantare)) + { + mainColumnName = COLUMNNAME_A_Valoare_Cofinantare; + } + else if (is_ValueChanged(COLUMNNAME_A_Valoare_Tert)) + { + mainColumnName = COLUMNNAME_A_Valoare_Tert; + } + updateFinantare(this, mainColumnName); + } + + + log.info("Leaving: trxName=" + get_TrxName() + " [RETURN TRUE]"); + return true; } // beforeSave + + /** + * Asset is fully depreciated + *
    + *
  • If PostingType != ACTUAL then return false + *
  • Do not check your current asset + *
+ * @return true if the asset is fully depreciated, false otherwise + */ + public boolean isFullyDepreciated() + { + if(!getPostingType().equals(POSTINGTYPE_Actual)) + { + return false; + } + + // check if is fully depreciated + BigDecimal remainingAmt_C = getRemainingCost(null, false); + BigDecimal remainingAmt_F = getRemainingCost(null, true); + if(remainingAmt_C.signum() == 0 && remainingAmt_F.signum() == 0) + { + //if A_Asset_Cost is 0 have a voided addition, in this case asset is not full depreciated + if (getA_Asset_Cost().signum() == 0) + { + return false; + } + // + return true; + } + + return false; + } + + /** + * + */ + public MDepreciationWorkfile(MAsset asset, String postingType, MAssetGroupAcct assetgrpacct) + { + this(asset.getCtx(), 0, asset.get_TrxName()); + setA_Asset_ID(asset.getA_Asset_ID()); + setAD_Org_ID(asset.getAD_Org_ID()); //@win added + setA_Asset_Cost(asset.getA_Asset_Cost()); + setA_Accumulated_Depr(asset.getA_Accumulated_Depr()); + setA_Accumulated_Depr_F(asset.getA_Accumulated_Depr_F()); + setA_Current_Period(asset.getA_Current_Period()); + + setIsDepreciated(asset.isDepreciated()); + setPostingType(postingType); + // + // Copy UseLife values from asset group to workfile + if (assetgrpacct == null) + { + assetgrpacct = MAssetGroupAcct.forA_Asset_Group_ID(asset.getCtx(), asset.getA_Asset_Group_ID(), postingType); + } + UseLifeImpl.copyValues(this, assetgrpacct); + + // + // Set Date Acct from Asset + Timestamp dateAcct = asset.getDateAcct(); + if (dateAcct != null) + { + dateAcct = TimeUtil.addMonths(dateAcct, 1); + setDateAcct(dateAcct); + } + // + // Set UseLife values from asset (if any) + if (asset.getUseLifeMonths() > 0) + { + UseLifeImpl.get(this, false).setUseLifeMonths(asset.getUseLifeMonths()); + } + if (asset.getUseLifeMonths_F() > 0) + { + UseLifeImpl.get(this, true).setUseLifeMonths(asset.getUseLifeMonths_F()); + } + // + dump(); + } + + /** Logger */ + private CLogger log = CLogger.getCLogger(getClass()); + public static Collection forA_Asset_ID(Properties ctx, int asset_id, String trxName) + { + return new Query(ctx, Table_Name, MDepreciationWorkfile.COLUMNNAME_A_Asset_ID+"=?", trxName) + .setParameters(new Object[]{asset_id}) + .list(); + } + + /** + * + * @param ctx + * @param A_Asset_ID + * @param postingType + * @return workfile + * @see #get(Properties, int, String, String) + */ + public static MDepreciationWorkfile get (Properties ctx, int A_Asset_ID, String postingType) + { + return get(ctx, A_Asset_ID, postingType, null); + } + + /** + * Get/load workfile from cache (if trxName is null) + * @param ctx + * @param A_Asset_ID + * @param postingType + * @param trxName + * @return workfile + */ + public static MDepreciationWorkfile get (Properties ctx, int A_Asset_ID, String postingType, String trxName) + { + if (A_Asset_ID <= 0 || postingType == null) + { + return null; + } + + final MultiKey key = new MultiKey(A_Asset_ID, postingType); + if (trxName == null) + { + MDepreciationWorkfile wk = s_cacheAsset.get(key); + if (wk != null) + return wk; + } + /* @win temporary change as this code is causing duplicate create MDepreciationWorkfile on asset addition + final String whereClause = COLUMNNAME_A_Asset_ID+"=?" + +" AND "+COLUMNNAME_PostingType+"=? AND "+COLUMNNAME_A_QTY_Current+">?"; + MDepreciationWorkfile wk = new Query(ctx, MDepreciationWorkfile.Table_Name, whereClause, trxName) + .setParameters(new Object[]{A_Asset_ID, postingType, 0}) + .firstOnly(); + */ + final String whereClause = COLUMNNAME_A_Asset_ID+"=?" + +" AND "+COLUMNNAME_PostingType+"=? "; + MDepreciationWorkfile wk = new Query(ctx, MDepreciationWorkfile.Table_Name, whereClause, trxName) + .setParameters(new Object[]{A_Asset_ID, postingType}) + .firstOnly(); + + + if (trxName == null && wk != null) + { + s_cacheAsset.put(key, wk); + } + return wk; + } + /** Static cache: Asset/PostingType -> Workfile */ + private static CCache + s_cacheAsset = new CCache(Table_Name+"_Asset", 10); + + /** Returns the date of the last action + */ + public Timestamp getLastActionDate() + { + return TimeUtil.getMonthLastDay(TimeUtil.addMonths(getDateAcct(), -1)); + } + + /** Check if the asset is depreciated at the specified date + * @param date + * @return true if you amortized until the specified date, otherwise false + */ + public boolean isDepreciated(Timestamp date) + { + Timestamp lastActionDate = getLastActionDate(); + boolean isDepr = !date.after(lastActionDate); // date <= lastActionDate + + log.fine("LastActionDate=" + lastActionDate + ", GivenDate=" + date + " => isDepreciated=" + isDepr); + return isDepr; + } + + /** + * Get Asset Accounting for this workfile + * @return asset accounting model + */ + public MAssetAcct getA_AssetAcct(Timestamp dateAcct, String trxName) + { + return MAssetAcct.forA_Asset_ID(getCtx(), getA_Asset_ID(), getPostingType(), dateAcct, trxName); + } -} // MAssetAddition + /** Returns the current cost of FAs. It is calculated as the difference between acquisition value and the value that you (A_Salvage_Value) + * @return the current cost of FAs + */ + public BigDecimal getActualCost() + { + return getActualCost(getA_Asset_Cost()); + } + + /** */ + public BigDecimal getActualCost(BigDecimal assetCost) + { + return assetCost.subtract(getA_Salvage_Value()); + } + + /** + * + * @param deltaAmt + * @param deltaQty + * @param reset + */ + public void adjustCost(BigDecimal deltaAmt, BigDecimal deltaQty, boolean reset) + { + BigDecimal newCost = Env.ZERO; + BigDecimal newQty = Env.ZERO; + if (!reset) + { + newCost = getA_Asset_Cost(); + newQty = getA_QTY_Current(); + } + newCost = newCost.add(deltaAmt); + newQty = newQty.add(deltaQty); + + // TODO: crashes if I cancel an Issue: +// if (newQty.signum() < 0) { +// throw new ArhRuntimeException(getCtx(), "@A_QTY_Current@ < 0"); +// } + + // + // There must be verified that the remaining value to be greater than the amount diminished + // total devaluation because if the entire asset value (A_Asset_Cost) must be brought to 0. +// if (deltaAmt.signum() < 0) +// { +// BigDecimal remainingAmt_C = getRemainingCost(null, false); +// if (remainingAmt_C.compareTo(deltaAmt.negate()) < 0) +// { +// throw new ArhRuntimeException(getCtx(), "@A_Asset_Remaining@ < @DeltaAmt@") +// .addInfo("@A_Asset_Cost@=", getA_Asset_Cost()) +// .addInfo("@A_Accumulated_Depr@=", getA_Accumulated_Depr()); +// } +// BigDecimal remainingAmt_F = getRemainingCost(null, true); +// if (remainingAmt_F.compareTo(deltaAmt.negate()) < 0) +// { +// throw new ArhRuntimeException(getCtx(), "@A_Asset_Remaining_F@ < @DeltaAmt@") +// .addInfo("@A_Asset_Cost=@", getA_Asset_Cost()) +// .addInfo("@A_Accumulated_Depr@=", getA_Accumulated_Depr_F()); +// } +// } + + setA_Asset_Cost(newCost); + setA_QTY_Current(newQty); + + if(CLogMgt.isLevelFine()) log.fine("adjustCost(" + deltaAmt + ", " + deltaQty + ", reset=" + reset + ") => amt=" + getA_Asset_Cost() + ", qty=" + getA_QTY_Current()); + } + + /** + * Adjust Accumulated depreciation + * @param amt + * @param amt_F + * @param reset + * @return + */ + public boolean adjustAccumulatedDepr(BigDecimal amt, BigDecimal amt_F, boolean reset) + { + if (amt == null) + { + amt = Env.ZERO; + } + if (amt_F == null) + { + amt_F = Env.ZERO; + } + setA_Accumulated_Depr(amt.add(reset ? Env.ZERO : getA_Accumulated_Depr())); + setA_Accumulated_Depr_F(amt_F.add(reset ? Env.ZERO : getA_Accumulated_Depr_F())); + return true; + } + + /** + * Adjust use life years + */ + public void adjustUseLife(int deltaUseLifeYears, int deltaUseLifeYears_F, boolean reset) + { + if(CLogMgt.isLevelFine()) log.fine("Entering: deltaUseLifeYears=" + deltaUseLifeYears + ", deltaUseLifeYears_F=" + deltaUseLifeYears_F); + // + UseLifeImpl.get(this, false).adjustUseLifeYears(deltaUseLifeYears, reset); + UseLifeImpl.get(this, true).adjustUseLifeYears(deltaUseLifeYears_F, reset); + // + if(CLogMgt.isLevelFine()) log.fine("Leaving"); + } + + /** */ + public int getUseLifeMonths(boolean fiscal) + { + return fiscal ? getUseLifeMonths_F() : getUseLifeMonths(); + } + + /** */ + public BigDecimal getA_Accumulated_Depr(boolean fiscal) + { + return fiscal ? getA_Accumulated_Depr_F() : getA_Accumulated_Depr(); + } + + /** */ + public BigDecimal getAccumulatedCost() + { + return getA_Accumulated_Depr(isFiscal()); + } + + /** */ + public BigDecimal getReevaluationCost() + { + return Env.ZERO; + } + + /** + * Returns the residual (remaining) value + */ + public BigDecimal getRemainingCost(BigDecimal accumAmt, boolean fiscal) + { + BigDecimal cost = getActualCost(); + if (accumAmt == null) { + accumAmt = getA_Accumulated_Depr(fiscal); + } + return cost.subtract(accumAmt); + } + + /** + * Returns the residual (remaining) value + */ + public BigDecimal getRemainingCost(BigDecimal accumAmt) + { + return getRemainingCost(accumAmt, isFiscal()); + } + + /** */ + public int getRemainingPeriods(int A_Current_Period, MDepreciation method) + { + int useLifePeriods = getUseLifeMonths(isFiscal()); + if (method != null) { + useLifePeriods += method.getFixMonthOffset(); + } + int currentPeriod = (A_Current_Period >= 0 ? A_Current_Period : getA_Current_Period()); + return useLifePeriods - currentPeriod; + } + /** */ + public int getRemainingPeriods(int A_Current_Period) + { + return getRemainingPeriods(A_Current_Period, null); + } + + /** */ + private boolean m_isFiscal = false; + /** */ + public boolean isFiscal() + { + return m_isFiscal; + } + /** + * Set fiscal flag (temporary - is not modifing the workfile) + * @param fiscal + */ + public void setFiscal(boolean fiscal) + { + m_isFiscal = fiscal; + } + + /** Increment the current period (A_Current_Period) 1, and a month DateAcct */ + public void incA_Current_Period() + { + int old_period = getA_Current_Period(); + Timestamp old_date = getDateAcct(); + int new_period = old_period + 1; + Timestamp new_date = TimeUtil.addMonths(getDateAcct(), 1); + setA_Current_Period(new_period); + setDateAcct(new_date); + // + if(CLogMgt.isLevelFine()) log.fine("(A_Current_Period, DateAcct)=(" + old_period + ", " + old_date + ")->(" + new_period + ", " + new_date + ")"); + } + + /** + * Set A Current Period (and Data Act) processed just after the last expense. + * Do not save. + */ + public void setA_Current_Period() + { + String whereClause = MDepreciationExp.COLUMNNAME_A_Asset_ID+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_PostingType+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_Processed+"=? AND IsActive=?" + ; + // + MDepreciationExp depexp = new Query(getCtx(), MDepreciationExp.Table_Name, whereClause, get_TrxName()) + .setParameters(new Object[]{getA_Asset_ID(), getPostingType(), true, true}) + .setOrderBy(MDepreciationExp.COLUMNNAME_A_Period+" DESC" + +","+MDepreciationExp.COLUMNNAME_DateAcct+" DESC") + .first(); + if (depexp != null) + { + setA_Current_Period(depexp.getA_Period()); + setDateAcct(depexp.getDateAcct()); + incA_Current_Period(); + } + else + { + log.info("There are no records from which to infer its"); + } + + } + + /** Build depreciation flag - if true, the depreciation should be built after save */ + private boolean m_buildDepreciation = false; + + /** + * Build depreciation (A_Depreciation_Exp) entries. More exactly, is deleting not Processed entries. + * and create new ones again. + * WARNING: IS NOT modifying workfile (this) + */ + + public void buildDepreciation() + { + if (!isDepreciated()) + { + return; + } + + StringBuffer sb = new StringBuffer(); + load(get_TrxName()); // reload workfile + MAssetAcct assetacct = getA_AssetAcct(null, get_TrxName()); + // TODO: teo_sarca: need to evaluate what happens when we change Depreciation method !!! + MDepreciation depreciation_C = MDepreciation.get(getCtx(), assetacct.getA_Depreciation_ID()); + MDepreciation depreciation_F = MDepreciation.get(getCtx(), assetacct.getA_Depreciation_F_ID()); + //~ int offset_C = depreciation_C.getFixMonthOffset(); + //~ int offset_F = depreciation_F.getFixMonthOffset(); + int offset_C = 0, offset_F = 0; + + BigDecimal assetCost = getActualCost(); + BigDecimal accumDep_C = getA_Accumulated_Depr(false); + BigDecimal accumDep_F = getA_Accumulated_Depr(true); + int lifePeriods_C = getUseLifeMonths(false) + offset_C; + int lifePeriods_F = getUseLifeMonths(true) + offset_F; + int lifePeriods = (lifePeriods_C > lifePeriods_F ? lifePeriods_C : lifePeriods_F); + BigDecimal exp_C = Env.ZERO; + BigDecimal exp_F = Env.ZERO; + + //logging + if(CLogMgt.isLevelFine()) + { + sb.append("currentPeriod=" + getA_Current_Period() + ", AssetServiceDate=" + getAssetDepreciationDate() + "\n"); + sb.append("offset: C|F=" + offset_C + "|" + offset_F + "\n"); + sb.append("life: C|F=" + lifePeriods_C + "|" + lifePeriods_F + " + offset =" + lifePeriods + "\n"); + } + + truncDepreciation(); + int A_Current_Period = getA_Current_Period(); + for (int currentPeriod = A_Current_Period, cnt = 1; currentPeriod <= lifePeriods; currentPeriod++, cnt++) + { + exp_C = Env.ZERO; + exp_F = Env.ZERO; + + String help = "" + accumDep_C + "|" + accumDep_F + " + "; + + if (lifePeriods_C > currentPeriod || !depreciation_C.requireLastPeriodAdjustment()) + { + setFiscal(false); + exp_C = depreciation_C.invoke(this, assetacct, currentPeriod, accumDep_C); + accumDep_C = accumDep_C.add(exp_C); + } + else if (lifePeriods_C == currentPeriod) + { // last period + exp_C = assetCost.subtract(accumDep_C); + accumDep_C = assetCost; + } + + if (lifePeriods_F > currentPeriod || !depreciation_F.requireLastPeriodAdjustment()) + { + setFiscal(true); + exp_F = depreciation_F.invoke(this, assetacct, currentPeriod, accumDep_F); + accumDep_F = accumDep_F.add(exp_F); + } + else if (lifePeriods_F == currentPeriod) + { // last period (fiscal) + exp_F = assetCost.subtract(accumDep_F); + accumDep_F = assetCost; + } + + help += "" + exp_C + "|" + exp_F + " = " + accumDep_C + "|" + accumDep_F; + + // added by zuhri + int months = 0; + + months = months + (currentPeriod - A_Current_Period); + Timestamp dateAcct = TimeUtil.getMonthLastDay(TimeUtil.addMonths(getDateAcct(), months)); + + MDepreciationExp.createDepreciation (this, currentPeriod, dateAcct, + exp_C, exp_F, + accumDep_C, accumDep_F, + help, get_TrxName()); + if(CLogMgt.isLevelFine()) + { + String info = "" + cnt + ": period=" + currentPeriod + "/" + lifePeriods_C + "|" + lifePeriods_F + + ", exp=" + exp_C + "|" + exp_F + ", accumDep=" + accumDep_C + "|" + accumDep_F + + ", DateAcct=" + dateAcct; + log.fine("=> " + info + Env.NL + Env.NL); + sb.append(info + Env.NL); + } + } // for + log.fine(sb.toString()); + + m_buildDepreciation = false; + } // buildDepreciation + + + + /** + * Truncate not processed depreciation entries. + * IS NOT modifying workfile. + */ + public void truncDepreciation() + { + String trxName = get_TrxName(); + + int A_Current_Period = getA_Current_Period(); + final String sql = "DELETE FROM "+MDepreciationExp.Table_Name + +" WHERE " + +MDepreciationExp.COLUMNNAME_Processed+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_A_Period+">=?" + +" AND "+MDepreciationExp.COLUMNNAME_A_Asset_ID+"=?" + +" AND "+MDepreciationExp.COLUMNNAME_PostingType+"=?" + ; + Object[] params = new Object[]{false, A_Current_Period, getA_Asset_ID(), getPostingType()}; + int no = DB.executeUpdateEx(sql, params, trxName); + log.fine("sql=" + sql + "\nDeleted #" + no); + } // truncDepreciation + + /** + * Update Founding Mode related fields + * @param m model + * @param changedColumnName column name that has been changed + */ + public static void updateFinantare(SetGetModel m, String changedColumnName) + { + //Own contribution: + BigDecimal valCofinantare = SetGetUtil.get_AttrValueAsBigDecimal(m, COLUMNNAME_A_Valoare_Cofinantare); + // Asset Value: + BigDecimal assetCost = SetGetUtil.get_AttrValueAsBigDecimal(m, COLUMNNAME_A_Asset_Cost); + // Third value: + BigDecimal valTert = SetGetUtil.get_AttrValueAsBigDecimal(m, COLUMNNAME_A_Valoare_Tert); + + // Calculate values + if (valCofinantare.signum() == 0 && valTert.signum() == 0) + { + // Values ​​have never been set, so put everything on their own financing + valCofinantare = assetCost; + valTert = Env.ZERO; + } + else if (COLUMNNAME_A_Asset_Cost.equals(changedColumnName)) + { + valCofinantare = assetCost.subtract(valTert); + } + else if (COLUMNNAME_A_Valoare_Cofinantare.equals(changedColumnName)) + { + valTert = assetCost.subtract(valCofinantare); + } + else if (COLUMNNAME_A_Valoare_Tert.equals(changedColumnName)) + { + valCofinantare = assetCost.subtract(valTert); + } + else + { + valTert = assetCost.subtract(valCofinantare); + } + + // Financing Type + String tipFinantare = A_TIP_FINANTARE_Cofinantare; + if (valTert.signum() == 0) + { + tipFinantare = A_TIP_FINANTARE_Proprie; + } + else if (valCofinantare.signum() == 0) + { + tipFinantare = A_TIP_FINANTARE_Terti; + } + // + // Set values + m.set_AttrValue(COLUMNNAME_A_Tip_Finantare, tipFinantare); + m.set_AttrValue(COLUMNNAME_A_Valoare_Cofinantare, valCofinantare); + m.set_AttrValue(COLUMNNAME_A_Valoare_Tert, valTert); + // + // If the method is invoked for a persistent object when reset mode of financing + if (A_TIP_FINANTARE_Proprie.equals(tipFinantare) && SetGetUtil.isPersistent(m)) + { + m.set_AttrValue(COLUMNNAME_A_FundingMode_ID, null); + } + } + + public boolean set_AttrValue(String ColumnName, Object value) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return false; + return set_ValueNoCheck(ColumnName, value); + } + public Object get_AttrValue(String ColumnName) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return null; + return get_Value(index); + } + public boolean is_AttrValueChanged(String ColumnName) { + int index = get_ColumnIndex(ColumnName); + if (index < 0) + return false; + return is_ValueChanged(index); + } +} // MDepreciationWorkfile diff --git a/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java b/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java new file mode 100644 index 0000000000..b6186c4cb0 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java @@ -0,0 +1,330 @@ +package org.compiere.model; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; + +import org.adempiere.exceptions.FillMandatoryException; +import org.compiere.model.MClient; +import org.compiere.model.MProduct; +import org.compiere.model.MUOM; +import org.compiere.util.CLogMgt; +import org.compiere.util.DB; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Util; + +/** + * @author Teo Sarca, SC ARHIPAC SRL + * @version $Id + */ +public class MIFixedAsset extends X_I_FixedAsset +{ + private static final long serialVersionUID = 1L; + + /** Default depreciation method */ + private static final String s_defaultDepreciationType = "SL"; + + /** Standard Constructor */ + public MIFixedAsset (Properties ctx, int I_FixedAsset_ID, String trxName) + { + super (ctx, I_FixedAsset_ID, trxName); + } // MIFixedAsset + + /** + * Load Constructor + * @param ctx context + * @param rs result set record + */ + public MIFixedAsset (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MIFixedAsset + + /** Create / Load product + * @return product + */ + public MProduct getCreateProduct() + { + Properties ctx = getCtx(); + String trxName = get_TrxName(); + + int M_Product_ID = getM_Product_ID(); + if (M_Product_ID <= 0) { + StringBuffer whereClause = new StringBuffer(); + String key = getProductValue(); + if (key == null || key.trim().length() == 0) { + key = getName(); + whereClause.append("UPPER(Name)="); + } + else { + whereClause.append("UPPER(Value)="); + } + if (key == null || key.trim().length() == 0) { + throw new FillMandatoryException(COLUMNNAME_ProductValue, COLUMNNAME_Name); + } + key = key.toUpperCase(); + whereClause.append(DB.TO_STRING(key)); + whereClause.append(" AND AD_Client_ID=").append(getAD_Client_ID()); + String sql = "SELECT M_Product_ID FROM M_Product WHERE " + whereClause.toString(); + M_Product_ID = DB.getSQLValueEx(trxName, sql); + log.fine("M_Product_ID=" + M_Product_ID + " -- sql=" + sql); + } + + MProduct prod = null; + // Create MProduct: + if (M_Product_ID <= 0) + { + prod = new MProduct(ctx, 0, trxName); + prod.setName(getName()); + String value = getProductValue(); + if (value != null && value.trim().length() > 0) { + prod.setValue(value); + } + + prod.setM_Product_Category_ID(m_M_Product_Category_ID); + if (getC_UOM_ID() > 0) + { + prod.setC_UOM_ID(getC_UOM_ID()); + } + else + { + prod.setC_UOM_ID(MUOM.getDefault_UOM_ID(ctx)); + } + // Default Tax Category: + String sql = "SELECT C_TaxCategory_ID FROM C_TaxCategory WHERE AD_Client_ID IN (0,?) ORDER BY IsDefault DESC, AD_Client_ID DESC, C_TaxCategory_ID"; + int C_TaxCategory_ID = DB.getSQLValueEx(null, sql, Env.getAD_Client_ID(ctx)); + prod.setC_TaxCategory_ID(C_TaxCategory_ID); + // + prod.saveEx(trxName); + } + else { + prod = new MProduct(ctx, M_Product_ID, trxName); + } + + setProduct(prod); + return prod; + } // getCreateProduct + + /** + */ + private void fixAmount(int idx) { + //~ try { + BigDecimal amt = (BigDecimal)get_Value(idx); + if (amt == null) + return; + + int precision = getStdPrecision(); + BigDecimal newAmt = amt.setScale(getStdPrecision(), RoundingMode.HALF_UP); + set_Value(idx, newAmt); + if(CLogMgt.isLevelFine()) log.fine(getInventoryNo() + ": " + get_ColumnName(idx) + "=" + amt + "->" + newAmt + " (precision=" + precision + ")"); + //~ } catch (Exception e) {} + } + + /** + */ + private void fixKeyValue(int idx) { + //~ try { + String name = (String)get_Value(idx); + if (name == null) + return; + String newName = name.trim().replaceAll("[ ]+", " "); + if(CLogMgt.isLevelFine()) log.fine(getInventoryNo() + ": " + get_ColumnName(idx) + "=[" + name + "]->[" + newName + "]"); + set_Value(idx, newName); + //~ } catch (Exception e) {} + } + + /** + * + */ + public void process() + { + if (isProcessed()) { + return ; + } + try { + if (getUseLifeMonths() <= 0) + { + throw new FillMandatoryException(COLUMNNAME_UseLifeMonths); + } + /*//comment by @win + if (getA_Asset_Class_ID() <= 0) + { + throw new FillMandatoryException(COLUMNNAME_A_Asset_Class_ID); + } + + // Fix Asset Class + MAssetClass assetClass = MAssetClass.get(getCtx(), getA_Asset_Class_ID()); + setA_Asset_Class_Value(assetClass.getValue()); + */ //end comment by @win + + // Round amounts: + int col_count = get_ColumnCount(); + for (int idx = 0; idx < col_count; idx++) + { + int dt = get_ColumnDisplayType(idx); + if (DisplayType.Amount == dt) + fixAmount(idx); + else if (DisplayType.isText(dt)) + fixKeyValue(idx); + } + + // Create/Set Product + MProduct product = getCreateProduct(); + log.fine("product=" + product); + if (getM_Product_ID() <= 0) { + throw new FillMandatoryException(COLUMNNAME_M_Product_ID); + } + + // Check Asset Group + int A_Asset_Group_ID = getA_Asset_Group_ID(); + if (A_Asset_Group_ID <= 0) + { + if (m_A_Asset_Group_ID > 0) { + A_Asset_Group_ID = m_A_Asset_Group_ID; + } + else { + A_Asset_Group_ID = product.getA_Asset_Group_ID(); + } + } + if (A_Asset_Group_ID > 0) + { + setA_Asset_Group_ID(A_Asset_Group_ID); + } + else + { + throw new FillMandatoryException(COLUMNNAME_A_Asset_Group_ID); + } + + // Set DateAcct + if (getA_Remaining_Period() == 0) + { + setDateAcct(getAssetDepreciationDate()); + } + else + { + Timestamp dateAcct = getDateAcct(); + if (dateAcct == null) + { + dateAcct = Env.getContextAsDate(getCtx(), "#Date"); + setDateAcct(dateAcct); + } + } + if (getDateAcct() == null) + { + throw new FillMandatoryException(COLUMNNAME_DateAcct); + } + + // Set Processed + setProcessed(true); + setI_ErrorMsg(null); + + // Save + saveEx(); + } + catch (Exception e) + { + setError(e.getLocalizedMessage()); + saveEx(); + } + } + + /** + * @return Este MF-ul depreciat integral + */ + public boolean isFullyDepreciated() + { + BigDecimal cost = getA_Asset_Cost(); + BigDecimal depr_c = getA_Accumulated_Depr(); + BigDecimal depr_f = getA_Accumulated_Depr_F(); + + return cost.compareTo(depr_c) == 0 && cost.compareTo(depr_f) == 0; + } + + /** + * @return Asset is Depreciating + */ + public boolean isDepreciating() + { + /* commented by @win + MAssetClass assetClass = MAssetClass.get(getCtx(), getA_Asset_Class_ID()); + if (assetClass == null) + return false; + return assetClass.isDepreciated(); + */ + //change logic to assetGroup + MAssetGroup assetGroup = MAssetGroup.get(getCtx(), getA_Asset_Group_ID()); + if (assetGroup == null) + return false; + return assetGroup.isDepreciated(); + //end modify by @win + } + + /** + * @return + */ + public int getA_Last_Period() + { + int life = getUseLifeMonths(); + int life_f = getUseLifeMonths_F(); + return life > life_f ? life : life_f; + } + + /** */ + private int m_M_Product_Category_ID = 0; + public void setDefault_Product_Category_ID(int M_Product_Category_ID) { + m_M_Product_Category_ID = M_Product_Category_ID; + } + + /** */ + private int m_A_Asset_Group_ID = 0; + public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) { + m_A_Asset_Group_ID = A_Asset_Group_ID; + } + + /** Product */ + private MProduct m_product = null; + public void setProduct(MProduct product) { + m_product = product; + setM_Product_ID(product.get_ID()); + setProductValue(product.getValue()); + if (Util.isEmpty(getName())) + setName(product.getName()); + } + public MProduct getProduct() { + if (m_product == null && getM_Product_ID() > 0) { + m_product = new MProduct(getCtx(), getM_Product_ID(), get_TrxName()); + } + return m_product; + } + + /** Depreciation Method */ + public int getA_Depreciation_ID() { + MDepreciation depr = MDepreciation.get(getCtx(), s_defaultDepreciationType); + return depr != null ? depr.get_ID() : 0; + } + public int getA_Depreciation_F_ID() { + return getA_Depreciation_ID(); + } + + /** Currency */ + public int getStdPrecision() { + return MClient.get(getCtx()).getAcctSchema().getStdPrecision(); + } + + /** String representation */ + public String getSummary() { + return getInventoryNo() + " - " + getName(); + } + + /** Sets custom error + * + */ + public void setError(String msg) { + String msg_trl = Msg.parseTranslation(getCtx(), msg); + setI_ErrorMsg(msg_trl); + } +} diff --git a/org.adempiere.base/src/org/compiere/model/MInOut.java b/org.adempiere.base/src/org/compiere/model/MInOut.java index cd4aef7e28..0209dd1fbc 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOut.java +++ b/org.adempiere.base/src/org/compiere/model/MInOut.java @@ -1482,6 +1482,7 @@ public class MInOut extends X_M_InOut implements DocAction if (product != null && isSOTrx() && product.isCreateAsset() + && !product.getM_Product_Category().getA_Asset_Group().isFixedAsset() && sLine.getMovementQty().signum() > 0 && !isReversal()) { @@ -2105,8 +2106,7 @@ public class MInOut extends X_M_InOut implements DocAction if (asset != null) { asset.setIsActive(false); - StringBuilder msgadd = new StringBuilder("(").append(reversal.getDocumentNo()).append(" #").append(rLine.getLine()).append("<-)"); - asset.addDescription(msgadd.toString()); + asset.setDescription(asset.getDescription() + " (" + reversal.getDocumentNo() + " #" + rLine.getLine() + "<-)"); asset.saveEx(); } } diff --git a/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java b/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java index f067b90a8c..a66446b4d4 100644 --- a/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java @@ -1,83 +1,78 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ package org.compiere.model; - -import java.math.BigDecimal; -import java.sql.ResultSet; -import java.util.Properties; - -import org.compiere.util.Env; - -/******************************************************************************* - * Generated Model for A_Asset - * - * @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ * - ******************************************************************************/ -public class MXIFAJournal extends X_I_FAJournal { - /** - * - */ - private static final long serialVersionUID = -3922040740843729868L; - - public MXIFAJournal(Properties ctx, int I_FAJournal_ID, String trxName) { - super(ctx, I_FAJournal_ID, trxName); - if (I_FAJournal_ID == 0) { - // setIsDepreciated (false); - // setIsFullyDepreciated (false); - // setValue (null); - // setName (null); - // setIsInPosession (false); - // setIsOwned (false); - // setA_Asset_Group_ID (0); - // setIsDisposed (false); - // setM_AttributeSetInstance_ID(0); - } - } // MAsset +import java.util.*; +import java.sql.*; +import java.math.*; +import org.compiere.model.*; +import org.compiere.util.*; +/** Generated Model for A_Asset + ** @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ */ +public class MXIFAJournal extends X_I_FAJournal +{ + public MXIFAJournal (Properties ctx, int I_FAJournal_ID, String trxName) + { + super (ctx, I_FAJournal_ID, trxName); + // if (I_FAJournal_ID == 0) + // { + // setIsDepreciated (false); + // setIsFullyDepreciated (false); + // setValue (null); + // setName (null); + // setIsInPosession (false); + // setIsOwned (false); + // setA_Asset_Group_ID (0); + // setIsDisposed (false); + // setM_AttributeSetInstance_ID(0); + // } + } // MXIFAJournal /** - * Load Constructor - * - * @param ctx - * context - * @param rs - * result set record + * Load Constructor + * @param ctx context + * @param rs result set record */ - public MXIFAJournal(Properties ctx, ResultSet rs, String trxName) { - super(ctx, rs, trxName); - } // MAsset + public MXIFAJournal (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } // MAsset - public BigDecimal getExpenseDr() { - BigDecimal bd = getAmtAcctDr(); - return bd; + + public BigDecimal getExpenseDr() + { + BigDecimal bd = getAmtAcctDr(); + return bd; } - public BigDecimal getExpenseCr() { - BigDecimal bd = getAmtAcctCr(); - return bd; + public BigDecimal getExpenseCr() + { + BigDecimal bd = getAmtAcctCr(); + return bd; } - public BigDecimal getAmtAcctTotal() { - BigDecimal dr = getAmtAcctDr(); - BigDecimal cr = getAmtAcctCr(); - BigDecimal bd = (dr).subtract(cr); - if (bd == null) - return Env.ZERO; - return bd; - } + public BigDecimal getAmtAcctTotal() + { + BigDecimal dr = getAmtAcctDr(); + BigDecimal cr = getAmtAcctCr(); + BigDecimal bd = (dr).subtract(cr); + if (bd == null) return Env.ZERO; + return bd; + } + /** Set Currency Type. + Currency Conversion Rate Type */ + public void setC_ConversionType_ID (int C_ConversionType_ID) + { + if (C_ConversionType_ID == 0) set_Value ("C_ConversionType_ID", null); + else + set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); + } + /** Get Currency Type. + Currency Conversion Rate Type */ + public int getC_ConversionType_ID() + { + Integer ii = (Integer)get_Value("C_ConversionType_ID"); + if (ii == null) return 0; + return ii.intValue(); + } + } diff --git a/org.adempiere.base/src/org/compiere/model/SetGetModel.java b/org.adempiere.base/src/org/compiere/model/SetGetModel.java new file mode 100644 index 0000000000..6eb3e126a4 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/SetGetModel.java @@ -0,0 +1,20 @@ +package org.compiere.model; + +import java.util.Properties; + +/** + * Set Get Object interface + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public interface SetGetModel +{ + public Properties getCtx(); + public String get_TrxName(); + // + public int get_Table_ID(); + public String get_TableName(); + // + public boolean set_AttrValue(String name, Object value); + public Object get_AttrValue(String name); + public boolean is_AttrValueChanged(String ColumnName); +} diff --git a/org.adempiere.base/src/org/compiere/model/SetGetUtil.java b/org.adempiere.base/src/org/compiere/model/SetGetUtil.java new file mode 100644 index 0000000000..f79584f6cd --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/SetGetUtil.java @@ -0,0 +1,796 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + * Contributor(s): Teo Sarca, (tentative) * + *****************************************************************************/ + +package org.compiere.model; + +import java.lang.reflect.Proxy; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; +import org.adempiere.exceptions.DBException; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Language; +import org.compiere.util.Util; + + +public class SetGetUtil +{ + /** Static logger */ + private static CLogger s_log = CLogger.getCLogger(SetGetUtil.class); + + /** + * Update columns from the result of the given query. + *

If the query returns more than one row, only the first row will be used. + *

This is a simplified version of {@link #updateColumns(SetGetModel[], String[], String, String)} + * which calls: + *

updateColumns(new SetGetModel[]{model}, columnNames, query, trxName);
+ * + * @param model + * @param columnNames + * column names; if null, all columns from given query are used; + * if a columnName from array is null it will be ignored + * @param sql sql query + * @param params sql parameters + * @param trxName + * + * @see #updateColumns(SetGetModel[], String[], String, String) + */ + public static void updateColumns(SetGetModel model, String[] columnNames, String sql, Object[] params, String trxName) + { + updateColumns(new SetGetModel[]{model}, columnNames, sql, params, trxName); + } + public static void updateColumns(SetGetModel model, String[] columnNames, String sql, String trxName) + { + updateColumns(new SetGetModel[]{model}, columnNames, sql, null, trxName); + } + + /** + * Update columns from the result of the given query. + * + * @param models + * @param columnNames + * @param sql + * @param params + * @param trxName + * + * @see #updateColumns(SetGetModel[], String[], ResultSet) + */ + public static void updateColumns(SetGetModel[] models, String[] columnNames, + String sql, Object[] params, + String trxName) + { + PreparedStatement pstmt = null; + ResultSet rs = null; + try + { + pstmt = DB.prepareStatement(sql, trxName); + DB.setParameters(pstmt, params); + rs = pstmt.executeQuery(); + updateColumns(models, columnNames, rs); + } + catch (SQLException e) + { + throw new DBException(e, sql); + } + finally + { + DB.close(rs, pstmt); + rs = null; pstmt = null; + } + } // updateColumns + + /** + * Update columns from the result of the given query. + * + * @param models + * @param columnNames + * column names; if null, all columns from given query are used; + * if a columnName from array is null it will be ignored + * @param rs + * @throws SQLException + */ + public static void updateColumns(SetGetModel[] models, String[] columnNames, ResultSet rs) + throws SQLException + { + for (SetGetModel model : models) + { + if(CLogMgt.isLevelFinest()) s_log.finest("Model: " + model); + if (rs.next()) + { + if (columnNames == null) + { + columnNames = getColumnNames(rs); + } + for(String columnName : columnNames) + { + if (Util.isEmpty(columnName)) + continue; + // + Object obj = null; + boolean ok = false; + obj = rs.getObject(columnName); + // + // Date Columns are retuned as Date -> convert to java.sql.Timestamp + if (obj instanceof java.sql.Date) + { + obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime()); + } + // + // ID Columns (integer) are returned as BigDecimal -> convert to Integer + else if (obj instanceof BigDecimal && columnName.endsWith("_ID")) + { + obj = ((BigDecimal)obj).intValue(); + } + // + ok = model.set_AttrValue(columnName, obj); + if (CLogMgt.isLevelFinest()) s_log.finest("columnName=" + columnName + ", value=[" + obj + "][" + (obj != null ? obj.getClass().getName() : "null") + "], ok=" + ok); + } + } + else + { + s_log.finest("@NoResult@"); + break; + } + } + } // updateColumns + + public static void updateColumns(SetGetModel model, String[] columnNames, ResultSet rs) + throws SQLException + { + updateColumns(new SetGetModel[]{model}, columnNames, rs); + } + + + /** + * Get Array of Column Names (String) for given ResultSet + * @param rs + * @return column names (upper case) + * @throws SQLException + */ + private static final String[] getColumnNames(ResultSet rs) + throws SQLException + { + if (rs == null) + { + return new String[0]; + } + ResultSetMetaData rsmd = rs.getMetaData(); + int no = rsmd.getColumnCount(); + String[] columnNames = new String[no]; + for (int i = 1; i <= no; i++) + { + columnNames[i - 1] = rsmd.getColumnName(i).toUpperCase(); + } + // + return columnNames; + } // getColumnName + + /** + * Copy from the fields to. + * The second object is not required to be in the same table. + * The following fields are not copied: AD_Client_ID, AD_Org_ID, Created% Updated% IsActive. + * If excludeFields includeFields and are null, then it will copy all the fields (which can be copied). + * @ param to destination object + * @ param object from source + * @ param includeFields name fields to be excluded; null will be interpreted as String [0]; + * excludeFields includeFields and mutually exclusive, priority being includeFields; + * If includeFields excludeFields are null and then copy all fields + * @ param excludeFields name fields to be excluded, null will be interpreted as String [0] + * @return false if "to" or "from" is null, true otherwise + */ + public static boolean copyValues(PO to, PO from, String[] includeFields, String[] excludeFields) + { + int no = copyValues(to, from, includeFields, excludeFields, false); + return no >= 0; + } + + /** + * Copy all values from "from" to "to" + * @return number of columns that were copied and were were also changed in object "from" + * @see #copyValues(PO, PO, String[], String[]) + */ + public static int copyChangedValues(PO to, PO from) + { + return copyValues(to, from, null, null, true); + } + /** + * + * @param to + * @param from + * @param includeFields + * @param excludeFields + * @param trackOnlyChanges counts only the fields that were changed from + * (from.is_ValueChanged(int idx)) + * @return -1 the error or the number of heads that have been copied; + * if trackOnlyChanges = true then copied and include only the columns that have changed and "from" + */ + private static int copyValues(PO to, PO from, + String[] includeFields, String[] excludeFields, + boolean trackOnlyChanges) + { + if (CLogMgt.isLevelFinest()) + { + s_log.finest("Entering: From=" + from+ " - To=" + to); +// s_log.finest("includeFields=" + ARHIPAC.toString(includeFields)); +// s_log.finest("excludeFields=" + ARHIPAC.toString(excludeFields)); + } + // + if (to == null || from == null) + { + if (CLogMgt.isLevelFinest()) + { + s_log.finest("Leaving: to == null || from == null"); + Thread.dumpStack(); + } + return -1; + } + // + if(includeFields != null) + { + excludeFields = null; + } + if (includeFields == null && excludeFields == null) + { + excludeFields = new String[]{"#"}; // dummy value + } + // + int copiedFields = 0; + for (int idx_from = 0; idx_from < from.get_ColumnCount(); idx_from++) + { + String colName = from.p_info.getColumnName(idx_from); + boolean isExcluded = false; + // + // Ignore Standard Values + if ("Created".equals(colName) + || "CreatedBy".equals(colName) + || "Updated".equals(colName) + || "UpdatedBy".equals(colName) + || "IsActive".equals(colName) + || "AD_Client_ID".equals(colName) + || "AD_Org_ID".equals(colName) + ) + { + isExcluded = true; + } + // + // Include Policy + else if (includeFields != null) + { + isExcluded = true; + for(String incl : includeFields) + { + if (incl.equalsIgnoreCase(colName)) + { + isExcluded = false; + break; + } + } + } + // + // Exclude Policy + else if (excludeFields != null) + { + for(String excl : excludeFields) + { + if (excl.equalsIgnoreCase(colName)) + { + isExcluded = true; + break; + } + } + } + //- + if (isExcluded) + { + if (CLogMgt.isLevelFinest()) s_log.finest("Field " + colName + " [SKIP:excluded]"); + continue; + } + + int idx_to = to.get_ColumnIndex(colName); + if (idx_to < 0) + { + if (CLogMgt.isLevelFinest()) s_log.finest("Field " + colName + " [SKIP:idx_to < 0]"); + continue; + } + if (to.p_info.isVirtualColumn(idx_to) || to.p_info.isKey(idx_to)) + { // KeyColumn + if (CLogMgt.isLevelFinest()) s_log.finest("Field " + colName + " [SKIP:virtual or key]"); + continue; + } + + Object value = from.get_Value(idx_from); + to.set_Value(idx_to, value); + + if (!trackOnlyChanges || from.is_ValueChanged(idx_from)) + { + copiedFields++; + } + if (CLogMgt.isLevelFinest()) s_log.finest("Field " + colName + "=[" + value + "], idx=" + idx_from + "->" + idx_to); + } + // + if (CLogMgt.isLevelFinest()) s_log.finest("Leaving: to=" + to); + return copiedFields; + } // copyValues + + /** + * Copy from the fields to the. + * The two objects do not need to be in the same table. + * @param to destination object + * @param from_tableName source object table + * @param from_id source object ID + * @param includeFields name fields to be excluded, null will be interpreted as String[0]; + * @see #updateColumns(SetGetModel, String[], String, String) + */ + public static boolean copyValues(SetGetModel to, String from_tableName, int from_id, String[] includeFields) + { + if (to == null || from_tableName == null || from_id <= 0 + || includeFields == null || includeFields.length == 0) + { + return false; + } + + StringBuffer sql = new StringBuffer(); + for (String f : includeFields) + { + if (sql.length() > 0) + sql.append(","); + sql.append(f); + } + sql.insert(0, "SELECT "); + sql.append(" FROM ").append(from_tableName) + .append(" WHERE ").append(from_tableName).append("_ID=").append(from_id); + + updateColumns(to, includeFields, sql.toString(), null); + return true; + } + + /** + * Get Value as integer + * @param model + * @param name + * @return int value + */ + public static int get_AttrValueAsInt(SetGetModel model, String name) + { + Object o = model.get_AttrValue(name); + if (o instanceof Number) + return ((Number)o).intValue(); + return 0; + } // get_AttrValueAsInt + + /** + * Get Value as Timestamp + * @param model + * @param name + * @return Timestamp value + */ + public static Timestamp get_AttrValueAsDate(SetGetModel model, String name) + { + Object o = model.get_AttrValue(name); + if (o instanceof Timestamp) + return (Timestamp)o; + return null; + } // get_AttrValueAsDate + + /** + * Get Value as BigDecimal + * @param model + * @param name + * @return BigDecimal or {@link BigDecimal#ZERO} + */ + public static BigDecimal get_AttrValueAsBigDecimal(SetGetModel model, String name) + { + Object o = model.get_AttrValue(name); + if (o instanceof BigDecimal) + return (BigDecimal)o; + return BigDecimal.ZERO; + } // get_AttrValueAsBigDecimal + + /** + * Get Value as Boolean + * @param model + * @param name + * @return boolean value + */ + public static boolean get_AttrValueAsBoolean(SetGetModel model, String name) + { + Object o = model.get_AttrValue(name); + if (o != null) { + if (o instanceof Boolean) + return ((Boolean)o).booleanValue(); + else + return "Y".equals(o); + } + return false; + } + + /** + * Get Value as String + * @param model + * @param name + * @param valueIfNull value that will be returned if the value is null + * @return String value + */ + public static String get_AttrValueAsString(SetGetModel model, String name, String valueIfNull) + { + Object o = model.get_AttrValue(name); + if (o == null) + return valueIfNull; + return o.toString(); + } + + /** + * Set Attribute Value + * @param model + * @param name + * @param value + * @throws AdempiereException if it can not be set (error setting, attribute/column name not found). + */ + public static void set_AttrValueEx(SetGetModel model, String name, Object value) + { + if (!model.set_AttrValue(name, value)) + throw new AdempiereException("Value not set "+name+"="+value); + } + + /** + * @param model + * @param propertyNames + * @return true if ANY of given properties had changed + */ + public static boolean is_ValueChanged(SetGetModel model, String ... propertyNames) + { + for (String name : propertyNames) + { + if (model.is_AttrValueChanged(name)) + { + return true; + } + } + return false; + } + + /** + * Get TrxName for given object. + * @param o + * @return trxName or null + */ + public static String getTrxName(Object o) + { + if (o == null) + { + return null; + } + else if (o instanceof SetGetModel) + { + return ((SetGetModel)o).get_TrxName(); + } + else if (o instanceof PO) + { + return ((PO)o).get_TrxName(); + } + else + { + return null; + } + } + + /** + * Check if given object was produced by used entry (i.e. created from a window) + * @param o object + * @return If object is instanceof PO then {@link PO#is_UserEntry()} will be checked. + * If object is null then false will be returned. + * Else true will be returned. + */ + public static boolean isUserEntry(Object o) + { + if (o == null) + { + return false; + } + else if (o instanceof PO) + { +// return ((PO)o).is_UserEntry(); + return false; // TODO + } + else + { + return true; + } + } + + + /** + * Set model's Line# + * @param model + * @param parentColumnName parent column name; if null then it won't be used + * @param lineColumnName line column name; if null "Line" will be used + */ + public static void setLineNo(SetGetModel model, String parentColumnName, String lineColumnName) + { + if (lineColumnName == null) + { + lineColumnName = "Line"; + } + int lineNo = get_AttrValueAsInt(model, lineColumnName); + if (lineNo != 0) + { + return; + } + // + String tableName = model.get_TableName(); + String idColumnName = tableName+"_ID"; + // + Collection params = new ArrayList(); + StringBuffer sql = new StringBuffer("SELECT COALESCE(MAX("+lineColumnName+"),0)+10"); + sql.append(" FROM ").append(tableName); + // Only active records + sql.append(" WHERE IsActive=?"); + params.add(true); + // Client Security Check + sql.append(" AND AD_Client_ID IN (0,?)"); + params.add(SetGetUtil.get_AttrValueAsInt(model, "AD_Client_ID")); + // Ignore this record + sql.append(" AND ").append(idColumnName).append("<>?"); + params.add(get_AttrValueAsInt(model, idColumnName)); + // With same parent (if defined) + if (parentColumnName != null) + { + sql.append(" AND ").append(parentColumnName).append("=?"); + params.add(get_AttrValueAsInt(model, parentColumnName)); + } + // + // Set LineNo + lineNo = DB.getSQLValueEx(model.get_TrxName(), sql.toString(), params); + model.set_AttrValue(lineColumnName, lineNo); + } + + /** + * Get Table_Name for given PO class + * @param clazz + * @return tableName + * @throws AdempiereException if no table name found or any other exception occurs + */ + public static String getTableName(Class clazz) + { + try + { + return (String) clazz.getField("Table_Name").get(null); + } + catch (Exception e) + { + throw new AdempiereException(e); + } + } + + /** + * Check if given object is persistent object + * @param o object + * @return true if is persistent (i.e. instanceof PO) + */ + public static final boolean isPersistent(Object o) + { + return o != null && o instanceof PO; + } + + /** + * Get Context from given object. + * If object is null, null will be returned. + * If object does not have getCtx() support then Env.getCtx() will be returned. + * @param o object + * @return context or null(if object is null) + */ + public static Properties getCtx(Object o) + { + if(o == null) + { + return null; + } + else if (o instanceof SetGetModel) + { + return ((SetGetModel)o).getCtx(); + } + if (o instanceof PO) + { + return ((PO)o).getCtx(); + } + return Env.getCtx(); + } + + /** + * Wrap given object (if possible) to SetGetModel + * @param o object + * @return object wrapped to SetGetModel + */ + public static SetGetModel wrap(Object o) + { + if (o == null) + { + return null; + } + else if (o instanceof SetGetModel && !(o instanceof Proxy)) + { + return (SetGetModel)o; + } + else if (o instanceof Proxy + && Proxy.getInvocationHandler(o) instanceof org.adempiere.model.GridTabWrapper) + { + org.adempiere.model.GridTabWrapper gtw = (org.adempiere.model.GridTabWrapper)Proxy.getInvocationHandler(o); + return new GridTab2SetGetModelWrapper(gtw.getGridTab()); + } + else if (o instanceof GridTab) + { + return new GridTab2SetGetModelWrapper((GridTab)o); + } + else if (o instanceof PO) + { + final PO po = (PO)o; + return new SetGetModel() { + public boolean set_AttrValue(String name, Object value) { + return po.set_Value(name, value); + } + public boolean is_AttrValueChanged(String ColumnName) { + return po.is_ValueChanged(ColumnName); + } + public String get_TrxName() { + return po.get_TrxName(); + } + public int get_Table_ID() { + return po.get_Table_ID(); + } + public String get_TableName() { + return po.get_TableName(); + } + public Object get_AttrValue(String name) { + return po.get_Value(name); + } + public Properties getCtx() { + return po.getCtx(); + } + }; + } + else + { + throw new IllegalArgumentException("Can not wrap to SetGetModel - "+o.getClass()); + } + } + + public static T newInstance(Properties ctx, Class clazz, String trxName) + { + try + { + return clazz.getConstructor(Properties.class, int.class, String.class) + .newInstance(ctx, 0, trxName); + } + catch(Exception e) + { + throw new AdempiereException(e); + } + } + + public static void appendValue(SetGetModel model, String columnName, String value) + { + if (Util.isEmpty(value, true)) + { + return; + } + // + final String valueToAppend = value.trim(); + final String valueOld = get_AttrValueAsString(model, columnName, null); + final String valueNew; + if (Util.isEmpty(valueOld, true)) + { + valueNew = value; + } + else + { + valueNew = valueOld + " | " + valueToAppend; + } + // + model.set_AttrValue(columnName, valueNew); + } + + /** + * Get Info for given table and ID. + * This method calls {@link MLookupFactory#getLookup_TableDirEmbed(Language, String, String, String) to + * generate the info string. + * @param ctx context + * @param tableName tablename + * @param id record id + * @param trxName + * @return record description + */ + public static String getInfoString(Properties ctx, String tableName, int id, String trxName) + { + Language language = Env.getLanguage(ctx); + String sql = MLookupFactory.getLookup_TableDirEmbed(language, tableName+"_ID", "[?","?]") + .replace("[?.?]", "?"); + String docInfo = DB.getSQLValueStringEx(trxName, sql, id); + if (Util.isEmpty(docInfo)) + { + docInfo = "<"+tableName+":"+id+">"; + } + return docInfo; + } + + private static class GridTab2SetGetModelWrapper implements SetGetModel + { + private final GridTab tab; + GridTab2SetGetModelWrapper(GridTab tab) + { + this.tab = tab; + } + + public Properties getCtx() + { + return Env.getCtx(); + } + + public Object get_AttrValue(String name) + { + return tab.getValue(name); + } + + public String get_TableName() + { + return tab.getTableName(); + } + + public int get_Table_ID() + { + return tab.getAD_Table_ID(); + } + + public String get_TrxName() + { + return null; + } + /** + * Is Attribute value changed (SetGetModel.is_AttrValueChanged) + * NOT SUPPORTED + * @param ColumnName + * @return ALWAYS RETURN FALSE + */ + + public boolean is_AttrValueChanged(String ColumnName) + { + return false; // TODO: implement it + } + + public boolean set_AttrValue(String name, Object value) + { + String errmsg = tab.setValue(name, value); + if (errmsg != null && errmsg.length() > 0) + { + //~ log.saveError("Error", errmsg); + return false; + } + return true; + } + } +} diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset.java index 8be0dd145b..e06ffbcdb7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset.java @@ -22,7 +22,6 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset * @author Adempiere (generated) @@ -33,7 +32,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset (Properties ctx, int A_Asset_ID, String trxName) @@ -41,8 +40,12 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent super (ctx, A_Asset_ID, trxName); /** if (A_Asset_ID == 0) { + setA_Asset_Action (null); +// 'MD' setA_Asset_Group_ID (0); setA_Asset_ID (0); + setA_Asset_Status (null); +// 'NW' setIsDepreciated (false); setIsDisposed (false); setIsFullyDepreciated (false); @@ -50,7 +53,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent setIsInPosession (false); setIsOwned (false); setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); setName (null); + setProcessed (false); +// 'N' setValue (null); } */ } @@ -83,23 +89,79 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return sb.toString(); } - /** Set Asset Creation Date. - @param A_Asset_CreateDate Asset Creation Date */ + /** A_Asset_Action AD_Reference_ID=53360 */ + public static final int A_ASSET_ACTION_AD_Reference_ID=53360; + /** Dispose = DI */ + public static final String A_ASSET_ACTION_Dispose = "DI"; + /** Inbound = IB */ + public static final String A_ASSET_ACTION_Inbound = "IB"; + /** Modify = MD */ + public static final String A_ASSET_ACTION_Modify = "MD"; + /** Outbound = OB */ + public static final String A_ASSET_ACTION_Outbound = "OB"; + /** Reevaluate = RE */ + public static final String A_ASSET_ACTION_Reevaluate = "RE"; + /** Retire = RT */ + public static final String A_ASSET_ACTION_Retire = "RT"; + /** Transfer = TR */ + public static final String A_ASSET_ACTION_Transfer = "TR"; + /** Set Asset Action. + @param A_Asset_Action Asset Action */ + public void setA_Asset_Action (String A_Asset_Action) + { + + set_Value (COLUMNNAME_A_Asset_Action, A_Asset_Action); + } + + /** Get Asset Action. + @return Asset Action */ + public String getA_Asset_Action () + { + return (String)get_Value(COLUMNNAME_A_Asset_Action); + } + + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name) + .getPO(getA_Asset_Class_ID(), get_TrxName()); } + + /** Set Asset class. + @param A_Asset_Class_ID Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID) + { + if (A_Asset_Class_ID < 1) + set_Value (COLUMNNAME_A_Asset_Class_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID)); + } + + /** Get Asset class. + @return Asset class */ + public int getA_Asset_Class_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Create Date. + @param A_Asset_CreateDate Create Date */ public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate) { set_ValueNoCheck (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate); } - /** Get Asset Creation Date. - @return Asset Creation Date */ + /** Get Create Date. + @return Create Date */ public Timestamp getA_Asset_CreateDate () { return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate); } - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException { - return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) + return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name) .getPO(getA_Asset_Group_ID(), get_TrxName()); } /** Set Asset Group. @@ -148,23 +210,107 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - /** Set Asset Reval. Date. - @param A_Asset_RevalDate Asset Reval. Date */ + /** Set Revaluation Date. + @param A_Asset_RevalDate Revaluation Date */ public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate) { set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate); } - /** Get Asset Reval. Date. - @return Asset Reval. Date */ + /** Get Revaluation Date. + @return Revaluation Date */ public Timestamp getA_Asset_RevalDate () { return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate); } - public I_AD_User getAD_User() throws RuntimeException + /** A_Asset_Status AD_Reference_ID=53359 */ + public static final int A_ASSET_STATUS_AD_Reference_ID=53359; + /** Activated = AC */ + public static final String A_ASSET_STATUS_Activated = "AC"; + /** Disposed = DI */ + public static final String A_ASSET_STATUS_Disposed = "DI"; + /** Depreciated = DP */ + public static final String A_ASSET_STATUS_Depreciated = "DP"; + /** New = NW */ + public static final String A_ASSET_STATUS_New = "NW"; + /** Preservation = PR */ + public static final String A_ASSET_STATUS_Preservation = "PR"; + /** Retired = RE */ + public static final String A_ASSET_STATUS_Retired = "RE"; + /** Sold = SO */ + public static final String A_ASSET_STATUS_Sold = "SO"; + /** Set Asset Status. + @param A_Asset_Status Asset Status */ + public void setA_Asset_Status (String A_Asset_Status) + { + + set_Value (COLUMNNAME_A_Asset_Status, A_Asset_Status); + } + + /** Get Asset Status. + @return Asset Status */ + public String getA_Asset_Status () + { + return (String)get_Value(COLUMNNAME_A_Asset_Status); + } + + /** Set Asset Type. + @param A_AssetType Asset Type */ + public void setA_AssetType (String A_AssetType) + { + set_Value (COLUMNNAME_A_AssetType, A_AssetType); + } + + /** Get Asset Type. + @return Asset Type */ + public String getA_AssetType () + { + return (String)get_Value(COLUMNNAME_A_AssetType); + } + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name) + .getPO(getA_Asset_Type_ID(), get_TrxName()); } + + /** Set Asset Type. + @param A_Asset_Type_ID Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID) + { + if (A_Asset_Type_ID < 1) + set_Value (COLUMNNAME_A_Asset_Type_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID)); + } + + /** Get Asset Type. + @return Asset Type */ + public int getA_Asset_Type_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Asset_UU. + @param A_Asset_UU A_Asset_UU */ + public void setA_Asset_UU (String A_Asset_UU) + { + set_Value (COLUMNNAME_A_Asset_UU, A_Asset_UU); + } + + /** Get A_Asset_UU. + @return A_Asset_UU */ + public String getA_Asset_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_UU); + } + + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException + { + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getAD_User_ID(), get_TrxName()); } /** Set User/Contact. @@ -190,13 +336,13 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_A_Asset getA_Parent_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Parent_Asset_ID(), get_TrxName()); } - /** Set Asset ID. - @param A_Parent_Asset_ID Asset ID */ + /** Set Parent Asset. + @param A_Parent_Asset_ID Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) { if (A_Parent_Asset_ID < 1) @@ -205,8 +351,8 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); } - /** Get Asset ID. - @return Asset ID */ + /** Get Parent Asset. + @return Parent Asset */ public int getA_Parent_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); @@ -215,15 +361,15 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public BigDecimal getA_QTY_Current () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); @@ -232,15 +378,15 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return bd; } - /** Set Original Qty. - @param A_QTY_Original Original Qty */ + /** Set A_QTY_Original. + @param A_QTY_Original A_QTY_Original */ public void setA_QTY_Original (BigDecimal A_QTY_Original) { set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original); } - /** Get Original Qty. - @return Original Qty */ + /** Get A_QTY_Original. + @return A_QTY_Original */ public BigDecimal getA_QTY_Original () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original); @@ -249,6 +395,20 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return bd; } + /** Set Activation Date. + @param AssetActivationDate Activation Date */ + public void setAssetActivationDate (Timestamp AssetActivationDate) + { + set_Value (COLUMNNAME_AssetActivationDate, AssetActivationDate); + } + + /** Get Activation Date. + @return Activation Date */ + public Timestamp getAssetActivationDate () + { + return (Timestamp)get_Value(COLUMNNAME_AssetActivationDate); + } + /** Set Asset Depreciation Date. @param AssetDepreciationDate Date of last depreciation @@ -300,9 +460,37 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); } - public I_C_BPartner getC_BPartner() throws RuntimeException + public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException { - return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) + return (org.compiere.model.I_C_Activity)MTable.get(getCtx(), org.compiere.model.I_C_Activity.Table_Name) + .getPO(getC_Activity_ID(), get_TrxName()); } + + /** Set Activity. + @param C_Activity_ID + Business Activity + */ + public void setC_Activity_ID (int C_Activity_ID) + { + if (C_Activity_ID < 1) + set_Value (COLUMNNAME_C_Activity_ID, null); + else + set_Value (COLUMNNAME_C_Activity_ID, Integer.valueOf(C_Activity_ID)); + } + + /** Get Activity. + @return Business Activity + */ + public int getC_Activity_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Activity_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException + { + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) .getPO(getC_BPartner_ID(), get_TrxName()); } /** Set Business Partner . @@ -328,9 +516,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException { - return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) + return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name) .getPO(getC_BPartner_Location_ID(), get_TrxName()); } /** Set Partner Location. @@ -356,9 +544,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartnerSR() throws RuntimeException + public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException { - return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) .getPO(getC_BPartnerSR_ID(), get_TrxName()); } /** Set BPartner (Agent). @@ -412,9 +600,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws RuntimeException + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException { - return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) + return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name) .getPO(getC_Project_ID(), get_TrxName()); } /** Set Project. @@ -491,6 +679,20 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (String)get_Value(COLUMNNAME_Help); } + /** Set Inventory No. + @param InventoryNo Inventory No */ + public void setInventoryNo (String InventoryNo) + { + set_Value (COLUMNNAME_InventoryNo, InventoryNo); + } + + /** Get Inventory No. + @return Inventory No */ + public String getInventoryNo () + { + return (String)get_Value(COLUMNNAME_InventoryNo); + } + /** Set Depreciate. @param IsDepreciated The asset will be depreciated @@ -665,9 +867,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner getLease_BPartner() throws RuntimeException + public org.compiere.model.I_C_BPartner getLease_BPartner() throws RuntimeException { - return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) .getPO(getLease_BPartner_ID(), get_TrxName()); } /** Set Lessor. @@ -764,6 +966,40 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (String)get_Value(COLUMNNAME_Lot); } + /** Set Manufactured Year. + @param ManufacturedYear Manufactured Year */ + public void setManufacturedYear (int ManufacturedYear) + { + set_Value (COLUMNNAME_ManufacturedYear, Integer.valueOf(ManufacturedYear)); + } + + /** Get Manufactured Year. + @return Manufactured Year */ + public int getManufacturedYear () + { + Integer ii = (Integer)get_Value(COLUMNNAME_ManufacturedYear); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Manufacturer. + @param Manufacturer + Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer) + { + set_Value (COLUMNNAME_Manufacturer, Manufacturer); + } + + /** Get Manufacturer. + @return Manufacturer of the Product + */ + public String getManufacturer () + { + return (String)get_Value(COLUMNNAME_Manufacturer); + } + public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException { return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name) @@ -792,9 +1028,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws RuntimeException + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException { - return (I_M_InOutLine)MTable.get(getCtx(), I_M_InOutLine.Table_Name) + return (org.compiere.model.I_M_InOutLine)MTable.get(getCtx(), org.compiere.model.I_M_InOutLine.Table_Name) .getPO(getM_InOutLine_ID(), get_TrxName()); } /** Set Shipment/Receipt Line. @@ -848,9 +1084,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws RuntimeException + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException { - return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) .getPO(getM_Product_ID(), get_TrxName()); } /** Set Product. @@ -860,9 +1096,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) - set_ValueNoCheck (COLUMNNAME_M_Product_ID, null); + set_Value (COLUMNNAME_M_Product_ID, null); else - set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); } /** Get Product. @@ -893,25 +1129,17 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getName()); - } - - /** Set Next Maintenance. + /** Set Next Maintenence. @param NextMaintenenceDate - Next Maintenance Date + Next Maintenence Date */ public void setNextMaintenenceDate (Timestamp NextMaintenenceDate) { set_Value (COLUMNNAME_NextMaintenenceDate, NextMaintenenceDate); } - /** Get Next Maintenance. - @return Next Maintenance Date + /** Get Next Maintenence. + @return Next Maintenence Date */ public Timestamp getNextMaintenenceDate () { @@ -920,7 +1148,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent /** Set Next Unit. @param NextMaintenenceUnit - Next Maintenance Unit + Next Maintenence Unit */ public void setNextMaintenenceUnit (int NextMaintenenceUnit) { @@ -928,7 +1156,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent } /** Get Next Unit. - @return Next Maintenance Unit + @return Next Maintenence Unit */ public int getNextMaintenenceUnit () { @@ -938,6 +1166,30 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java index 30bc25c9bf..df244f6ebc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java @@ -19,6 +19,7 @@ package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; +import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; import org.compiere.util.KeyNamePair; @@ -32,7 +33,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Acct (Properties ctx, int A_Asset_Acct_ID, String trxName) @@ -40,16 +41,26 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent super (ctx, A_Asset_Acct_ID, trxName); /** if (A_Asset_Acct_ID == 0) { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); setA_Asset_Acct_ID (0); + setA_Asset_ID (0); + setA_Depreciation_Acct (0); + setA_Depreciation_Conv_F_ID (0); setA_Depreciation_Conv_ID (0); + setA_Depreciation_F_ID (0); setA_Depreciation_ID (0); + setA_Depreciation_Method_F_ID (0); setA_Depreciation_Method_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); setA_Period_End (0); setA_Period_Start (0); - setA_Salvage_Value (Env.ZERO); setA_Split_Percent (Env.ZERO); +// 1 setC_AcctSchema_ID (0); setPostingType (null); +// 'A' } */ } @@ -86,15 +97,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } - /** Set Accumulated Depreciation. - @param A_Accumdepreciation_Acct Accumulated Depreciation */ + /** Set Accumulated Depreciation Account. + @param A_Accumdepreciation_Acct Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get Accumulated Depreciation. - @return Accumulated Depreciation */ + /** Get Accumulated Depreciation Account. + @return Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -108,15 +119,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Asset_Acct(), get_TrxName()); } - /** Set Asset Cost Account. - @param A_Asset_Acct Asset Cost Account */ + /** Set Asset Acct. + @param A_Asset_Acct Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct) { set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); } - /** Get Asset Cost Account. - @return Asset Cost Account */ + /** Get Asset Acct. + @return Asset Acct */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -125,8 +136,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Asset Acct.. - @param A_Asset_Acct_ID Asset Acct. */ + /** Set A_Asset_Acct_ID. + @param A_Asset_Acct_ID A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) { if (A_Asset_Acct_ID < 1) @@ -135,8 +146,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent set_ValueNoCheck (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); } - /** Get Asset Acct.. - @return Asset Acct. */ + /** Get A_Asset_Acct_ID. + @return A_Asset_Acct_ID */ public int getA_Asset_Acct_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); @@ -153,6 +164,25 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Acct_ID())); } + /** Set A_Asset_Acct_UU. + @param A_Asset_Acct_UU A_Asset_Acct_UU */ + public void setA_Asset_Acct_UU (String A_Asset_Acct_UU) + { + set_Value (COLUMNNAME_A_Asset_Acct_UU, A_Asset_Acct_UU); + } + + /** Get A_Asset_Acct_UU. + @return A_Asset_Acct_UU */ + public String getA_Asset_Acct_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Acct_UU); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -176,13 +206,13 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - public I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException { - return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) + return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name) .getPO(getA_Asset_Spread_ID(), get_TrxName()); } - /** Set Asset Spread. - @param A_Asset_Spread_ID Asset Spread */ + /** Set A_Asset_Spread_ID. + @param A_Asset_Spread_ID A_Asset_Spread_ID */ public void setA_Asset_Spread_ID (int A_Asset_Spread_ID) { if (A_Asset_Spread_ID < 1) @@ -191,8 +221,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent set_Value (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID)); } - /** Get Asset Spread. - @return Asset Spread */ + /** Get A_Asset_Spread_ID. + @return A_Asset_Spread_ID */ public int getA_Asset_Spread_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID); @@ -206,15 +236,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Depreciation_Acct(), get_TrxName()); } - /** Set Depreciation Expense Account. - @param A_Depreciation_Acct Depreciation Expense Account */ + /** Set Depreciation Account. + @param A_Depreciation_Acct Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct) { set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); } - /** Get Depreciation Expense Account. - @return Depreciation Expense Account */ + /** Get Depreciation Account. + @return Depreciation Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -223,9 +253,34 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - public I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException { - return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) + .getPO(getA_Depreciation_Conv_F_ID(), get_TrxName()); } + + /** Set Depreciation Convention (fiscal). + @param A_Depreciation_Conv_F_ID Depreciation Convention (fiscal) */ + public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID) + { + if (A_Depreciation_Conv_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, Integer.valueOf(A_Depreciation_Conv_F_ID)); + } + + /** Get Depreciation Convention (fiscal). + @return Depreciation Convention (fiscal) */ + public int getA_Depreciation_Conv_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) .getPO(getA_Depreciation_Conv_ID(), get_TrxName()); } /** Set Convention Type. @@ -248,13 +303,38 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - public I_A_Depreciation getA_Depreciation() throws RuntimeException + public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException { - return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) + .getPO(getA_Depreciation_F_ID(), get_TrxName()); } + + /** Set Depreciation (fiscal). + @param A_Depreciation_F_ID Depreciation (fiscal) */ + public void setA_Depreciation_F_ID (int A_Depreciation_F_ID) + { + if (A_Depreciation_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_F_ID, Integer.valueOf(A_Depreciation_F_ID)); + } + + /** Get Depreciation (fiscal). + @return Depreciation (fiscal) */ + public int getA_Depreciation_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) .getPO(getA_Depreciation_ID(), get_TrxName()); } - /** Set Depreciation Type. - @param A_Depreciation_ID Depreciation Type */ + /** Set Depreciation. + @param A_Depreciation_ID Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID) { if (A_Depreciation_ID < 1) @@ -263,8 +343,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); } - /** Get Depreciation Type. - @return Depreciation Type */ + /** Get Depreciation. + @return Depreciation */ public int getA_Depreciation_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); @@ -273,15 +353,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Depreciation Manual Amount. - @param A_Depreciation_Manual_Amount Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount. + @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) { set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); } - /** Get Depreciation Manual Amount. - @return Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount. + @return A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); @@ -296,28 +376,53 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; /** Yearly = YR */ public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; - /** Set Depreciation Manual Period. - @param A_Depreciation_Manual_Period Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period. + @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } - /** Get Depreciation Manual Period. - @return Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period. + @return A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period () { return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); } - public I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException { - return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) + .getPO(getA_Depreciation_Method_F_ID(), get_TrxName()); } + + /** Set Depreciation Method (fiscal). + @param A_Depreciation_Method_F_ID Depreciation Method (fiscal) */ + public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID) + { + if (A_Depreciation_Method_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, Integer.valueOf(A_Depreciation_Method_F_ID)); + } + + /** Get Depreciation Method (fiscal). + @return Depreciation Method (fiscal) */ + public int getA_Depreciation_Method_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) .getPO(getA_Depreciation_Method_ID(), get_TrxName()); } - /** Set Depreciation Calculation Type. - @param A_Depreciation_Method_ID Depreciation Calculation Type */ + /** Set Depreciation Method. + @param A_Depreciation_Method_ID Depreciation Method */ public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID) { if (A_Depreciation_Method_ID < 1) @@ -326,8 +431,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent set_Value (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID)); } - /** Get Depreciation Calculation Type. - @return Depreciation Calculation Type */ + /** Get Depreciation Method. + @return Depreciation Method */ public int getA_Depreciation_Method_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID); @@ -336,13 +441,13 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException { - return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) + return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name) .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } - /** Set Depreciation Table Header. - @param A_Depreciation_Table_Header_ID Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID. + @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) { if (A_Depreciation_Table_Header_ID < 1) @@ -351,8 +456,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); } - /** Get Depreciation Table Header. - @return Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID. + @return A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); @@ -361,15 +466,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Depreciation Variable Perc.. - @param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ + /** Set Variable Percent. + @param A_Depreciation_Variable_Perc Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) { set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); } - /** Get Depreciation Variable Perc.. - @return Depreciation Variable Perc. */ + /** Get Variable Percent. + @return Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); @@ -378,6 +483,23 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return bd; } + /** Set Variable Percent (fiscal). + @param A_Depreciation_Variable_Perc_F Variable Percent (fiscal) */ + public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F) + { + set_Value (COLUMNNAME_A_Depreciation_Variable_Perc_F, A_Depreciation_Variable_Perc_F); + } + + /** Get Variable Percent (fiscal). + @return Variable Percent (fiscal) */ + public BigDecimal getA_Depreciation_Variable_Perc_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc_F); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_ValidCombination getA_Disposal_G() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -400,6 +522,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Gain_Acct(), get_TrxName()); } + + /** Set Disposal Gain Acct. + @param A_Disposal_Gain_Acct Disposal Gain Acct */ + public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Gain_Acct, Integer.valueOf(A_Disposal_Gain_Acct)); + } + + /** Get Disposal Gain Acct. + @return Disposal Gain Acct */ + public int getA_Disposal_Gain_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_L() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -422,6 +566,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Loss_Acct(), get_TrxName()); } + + /** Set Disposal Loss Acct. + @param A_Disposal_Loss_Acct Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct)); + } + + /** Get Disposal Loss Acct. + @return Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -444,15 +610,37 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Period End. - @param A_Period_End Period End */ + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); } + + /** Set Disposal Revenue Acct. + @param A_Disposal_Revenue_Acct Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct)); + } + + /** Get Disposal Revenue Acct. + @return Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Period_End. + @param A_Period_End A_Period_End */ public void setA_Period_End (int A_Period_End) { set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); } - /** Get Period End. - @return Period End */ + /** Get A_Period_End. + @return A_Period_End */ public int getA_Period_End () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); @@ -461,15 +649,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Period Start. - @param A_Period_Start Period Start */ + /** Set A_Period_Start. + @param A_Period_Start A_Period_Start */ public void setA_Period_Start (int A_Period_Start) { set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); } - /** Get Period Start. - @return Period Start */ + /** Get A_Period_Start. + @return A_Period_Start */ public int getA_Period_Start () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); @@ -522,6 +710,50 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Adep_Offset_Cur_Acct(), get_TrxName()); } + + /** Set A_Reval_Accumdep_Offset_Cur. + @param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Cur. + @return A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Adep_Offset_Prior_Acct(), get_TrxName()); } + + /** Set A_Reval_Accumdep_Offset_Prior. + @param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Prior. + @return A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** A_Reval_Cal_Method AD_Reference_ID=53259 */ public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; /** Default = DFT */ @@ -530,16 +762,16 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set Revaluation Calculation Method. - @param A_Reval_Cal_Method Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method. + @param A_Reval_Cal_Method A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get Revaluation Calculation Method. - @return Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method. + @return A_Reval_Cal_Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); @@ -567,6 +799,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Cost_Offset_Acct(), get_TrxName()); } + + /** Set Reval Cost Offset Acct. + @param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct)); + } + + /** Get Reval Cost Offset Acct. + @return Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -589,6 +843,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Cost_Offset_Prior_Acct(), get_TrxName()); } + + /** Set Reval Cost Offset Prior Acct. + @param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct)); + } + + /** Get Reval Cost Offset Prior Acct. + @return Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -611,15 +887,37 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return ii.intValue(); } - /** Set Salvage Value. - @param A_Salvage_Value Salvage Value */ + public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Depexp_Offset_Acct(), get_TrxName()); } + + /** Set Reval Depexp Offset Acct. + @param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct)); + } + + /** Get Reval Depexp Offset Acct. + @return Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value) { set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); } - /** Get Salvage Value. - @return Salvage Value */ + /** Get Asset Salvage Value. + @return Asset Salvage Value */ public BigDecimal getA_Salvage_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); @@ -628,15 +926,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return bd; } - /** Set Split Percentage. - @param A_Split_Percent Split Percentage */ + /** Set Split Percent. + @param A_Split_Percent Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get Split Percentage. - @return Split Percentage */ + /** Get Split Percent. + @return Split Percent */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -645,9 +943,9 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent return bd; } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -723,4 +1021,21 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent } return false; } + + /** Set Valid from. + @param ValidFrom + Valid from including this date (first day) + */ + public void setValidFrom (Timestamp ValidFrom) + { + set_ValueNoCheck (COLUMNNAME_ValidFrom, ValidFrom); + } + + /** Get Valid from. + @return Valid from including this date (first day) + */ + public Timestamp getValidFrom () + { + return (Timestamp)get_Value(COLUMNNAME_ValidFrom); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java index 5279aa57a3..32a1cf6630 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java @@ -19,6 +19,7 @@ package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; +import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; import org.compiere.util.KeyNamePair; @@ -32,7 +33,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Addition (Properties ctx, int A_Asset_Addition_ID, String trxName) @@ -40,9 +41,45 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers super (ctx, A_Asset_Addition_ID, trxName); /** if (A_Asset_Addition_ID == 0) { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_Adjust (false); +// N + setA_Accumulated_Depr_F (Env.ZERO); +// 0 setA_Asset_Addition_ID (0); setA_Asset_ID (0); + setA_CapvsExp (null); +// 'Cap' + setA_CreateAsset (false); +// 'N' + setA_Period_Start (0); +// 0 + setA_QTY_Current (Env.ZERO); +// 0 + setA_SourceType (null); +// 'INV' + setAssetAmtEntered (Env.ZERO); +// 0 setAssetValueAmt (Env.ZERO); + setC_ConversionType_ID (0); + setC_Currency_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDeltaUseLifeYears (0); +// 0 + setDeltaUseLifeYears_F (0); +// 0 + setDocStatus (null); +// 'DR' + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// N + setPostingType (null); +// A + setProcessed (false); +// 'N' } */ } @@ -53,7 +90,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -74,6 +111,61 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return sb.toString(); } + /** Set Accumulated Depreciation. + @param A_Accumulated_Depr Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr) + { + set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr); + } + + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Adjust Accumulated Depreciation. + @param A_Accumulated_Depr_Adjust Adjust Accumulated Depreciation */ + public void setA_Accumulated_Depr_Adjust (boolean A_Accumulated_Depr_Adjust) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_Adjust, Boolean.valueOf(A_Accumulated_Depr_Adjust)); + } + + /** Get Adjust Accumulated Depreciation. + @return Adjust Accumulated Depreciation */ + public boolean isA_Accumulated_Depr_Adjust () + { + Object oo = get_Value(COLUMNNAME_A_Accumulated_Depr_Adjust); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Accumulated Depreciation (fiscal). + @param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F); + } + + /** Get Accumulated Depreciation (fiscal). + @return Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Asset Addition. @param A_Asset_Addition_ID Asset Addition */ public void setA_Asset_Addition_ID (int A_Asset_Addition_ID) @@ -94,13 +186,24 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() + /** Set A_Asset_Addition_UU. + @param A_Asset_Addition_UU A_Asset_Addition_UU */ + public void setA_Asset_Addition_UU (String A_Asset_Addition_UU) + { + set_Value (COLUMNNAME_A_Asset_Addition_UU, A_Asset_Addition_UU); + } + + /** Get A_Asset_Addition_UU. + @return A_Asset_Addition_UU */ + public String getA_Asset_Addition_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Addition_UU); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException { - return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Addition_ID())); - } + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } /** Set Asset. @param A_Asset_ID @@ -109,9 +212,9 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + set_Value (COLUMNNAME_A_Asset_ID, null); else - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); } /** Get Asset. @@ -131,30 +234,100 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public static final String A_CAPVSEXP_Capital = "Cap"; /** Expense = Exp */ public static final String A_CAPVSEXP_Expense = "Exp"; - /** Set Capital vs Expense. - @param A_CapvsExp Capital vs Expense */ + /** Set Capital/Expense. + @param A_CapvsExp Capital/Expense */ public void setA_CapvsExp (String A_CapvsExp) { set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); } - /** Get Capital vs Expense. - @return Capital vs Expense */ + /** Get Capital/Expense. + @return Capital/Expense */ public String getA_CapvsExp () { return (String)get_Value(COLUMNNAME_A_CapvsExp); } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Create Asset. + @param A_CreateAsset Create Asset */ + public void setA_CreateAsset (boolean A_CreateAsset) + { + set_Value (COLUMNNAME_A_CreateAsset, Boolean.valueOf(A_CreateAsset)); + } + + /** Get Create Asset. + @return Create Asset */ + public boolean isA_CreateAsset () + { + Object oo = get_Value(COLUMNNAME_A_CreateAsset); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Life periods (max). + @param A_Life_Period_Max Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max) + { + throw new IllegalArgumentException ("A_Life_Period_Max is virtual column"); } + + /** Get Life periods (max). + @return Life periods (max) */ + public int getA_Life_Period_Max () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Max); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life periods (min). + @param A_Life_Period_Min Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min) + { + throw new IllegalArgumentException ("A_Life_Period_Min is virtual column"); } + + /** Get Life periods (min). + @return Life periods (min) */ + public int getA_Life_Period_Min () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Min); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Period_Start. + @param A_Period_Start A_Period_Start */ + public void setA_Period_Start (int A_Period_Start) + { + set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); + } + + /** Get A_Period_Start. + @return A_Period_Start */ + public int getA_Period_Start () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public BigDecimal getA_QTY_Current () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); @@ -163,6 +336,23 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return bd; } + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ + public void setA_Salvage_Value (BigDecimal A_Salvage_Value) + { + set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); + } + + /** Get Asset Salvage Value. + @return Asset Salvage Value */ + public BigDecimal getA_Salvage_Value () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); + if (bd == null) + return Env.ZERO; + return bd; + } + /** A_SourceType AD_Reference_ID=53276 */ public static final int A_SOURCETYPE_AD_Reference_ID=53276; /** Imported = IMP */ @@ -173,21 +363,57 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public static final String A_SOURCETYPE_JournalEntry = "JRN"; /** Manual = MAN */ public static final String A_SOURCETYPE_Manual = "MAN"; - /** Set Source of Entry. - @param A_SourceType Source of Entry */ + /** Project = PRJ */ + public static final String A_SOURCETYPE_Project = "PRJ"; + /** Set Source Type. + @param A_SourceType Source Type */ public void setA_SourceType (String A_SourceType) { set_Value (COLUMNNAME_A_SourceType, A_SourceType); } - /** Get Source of Entry. - @return Source of Entry */ + /** Get Source Type. + @return Source Type */ public String getA_SourceType () { return (String)get_Value(COLUMNNAME_A_SourceType); } + /** Set Entered Amount. + @param AssetAmtEntered Entered Amount */ + public void setAssetAmtEntered (BigDecimal AssetAmtEntered) + { + set_Value (COLUMNNAME_AssetAmtEntered, AssetAmtEntered); + } + + /** Get Entered Amount. + @return Entered Amount */ + public BigDecimal getAssetAmtEntered () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetAmtEntered); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Source Amount. + @param AssetSourceAmt Source Amount */ + public void setAssetSourceAmt (BigDecimal AssetSourceAmt) + { + set_Value (COLUMNNAME_AssetSourceAmt, AssetSourceAmt); + } + + /** Get Source Amount. + @return Source Amount */ + public BigDecimal getAssetSourceAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetSourceAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Asset value. @param AssetValueAmt Book Value of the asset @@ -208,9 +434,93 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return bd; } - public I_C_Invoice getC_Invoice() throws RuntimeException + public org.compiere.model.I_C_Charge getC_Charge() throws RuntimeException { - return (I_C_Invoice)MTable.get(getCtx(), I_C_Invoice.Table_Name) + return (org.compiere.model.I_C_Charge)MTable.get(getCtx(), org.compiere.model.I_C_Charge.Table_Name) + .getPO(getC_Charge_ID(), get_TrxName()); } + + /** Set Charge. + @param C_Charge_ID + Additional document charges + */ + public void setC_Charge_ID (int C_Charge_ID) + { + if (C_Charge_ID < 1) + set_Value (COLUMNNAME_C_Charge_ID, null); + else + set_Value (COLUMNNAME_C_Charge_ID, Integer.valueOf(C_Charge_ID)); + } + + /** Get Charge. + @return Additional document charges + */ + public int getC_Charge_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Charge_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_ConversionType getC_ConversionType() throws RuntimeException + { + return (org.compiere.model.I_C_ConversionType)MTable.get(getCtx(), org.compiere.model.I_C_ConversionType.Table_Name) + .getPO(getC_ConversionType_ID(), get_TrxName()); } + + /** Set Currency Type. + @param C_ConversionType_ID + Currency Conversion Rate Type + */ + public void setC_ConversionType_ID (int C_ConversionType_ID) + { + if (C_ConversionType_ID < 1) + set_Value (COLUMNNAME_C_ConversionType_ID, null); + else + set_Value (COLUMNNAME_C_ConversionType_ID, Integer.valueOf(C_ConversionType_ID)); + } + + /** Get Currency Type. + @return Currency Conversion Rate Type + */ + public int getC_ConversionType_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ConversionType_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException + { + return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name) + .getPO(getC_Currency_ID(), get_TrxName()); } + + /** Set Currency. + @param C_Currency_ID + The Currency for this record + */ + public void setC_Currency_ID (int C_Currency_ID) + { + if (C_Currency_ID < 1) + set_Value (COLUMNNAME_C_Currency_ID, null); + else + set_Value (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID)); + } + + /** Get Currency. + @return The Currency for this record + */ + public int getC_Currency_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException + { + return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name) .getPO(getC_Invoice_ID(), get_TrxName()); } /** Set Invoice. @@ -236,6 +546,153 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return ii.intValue(); } + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException + { + return (org.compiere.model.I_C_InvoiceLine)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceLine.Table_Name) + .getPO(getC_InvoiceLine_ID(), get_TrxName()); } + + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + { + if (C_InvoiceLine_ID < 1) + set_Value (COLUMNNAME_C_InvoiceLine_ID, null); + else + set_Value (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + } + + /** Get Invoice Line. + @return Invoice Detail Line + */ + public int getC_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException + { + return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name) + .getPO(getC_Project_ID(), get_TrxName()); } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Rate. + @param CurrencyRate + Currency Conversion Rate + */ + public void setCurrencyRate (BigDecimal CurrencyRate) + { + set_Value (COLUMNNAME_CurrencyRate, CurrencyRate); + } + + /** Get Rate. + @return Currency Conversion Rate + */ + public BigDecimal getCurrencyRate () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrencyRate); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Account Date. + @param DateAcct + Accounting Date + */ + public void setDateAcct (Timestamp DateAcct) + { + set_Value (COLUMNNAME_DateAcct, DateAcct); + } + + /** Get Account Date. + @return Accounting Date + */ + public Timestamp getDateAcct () + { + return (Timestamp)get_Value(COLUMNNAME_DateAcct); + } + + /** Set Document Date. + @param DateDoc + Date of the Document + */ + public void setDateDoc (Timestamp DateDoc) + { + set_Value (COLUMNNAME_DateDoc, DateDoc); + } + + /** Get Document Date. + @return Date of the Document + */ + public Timestamp getDateDoc () + { + return (Timestamp)get_Value(COLUMNNAME_DateDoc); + } + + /** Set Delta Use Life Years. + @param DeltaUseLifeYears Delta Use Life Years */ + public void setDeltaUseLifeYears (int DeltaUseLifeYears) + { + set_Value (COLUMNNAME_DeltaUseLifeYears, Integer.valueOf(DeltaUseLifeYears)); + } + + /** Get Delta Use Life Years. + @return Delta Use Life Years */ + public int getDeltaUseLifeYears () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DeltaUseLifeYears); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Delta Use Life Years (fiscal). + @param DeltaUseLifeYears_F + Delta Use Life Years (fiscal) + */ + public void setDeltaUseLifeYears_F (int DeltaUseLifeYears_F) + { + set_Value (COLUMNNAME_DeltaUseLifeYears_F, Integer.valueOf(DeltaUseLifeYears_F)); + } + + /** Get Delta Use Life Years (fiscal). + @return Delta Use Life Years (fiscal) + */ + public int getDeltaUseLifeYears_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DeltaUseLifeYears_F); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record @@ -253,6 +710,98 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return (String)get_Value(COLUMNNAME_Description); } + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + /** DocumentNo AD_Reference_ID=53274 */ public static final int DOCUMENTNO_AD_Reference_ID=53274; /** Set Document No. @@ -273,9 +822,17 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return (String)get_Value(COLUMNNAME_DocumentNo); } - public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() { - return (I_GL_JournalBatch)MTable.get(getCtx(), I_GL_JournalBatch.Table_Name) + return new KeyNamePair(get_ID(), getDocumentNo()); + } + + public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException + { + return (org.compiere.model.I_GL_JournalBatch)MTable.get(getCtx(), org.compiere.model.I_GL_JournalBatch.Table_Name) .getPO(getGL_JournalBatch_ID(), get_TrxName()); } /** Set Journal Batch. @@ -301,6 +858,55 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return ii.intValue(); } + public org.compiere.model.I_I_FixedAsset getI_FixedAsset() throws RuntimeException + { + return (org.compiere.model.I_I_FixedAsset)MTable.get(getCtx(), org.compiere.model.I_I_FixedAsset.Table_Name) + .getPO(getI_FixedAsset_ID(), get_TrxName()); } + + /** Set Imported Fixed Asset. + @param I_FixedAsset_ID Imported Fixed Asset */ + public void setI_FixedAsset_ID (int I_FixedAsset_ID) + { + if (I_FixedAsset_ID < 1) + set_Value (COLUMNNAME_I_FixedAsset_ID, null); + else + set_Value (COLUMNNAME_I_FixedAsset_ID, Integer.valueOf(I_FixedAsset_ID)); + } + + /** Get Imported Fixed Asset. + @return Imported Fixed Asset */ + public int getI_FixedAsset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_I_FixedAsset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Approved. + @param IsApproved + Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved) + { + set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved)); + } + + /** Get Approved. + @return Indicates if this document requires approval + */ + public boolean isApproved () + { + Object oo = get_Value(COLUMNNAME_IsApproved); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Line No. @param Line Unique line for this document @@ -321,6 +927,39 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return ii.intValue(); } + public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException + { + return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name) + .getPO(getM_AttributeSetInstance_ID(), get_TrxName()); } + + /** Set Attribute Set Instance. + @param M_AttributeSetInstance_ID + Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + { + if (M_AttributeSetInstance_ID < 0) + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null); + else + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + } + + /** Get Attribute Set Instance. + @return Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException + { + return (org.compiere.model.I_M_InOutLine)MTable.get(getCtx(), org.compiere.model.I_M_InOutLine.Table_Name) + .getPO(getM_InOutLine_ID(), get_TrxName()); } + /** Set Shipment/Receipt Line. @param M_InOutLine_ID Line on Shipment or Receipt document @@ -344,6 +983,114 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers return ii.intValue(); } + public I_M_Locator getM_Locator() throws RuntimeException + { + return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name) + .getPO(getM_Locator_ID(), get_TrxName()); } + + /** Set Locator. + @param M_Locator_ID + Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID) + { + if (M_Locator_ID < 1) + set_Value (COLUMNNAME_M_Locator_ID, null); + else + set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); + } + + /** Get Locator. + @return Warehouse Locator + */ + public int getM_Locator_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_MatchInv getM_MatchInv() throws RuntimeException + { + return (org.compiere.model.I_M_MatchInv)MTable.get(getCtx(), org.compiere.model.I_M_MatchInv.Table_Name) + .getPO(getM_MatchInv_ID(), get_TrxName()); } + + /** Set Match Invoice. + @param M_MatchInv_ID + Match Shipment/Receipt to Invoice + */ + public void setM_MatchInv_ID (int M_MatchInv_ID) + { + if (M_MatchInv_ID < 1) + set_Value (COLUMNNAME_M_MatchInv_ID, null); + else + set_Value (COLUMNNAME_M_MatchInv_ID, Integer.valueOf(M_MatchInv_ID)); + } + + /** Get Match Invoice. + @return Match Shipment/Receipt to Invoice + */ + public int getM_MatchInv_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_MatchInv_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException + { + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) + .getPO(getM_Product_ID(), get_TrxName()); } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + set_Value (COLUMNNAME_M_Product_ID, null); + else + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -373,4 +1120,69 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers { return (String)get_Value(COLUMNNAME_PostingType); } + + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java index 41fb4e3a37..3536fadf8d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java @@ -33,7 +33,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Change (Properties ctx, int A_Asset_Change_ID, String trxName) @@ -43,6 +43,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste { setA_Asset_Change_ID (0); setA_Asset_ID (0); + setAssetValueAmt (Env.ZERO); setChangeType (null); setTextDetails (null); } */ @@ -81,15 +82,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } - /** Set Accumulated Depreciation. - @param A_Accumdepreciation_Acct Accumulated Depreciation */ + /** Set Accumulated Depreciation Account. + @param A_Accumdepreciation_Acct Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get Accumulated Depreciation. - @return Accumulated Depreciation */ + /** Get Accumulated Depreciation Account. + @return Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -103,15 +104,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Asset_Acct(), get_TrxName()); } - /** Set Asset Cost Account. - @param A_Asset_Acct Asset Cost Account */ + /** Set Asset Acct. + @param A_Asset_Acct Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct) { set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); } - /** Get Asset Cost Account. - @return Asset Cost Account */ + /** Get Asset Acct. + @return Asset Acct */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -120,8 +121,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Asset Acct.. - @param A_Asset_Acct_ID Asset Acct. */ + /** Set A_Asset_Acct_ID. + @param A_Asset_Acct_ID A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) { if (A_Asset_Acct_ID < 1) @@ -130,8 +131,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); } - /** Get Asset Acct.. - @return Asset Acct. */ + /** Get A_Asset_Acct_ID. + @return A_Asset_Acct_ID */ public int getA_Asset_Acct_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); @@ -160,8 +161,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Asset Change. - @param A_Asset_Change_ID Asset Change */ + /** Set A_Asset_Change_ID. + @param A_Asset_Change_ID A_Asset_Change_ID */ public void setA_Asset_Change_ID (int A_Asset_Change_ID) { if (A_Asset_Change_ID < 1) @@ -170,8 +171,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste set_ValueNoCheck (COLUMNNAME_A_Asset_Change_ID, Integer.valueOf(A_Asset_Change_ID)); } - /** Get Asset Change. - @return Asset Change */ + /** Get A_Asset_Change_ID. + @return A_Asset_Change_ID */ public int getA_Asset_Change_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Change_ID); @@ -188,23 +189,37 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Change_ID())); } - /** Set Asset Creation Date. - @param A_Asset_CreateDate Asset Creation Date */ + /** Set A_Asset_Change_UU. + @param A_Asset_Change_UU A_Asset_Change_UU */ + public void setA_Asset_Change_UU (String A_Asset_Change_UU) + { + set_Value (COLUMNNAME_A_Asset_Change_UU, A_Asset_Change_UU); + } + + /** Get A_Asset_Change_UU. + @return A_Asset_Change_UU */ + public String getA_Asset_Change_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Change_UU); + } + + /** Set Create Date. + @param A_Asset_CreateDate Create Date */ public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate) { set_Value (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate); } - /** Get Asset Creation Date. - @return Asset Creation Date */ + /** Get Create Date. + @return Create Date */ public Timestamp getA_Asset_CreateDate () { return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate); } - public I_A_Asset getA_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Asset_ID(), get_TrxName()); } /** Set Asset. @@ -253,34 +268,34 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Asset Reval. Date. - @param A_Asset_RevalDate Asset Reval. Date */ + /** Set Revaluation Date. + @param A_Asset_RevalDate Revaluation Date */ public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate) { set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate); } - /** Get Asset Reval. Date. - @return Asset Reval. Date */ + /** Get Revaluation Date. + @return Revaluation Date */ public Timestamp getA_Asset_RevalDate () { return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate); } - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException { - return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) + return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name) .getPO(getA_Asset_Spread_Type(), get_TrxName()); } - /** Set Asset Spread Type. - @param A_Asset_Spread_Type Asset Spread Type */ + /** Set Spread Type. + @param A_Asset_Spread_Type Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) { set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); } - /** Get Asset Spread Type. - @return Asset Spread Type */ + /** Get Spread Type. + @return Spread Type */ public int getA_Asset_Spread_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); @@ -294,15 +309,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Depreciation_Acct(), get_TrxName()); } - /** Set Depreciation Expense Account. - @param A_Depreciation_Acct Depreciation Expense Account */ + /** Set Depreciation Account. + @param A_Depreciation_Acct Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct) { set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); } - /** Get Depreciation Expense Account. - @return Depreciation Expense Account */ + /** Get Depreciation Account. + @return Depreciation Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -311,20 +326,20 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException { - return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } - /** Set Depreciation Calculation Type. - @param A_Depreciation_Calc_Type Depreciation Calculation Type */ + /** Set Calculation Type. + @param A_Depreciation_Calc_Type Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) { set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); } - /** Get Depreciation Calculation Type. - @return Depreciation Calculation Type */ + /** Get Calculation Type. + @return Calculation Type */ public int getA_Depreciation_Calc_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); @@ -333,15 +348,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Depreciation Manual Amount. - @param A_Depreciation_Manual_Amount Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount. + @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) { set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); } - /** Get Depreciation Manual Amount. - @return Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount. + @return A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); @@ -356,28 +371,28 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; /** Yearly = YR */ public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; - /** Set Depreciation Manual Period. - @param A_Depreciation_Manual_Period Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period. + @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } - /** Get Depreciation Manual Period. - @return Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period. + @return A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period () { return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); } - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException { - return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) + return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name) .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } - /** Set Depreciation Table Header. - @param A_Depreciation_Table_Header_ID Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID. + @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) { if (A_Depreciation_Table_Header_ID < 1) @@ -386,8 +401,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); } - /** Get Depreciation Table Header. - @return Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID. + @return A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); @@ -396,15 +411,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Depreciation Variable Perc.. - @param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ + /** Set Variable Percent. + @param A_Depreciation_Variable_Perc Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) { set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); } - /** Get Depreciation Variable Perc.. - @return Depreciation Variable Perc. */ + /** Get Variable Percent. + @return Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); @@ -435,6 +450,28 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Loss_Acct(), get_TrxName()); } + + /** Set Disposal Loss Acct. + @param A_Disposal_Loss_Acct Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct)); + } + + /** Get Disposal Loss Acct. + @return Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -457,9 +494,31 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - public I_AD_User getAD_User() throws RuntimeException + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); } + + /** Set Disposal Revenue Acct. + @param A_Disposal_Revenue_Acct Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct)); + } + + /** Get Disposal Revenue Acct. + @return Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException + { + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getAD_User_ID(), get_TrxName()); } /** Set User/Contact. @@ -485,13 +544,13 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - public I_A_Asset getA_Parent_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Parent_Asset_ID(), get_TrxName()); } - /** Set Asset ID. - @param A_Parent_Asset_ID Asset ID */ + /** Set Parent Asset. + @param A_Parent_Asset_ID Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) { if (A_Parent_Asset_ID < 1) @@ -500,8 +559,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); } - /** Get Asset ID. - @return Asset ID */ + /** Get Parent Asset. + @return Parent Asset */ public int getA_Parent_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); @@ -510,15 +569,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Period End. - @param A_Period_End Period End */ + /** Set A_Period_End. + @param A_Period_End A_Period_End */ public void setA_Period_End (int A_Period_End) { set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); } - /** Get Period End. - @return Period End */ + /** Get A_Period_End. + @return A_Period_End */ public int getA_Period_End () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); @@ -527,15 +586,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Period Start. - @param A_Period_Start Period Start */ + /** Set A_Period_Start. + @param A_Period_Start A_Period_Start */ public void setA_Period_Start (int A_Period_Start) { set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); } - /** Get Period Start. - @return Period Start */ + /** Get A_Period_Start. + @return A_Period_Start */ public int getA_Period_Start () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); @@ -544,15 +603,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public BigDecimal getA_QTY_Current () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); @@ -561,15 +620,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - /** Set Original Qty. - @param A_QTY_Original Original Qty */ + /** Set A_QTY_Original. + @param A_QTY_Original A_QTY_Original */ public void setA_QTY_Original (BigDecimal A_QTY_Original) { set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original); } - /** Get Original Qty. - @return Original Qty */ + /** Get A_QTY_Original. + @return A_QTY_Original */ public BigDecimal getA_QTY_Original () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original); @@ -612,6 +671,40 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + /** Set A_Reval_Accumdep_Offset_Cur. + @param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Cur. + @return A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Reval_Accumdep_Offset_Prior. + @param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Prior. + @return A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** A_Reval_Cal_Method AD_Reference_ID=53259 */ public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; /** Default = DFT */ @@ -620,16 +713,16 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set Revaluation Calculation Method. - @param A_Reval_Cal_Method Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method. + @param A_Reval_Cal_Method A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get Revaluation Calculation Method. - @return Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method. + @return A_Reval_Cal_Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); @@ -652,6 +745,23 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + /** Set Reval Cost Offset Acct. + @param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct)); + } + + /** Get Reval Cost Offset Acct. + @return Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Revaluation Cost Offset for Prior Year. @param A_Reval_Cost_Offset_Prior Revaluation Cost Offset for Prior Year */ public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior) @@ -669,6 +779,23 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + /** Set Reval Cost Offset Prior Acct. + @param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct)); + } + + /** Get Reval Cost Offset Prior Acct. + @return Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Revaluation Expense Offs. @param A_Reval_Depexp_Offset Revaluation Expense Offs */ public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset) @@ -686,15 +813,32 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** Set Salvage Value. - @param A_Salvage_Value Salvage Value */ + /** Set Reval Depexp Offset Acct. + @param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct)); + } + + /** Get Reval Depexp Offset Acct. + @return Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value) { set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); } - /** Get Salvage Value. - @return Salvage Value */ + /** Get Asset Salvage Value. + @return Asset Salvage Value */ public BigDecimal getA_Salvage_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); @@ -703,15 +847,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - /** Set Split Percentage. - @param A_Split_Percent Split Percentage */ + /** Set Split Percent. + @param A_Split_Percent Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get Split Percentage. - @return Split Percentage */ + /** Get Split Percent. + @return Split Percent */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -720,15 +864,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - /** Set Asset Accum. Depreciation Amt.. - @param AssetAccumDepreciationAmt Asset Accum. Depreciation Amt. */ + /** Set AssetAccumDepreciationAmt. + @param AssetAccumDepreciationAmt AssetAccumDepreciationAmt */ public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt) { set_ValueNoCheck (COLUMNNAME_AssetAccumDepreciationAmt, AssetAccumDepreciationAmt); } - /** Get Asset Accum. Depreciation Amt.. - @return Asset Accum. Depreciation Amt. */ + /** Get AssetAccumDepreciationAmt. + @return AssetAccumDepreciationAmt */ public BigDecimal getAssetAccumDepreciationAmt () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetAccumDepreciationAmt); @@ -737,15 +881,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - /** Set Asset Book value amt.. - @param AssetBookValueAmt Asset Book value amt. */ + /** Set AssetBookValueAmt. + @param AssetBookValueAmt AssetBookValueAmt */ public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt) { set_ValueNoCheck (COLUMNNAME_AssetBookValueAmt, AssetBookValueAmt); } - /** Get Asset Book value amt.. - @return Asset Book value amt. */ + /** Get AssetBookValueAmt. + @return AssetBookValueAmt */ public BigDecimal getAssetBookValueAmt () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetBookValueAmt); @@ -845,9 +989,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -873,6 +1017,11 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException + { + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) + .getPO(getC_BPartner_ID(), get_TrxName()); } + /** Set Business Partner . @param C_BPartner_ID Identifies a Business Partner @@ -896,9 +1045,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException { - return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) + return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name) .getPO(getC_BPartner_Location_ID(), get_TrxName()); } /** Set Partner Location. @@ -1028,9 +1177,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - public I_A_Depreciation_Convention getConventionT() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException { - return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) .getPO(getConventionType(), get_TrxName()); } /** Set ConventionType. @@ -1095,9 +1244,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return (Timestamp)get_Value(COLUMNNAME_DateAcct); } - public I_A_Depreciation getDepreciationT() throws RuntimeException + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException { - return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) .getPO(getDepreciationType(), get_TrxName()); } /** Set DepreciationType. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java new file mode 100644 index 0000000000..27264add4d --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java @@ -0,0 +1,279 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; + +/** Generated Model for A_Asset_Class + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_A_Asset_Class (Properties ctx, int A_Asset_Class_ID, String trxName) + { + super (ctx, A_Asset_Class_ID, trxName); + /** if (A_Asset_Class_ID == 0) + { + setA_Asset_Class_ID (0); + setA_Life_Period_Max (0); + setA_Life_Period_Min (0); + setName (null); + setValue (null); + } */ + } + + /** Load Constructor */ + public X_A_Asset_Class (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 7 - System - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_A_Asset_Class[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Asset class. + @param A_Asset_Class_ID Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID) + { + if (A_Asset_Class_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_Class_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID)); + } + + /** Get Asset class. + @return Asset class */ + public int getA_Asset_Class_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life Periods 2004 (min). + @param A_Life_Period_2004 Life Periods 2004 (min) */ + public void setA_Life_Period_2004 (int A_Life_Period_2004) + { + set_Value (COLUMNNAME_A_Life_Period_2004, Integer.valueOf(A_Life_Period_2004)); + } + + /** Get Life Periods 2004 (min). + @return Life Periods 2004 (min) */ + public int getA_Life_Period_2004 () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_2004); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life periods (max). + @param A_Life_Period_Max Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max) + { + set_Value (COLUMNNAME_A_Life_Period_Max, Integer.valueOf(A_Life_Period_Max)); + } + + /** Get Life periods (max). + @return Life periods (max) */ + public int getA_Life_Period_Max () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Max); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life periods (min). + @param A_Life_Period_Min Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min) + { + set_Value (COLUMNNAME_A_Life_Period_Min, Integer.valueOf(A_Life_Period_Min)); + } + + /** Get Life periods (min). + @return Life periods (min) */ + public int getA_Life_Period_Min () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Min); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Value 2004. + @param A_Value_2004 Value 2004 */ + public void setA_Value_2004 (String A_Value_2004) + { + set_Value (COLUMNNAME_A_Value_2004, A_Value_2004); + } + + /** Get Value 2004. + @return Value 2004 */ + public String getA_Value_2004 () + { + return (String)get_Value(COLUMNNAME_A_Value_2004); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_ValueNoCheck (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Fixed Asset Class. + @param MFX_Clasa Fixed Asset Class */ + public void setMFX_Clasa (int MFX_Clasa) + { + set_Value (COLUMNNAME_MFX_Clasa, Integer.valueOf(MFX_Clasa)); + } + + /** Get Fixed Asset Class. + @return Fixed Asset Class */ + public int getMFX_Clasa () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MFX_Clasa); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Fixed Asset Group. + @param MFX_Grupa Fixed Asset Group */ + public void setMFX_Grupa (int MFX_Grupa) + { + set_Value (COLUMNNAME_MFX_Grupa, Integer.valueOf(MFX_Grupa)); + } + + /** Get Fixed Asset Group. + @return Fixed Asset Group */ + public int getMFX_Grupa () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MFX_Grupa); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Fixed Asset Subclass. + @param MFX_SubClasa Fixed Asset Subclass */ + public void setMFX_SubClasa (int MFX_SubClasa) + { + set_Value (COLUMNNAME_MFX_SubClasa, Integer.valueOf(MFX_SubClasa)); + } + + /** Get Fixed Asset Subclass. + @return Fixed Asset Subclass */ + public int getMFX_SubClasa () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MFX_SubClasa); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Fixed Asset Subgroup. + @param MFX_SubGrupa Fixed Asset Subgroup */ + public void setMFX_SubGrupa (int MFX_SubGrupa) + { + set_Value (COLUMNNAME_MFX_SubGrupa, Integer.valueOf(MFX_SubGrupa)); + } + + /** Get Fixed Asset Subgroup. + @return Fixed Asset Subgroup */ + public int getMFX_SubGrupa () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MFX_SubGrupa); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set Search Key. + @param Value + Search key for the record in the format required - must be unique + */ + public void setValue (String Value) + { + set_Value (COLUMNNAME_Value, Value); + } + + /** Get Search Key. + @return Search key for the record in the format required - must be unique + */ + public String getValue () + { + return (String)get_Value(COLUMNNAME_Value); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java index 1d4dd3ef6e..f57b79447d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java @@ -31,7 +31,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Delivery (Properties ctx, int A_Asset_Delivery_ID, String trxName) @@ -96,9 +96,23 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return ii.intValue(); } - public I_A_Asset getA_Asset() throws RuntimeException + /** Set A_Asset_Delivery_UU. + @param A_Asset_Delivery_UU A_Asset_Delivery_UU */ + public void setA_Asset_Delivery_UU (String A_Asset_Delivery_UU) + { + set_Value (COLUMNNAME_A_Asset_Delivery_UU, A_Asset_Delivery_UU); + } + + /** Get A_Asset_Delivery_UU. + @return A_Asset_Delivery_UU */ + public String getA_Asset_Delivery_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Delivery_UU); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Asset_ID(), get_TrxName()); } /** Set Asset. @@ -124,9 +138,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return ii.intValue(); } - public I_AD_User getAD_User() throws RuntimeException + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getAD_User_ID(), get_TrxName()); } /** Set User/Contact. @@ -237,9 +251,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return (String)get_Value(COLUMNNAME_MessageID); } - public I_M_InOutLine getM_InOutLine() throws RuntimeException + public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException { - return (I_M_InOutLine)MTable.get(getCtx(), I_M_InOutLine.Table_Name) + return (org.compiere.model.I_M_InOutLine)MTable.get(getCtx(), org.compiere.model.I_M_InOutLine.Table_Name) .getPO(getM_InOutLine_ID(), get_TrxName()); } /** Set Shipment/Receipt Line. @@ -290,9 +304,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); } - public I_M_ProductDownload getM_ProductDownload() throws RuntimeException + public org.compiere.model.I_M_ProductDownload getM_ProductDownload() throws RuntimeException { - return (I_M_ProductDownload)MTable.get(getCtx(), I_M_ProductDownload.Table_Name) + return (org.compiere.model.I_M_ProductDownload)MTable.get(getCtx(), org.compiere.model.I_M_ProductDownload.Table_Name) .getPO(getM_ProductDownload_ID(), get_TrxName()); } /** Set Product Download. @@ -388,7 +402,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers /** Set URL. @param URL - Full URL address - e.g. http://www.adempiere.org + Full URL address - e.g. http://www.idempiere.org */ public void setURL (String URL) { @@ -396,7 +410,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers } /** Get URL. - @return Full URL address - e.g. http://www.adempiere.org + @return Full URL address - e.g. http://www.idempiere.org */ public String getURL () { diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java index e2c6a39d08..01c382f45f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java @@ -33,7 +33,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) @@ -41,16 +41,31 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers super (ctx, A_Asset_Disposed_ID, trxName); /** if (A_Asset_Disposed_ID == 0) { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Activation_Method (null); +// 'AA' setA_Asset_Disposed_ID (0); setA_Asset_ID (0); + setA_Disposal_Amt (Env.ZERO); +// 0 setA_Disposed_Date (new Timestamp( System.currentTimeMillis() )); setA_Disposed_Method (null); - setA_Disposed_Reason (null); - setC_Period_ID (0); setDateAcct (new Timestamp( System.currentTimeMillis() )); // @Date@ setDateDoc (new Timestamp( System.currentTimeMillis() )); // @Date@ + setDocumentNo (null); + setExpense (Env.ZERO); +// 0 + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// N + setPostingType (null); +// A setProcessed (false); setProcessing (false); } */ @@ -84,8 +99,78 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return sb.toString(); } - /** Set Disposed Asset. - @param A_Asset_Disposed_ID Disposed Asset */ + /** Set Accumulated Depreciation. + @param A_Accumulated_Depr Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr) + { + set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr); + } + + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Accumulated Depreciation (delta). + @param A_Accumulated_Depr_Delta Accumulated Depreciation (delta) */ + public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_Delta, A_Accumulated_Depr_Delta); + } + + /** Get Accumulated Depreciation (delta). + @return Accumulated Depreciation (delta) */ + public BigDecimal getA_Accumulated_Depr_Delta () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_Delta); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** A_Activation_Method AD_Reference_ID=53364 */ + public static final int A_ACTIVATION_METHOD_AD_Reference_ID=53364; + /** Activation = AA */ + public static final String A_ACTIVATION_METHOD_Activation = "AA"; + /** Set Activation Method. + @param A_Activation_Method Activation Method */ + public void setA_Activation_Method (String A_Activation_Method) + { + + set_Value (COLUMNNAME_A_Activation_Method, A_Activation_Method); + } + + /** Get Activation Method. + @return Activation Method */ + public String getA_Activation_Method () + { + return (String)get_Value(COLUMNNAME_A_Activation_Method); + } + + /** Set Asset Cost. + @param A_Asset_Cost Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost) + { + set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost); + } + + /** Get Asset Cost. + @return Asset Cost */ + public BigDecimal getA_Asset_Cost () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Asset Disposed. + @param A_Asset_Disposed_ID Asset Disposed */ public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID) { if (A_Asset_Disposed_ID < 1) @@ -94,8 +179,8 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers set_ValueNoCheck (COLUMNNAME_A_Asset_Disposed_ID, Integer.valueOf(A_Asset_Disposed_ID)); } - /** Get Disposed Asset. - @return Disposed Asset */ + /** Get Asset Disposed. + @return Asset Disposed */ public int getA_Asset_Disposed_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Disposed_ID); @@ -112,6 +197,25 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Disposed_ID())); } + /** Set A_Asset_Disposed_UU. + @param A_Asset_Disposed_UU A_Asset_Disposed_UU */ + public void setA_Asset_Disposed_UU (String A_Asset_Disposed_UU) + { + set_Value (COLUMNNAME_A_Asset_Disposed_UU, A_Asset_Disposed_UU); + } + + /** Get A_Asset_Disposed_UU. + @return A_Asset_Disposed_UU */ + public String getA_Asset_Disposed_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Disposed_UU); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -119,9 +223,9 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + set_Value (COLUMNNAME_A_Asset_ID, null); else - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); } /** Get Asset. @@ -135,9 +239,40 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return ii.intValue(); } - public I_A_Asset getA_Asset_Trade() throws RuntimeException + /** A_Asset_Status AD_Reference_ID=53359 */ + public static final int A_ASSET_STATUS_AD_Reference_ID=53359; + /** Activated = AC */ + public static final String A_ASSET_STATUS_Activated = "AC"; + /** Disposed = DI */ + public static final String A_ASSET_STATUS_Disposed = "DI"; + /** Depreciated = DP */ + public static final String A_ASSET_STATUS_Depreciated = "DP"; + /** New = NW */ + public static final String A_ASSET_STATUS_New = "NW"; + /** Preservation = PR */ + public static final String A_ASSET_STATUS_Preservation = "PR"; + /** Retired = RE */ + public static final String A_ASSET_STATUS_Retired = "RE"; + /** Sold = SO */ + public static final String A_ASSET_STATUS_Sold = "SO"; + /** Set Asset Status. + @param A_Asset_Status Asset Status */ + public void setA_Asset_Status (String A_Asset_Status) + { + + set_Value (COLUMNNAME_A_Asset_Status, A_Asset_Status); + } + + /** Get Asset Status. + @return Asset Status */ + public String getA_Asset_Status () + { + return (String)get_Value(COLUMNNAME_A_Asset_Status); + } + + public org.compiere.model.I_A_Asset getA_Asset_Trade() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Asset_Trade_ID(), get_TrxName()); } /** Set Asset Trade. @@ -160,6 +295,23 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return ii.intValue(); } + /** Set Disposal Amount. + @param A_Disposal_Amt Disposal Amount */ + public void setA_Disposal_Amt (BigDecimal A_Disposal_Amt) + { + set_Value (COLUMNNAME_A_Disposal_Amt, A_Disposal_Amt); + } + + /** Get Disposal Amount. + @return Disposal Amount */ + public BigDecimal getA_Disposal_Amt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Disposal_Amt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Disposed Date. @param A_Disposed_Date Disposed Date */ public void setA_Disposed_Date (Timestamp A_Disposed_Date) @@ -184,16 +336,24 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public static final String A_DISPOSED_METHOD_Trade = "T1"; /** Trade w/cash = T2 */ public static final String A_DISPOSED_METHOD_TradeWCash = "T2"; - /** Set Disposal Method. - @param A_Disposed_Method Disposal Method */ + /** Cash_ = C_ */ + public static final String A_DISPOSED_METHOD_Cash_ = "C_"; + /** Partial Retirement = PD */ + public static final String A_DISPOSED_METHOD_PartialRetirement = "PD"; + /** Preservation = PR */ + public static final String A_DISPOSED_METHOD_Preservation = "PR"; + /** Simple_ = S_ */ + public static final String A_DISPOSED_METHOD_Simple_ = "S_"; + /** Set Disposed Method. + @param A_Disposed_Method Disposed Method */ public void setA_Disposed_Method (String A_Disposed_Method) { set_Value (COLUMNNAME_A_Disposed_Method, A_Disposed_Method); } - /** Get Disposal Method. - @return Disposal Method */ + /** Get Disposed Method. + @return Disposed Method */ public String getA_Disposed_Method () { return (String)get_Value(COLUMNNAME_A_Disposed_Method); @@ -213,30 +373,30 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public static final String A_DISPOSED_REASON_SoldWTrade = "S2"; /** Theft = T */ public static final String A_DISPOSED_REASON_Theft = "T"; - /** Set Disposed Reason Code. - @param A_Disposed_Reason Disposed Reason Code */ + /** Set Disposed Reason. + @param A_Disposed_Reason Disposed Reason */ public void setA_Disposed_Reason (String A_Disposed_Reason) { set_Value (COLUMNNAME_A_Disposed_Reason, A_Disposed_Reason); } - /** Get Disposed Reason Code. - @return Disposed Reason Code */ + /** Get Disposed Reason. + @return Disposed Reason */ public String getA_Disposed_Reason () { return (String)get_Value(COLUMNNAME_A_Disposed_Reason); } - /** Set Proceeds. - @param A_Proceeds Proceeds */ + /** Set Asset Proceeds. + @param A_Proceeds Asset Proceeds */ public void setA_Proceeds (BigDecimal A_Proceeds) { set_Value (COLUMNNAME_A_Proceeds, A_Proceeds); } - /** Get Proceeds. - @return Proceeds */ + /** Get Asset Proceeds. + @return Asset Proceeds */ public BigDecimal getA_Proceeds () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Proceeds); @@ -245,9 +405,65 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return bd; } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name) + .getPO(getC_Invoice_ID(), get_TrxName()); } + + /** Set Invoice. + @param C_Invoice_ID + Invoice Identifier + */ + public void setC_Invoice_ID (int C_Invoice_ID) + { + if (C_Invoice_ID < 1) + set_Value (COLUMNNAME_C_Invoice_ID, null); + else + set_Value (COLUMNNAME_C_Invoice_ID, Integer.valueOf(C_Invoice_ID)); + } + + /** Get Invoice. + @return Invoice Identifier + */ + public int getC_Invoice_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Invoice_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException + { + return (org.compiere.model.I_C_InvoiceLine)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceLine.Table_Name) + .getPO(getC_InvoiceLine_ID(), get_TrxName()); } + + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + { + if (C_InvoiceLine_ID < 1) + set_Value (COLUMNNAME_C_InvoiceLine_ID, null); + else + set_Value (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + } + + /** Get Invoice Line. + @return Invoice Detail Line + */ + public int getC_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException + { + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. @@ -307,6 +523,251 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return (Timestamp)get_Value(COLUMNNAME_DateDoc); } + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + + /** Set Document No. + @param DocumentNo + Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo) + { + set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); + } + + /** Get Document No. + @return Document sequence number of the document + */ + public String getDocumentNo () + { + return (String)get_Value(COLUMNNAME_DocumentNo); + } + + /** Set Expense. + @param Expense Expense */ + public void setExpense (BigDecimal Expense) + { + set_Value (COLUMNNAME_Expense, Expense); + } + + /** Get Expense. + @return Expense */ + public BigDecimal getExpense () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Expense); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Approved. + @param IsApproved + Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved) + { + set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved)); + } + + /** Get Approved. + @return Indicates if this document requires approval + */ + public boolean isApproved () + { + Object oo = get_Value(COLUMNNAME_IsApproved); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Disposed. + @param IsDisposed + The asset is disposed + */ + public void setIsDisposed (boolean IsDisposed) + { + set_Value (COLUMNNAME_IsDisposed, Boolean.valueOf(IsDisposed)); + } + + /** Get Disposed. + @return The asset is disposed + */ + public boolean isDisposed () + { + Object oo = get_Value(COLUMNNAME_IsDisposed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** PostingType AD_Reference_ID=125 */ + public static final int POSTINGTYPE_AD_Reference_ID=125; + /** Actual = A */ + public static final String POSTINGTYPE_Actual = "A"; + /** Budget = B */ + public static final String POSTINGTYPE_Budget = "B"; + /** Commitment = E */ + public static final String POSTINGTYPE_Commitment = "E"; + /** Statistical = S */ + public static final String POSTINGTYPE_Statistical = "S"; + /** Reservation = R */ + public static final String POSTINGTYPE_Reservation = "R"; + /** Set PostingType. + @param PostingType + The type of posted amount for the transaction + */ + public void setPostingType (String PostingType) + { + + set_Value (COLUMNNAME_PostingType, PostingType); + } + + /** Get PostingType. + @return The type of posted amount for the transaction + */ + public String getPostingType () + { + return (String)get_Value(COLUMNNAME_PostingType); + } + /** Set Processed. @param Processed The document has been processed @@ -331,6 +792,26 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers return false; } + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java index 9c88af9ece..ce8981084a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java @@ -30,7 +30,7 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Group (Properties ctx, int A_Asset_Group_ID, String trxName) @@ -41,9 +41,13 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent setA_Asset_Group_ID (0); setIsCreateAsActive (true); // Y + setIsDefault (false); +// 'N' setIsDepreciated (false); setIsOneAssetPerUOM (false); setIsOwned (false); + setIsTrackIssues (false); +// N setName (null); } */ } @@ -76,6 +80,31 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent return sb.toString(); } + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name) + .getPO(getA_Asset_Class_ID(), get_TrxName()); } + + /** Set Asset class. + @param A_Asset_Class_ID Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID) + { + if (A_Asset_Class_ID < 1) + set_Value (COLUMNNAME_A_Asset_Class_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID)); + } + + /** Get Asset class. + @return Asset class */ + public int getA_Asset_Class_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Asset Group. @param A_Asset_Group_ID Group of Assets @@ -107,6 +136,45 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_ID())); } + /** Set A_Asset_Group_UU. + @param A_Asset_Group_UU A_Asset_Group_UU */ + public void setA_Asset_Group_UU (String A_Asset_Group_UU) + { + set_Value (COLUMNNAME_A_Asset_Group_UU, A_Asset_Group_UU); + } + + /** Get A_Asset_Group_UU. + @return A_Asset_Group_UU */ + public String getA_Asset_Group_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Group_UU); + } + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name) + .getPO(getA_Asset_Type_ID(), get_TrxName()); } + + /** Set Asset Type. + @param A_Asset_Type_ID Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID) + { + if (A_Asset_Type_ID < 1) + set_Value (COLUMNNAME_A_Asset_Type_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID)); + } + + /** Get Asset Type. + @return Asset Type */ + public int getA_Asset_Type_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record @@ -165,6 +233,30 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent return false; } + /** Set Default. + @param IsDefault + Default value + */ + public void setIsDefault (boolean IsDefault) + { + set_Value (COLUMNNAME_IsDefault, Boolean.valueOf(IsDefault)); + } + + /** Get Default. + @return Default value + */ + public boolean isDefault () + { + Object oo = get_Value(COLUMNNAME_IsDefault); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Depreciate. @param IsDepreciated The asset will be depreciated @@ -189,6 +281,27 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent return false; } + /** Set IsFixedAsset. + @param IsFixedAsset IsFixedAsset */ + public void setIsFixedAsset (boolean IsFixedAsset) + { + set_Value (COLUMNNAME_IsFixedAsset, Boolean.valueOf(IsFixedAsset)); + } + + /** Get IsFixedAsset. + @return IsFixedAsset */ + public boolean isFixedAsset () + { + Object oo = get_Value(COLUMNNAME_IsFixedAsset); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set One Asset Per UOM. @param IsOneAssetPerUOM Create one asset per UOM diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java index f21da9201b..472d2399e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java @@ -32,7 +32,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Group_Acct (Properties ctx, int A_Asset_Group_Acct_ID, String trxName) @@ -40,14 +40,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ super (ctx, A_Asset_Group_Acct_ID, trxName); /** if (A_Asset_Group_Acct_ID == 0) { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); setA_Asset_Group_Acct_ID (0); setA_Asset_Group_ID (0); - setA_Depreciation_Calc_Type (0); + setA_Depreciation_Acct (0); + setA_Depreciation_Conv_F_ID (0); + setA_Depreciation_Conv_ID (0); + setA_Depreciation_F_ID (0); + setA_Depreciation_ID (0); + setA_Depreciation_Method_F_ID (0); + setA_Depreciation_Method_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); setA_Split_Percent (Env.ZERO); +// 1 setC_AcctSchema_ID (0); - setConventionType (0); - setDepreciationType (0); setPostingType (null); +// 'A' + setUseLifeMonths_F (0); +// 0 + setUseLifeYears_F (0); +// 0 } */ } @@ -84,15 +98,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } - /** Set Accumulated Depreciation. - @param A_Accumdepreciation_Acct Accumulated Depreciation */ + /** Set Accumulated Depreciation Account. + @param A_Accumdepreciation_Acct Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get Accumulated Depreciation. - @return Accumulated Depreciation */ + /** Get Accumulated Depreciation Account. + @return Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -106,15 +120,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Asset_Acct(), get_TrxName()); } - /** Set Asset Cost Account. - @param A_Asset_Acct Asset Cost Account */ + /** Set Asset Acct. + @param A_Asset_Acct Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct) { set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); } - /** Get Asset Cost Account. - @return Asset Cost Account */ + /** Get Asset Acct. + @return Asset Acct */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -123,8 +137,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - /** Set Asset Group Acct.. - @param A_Asset_Group_Acct_ID Asset Group Acct. */ + /** Set Asset Group Accounting. + @param A_Asset_Group_Acct_ID Asset Group Accounting */ public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID) { if (A_Asset_Group_Acct_ID < 1) @@ -133,8 +147,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ set_ValueNoCheck (COLUMNNAME_A_Asset_Group_Acct_ID, Integer.valueOf(A_Asset_Group_Acct_ID)); } - /** Get Asset Group Acct.. - @return Asset Group Acct. */ + /** Get Asset Group Accounting. + @return Asset Group Accounting */ public int getA_Asset_Group_Acct_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Group_Acct_ID); @@ -151,9 +165,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_Acct_ID())); } - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException + /** Set A_Asset_Group_Acct_UU. + @param A_Asset_Group_Acct_UU A_Asset_Group_Acct_UU */ + public void setA_Asset_Group_Acct_UU (String A_Asset_Group_Acct_UU) + { + set_Value (COLUMNNAME_A_Asset_Group_Acct_UU, A_Asset_Group_Acct_UU); + } + + /** Get A_Asset_Group_Acct_UU. + @return A_Asset_Group_Acct_UU */ + public String getA_Asset_Group_Acct_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Group_Acct_UU); + } + + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException { - return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) + return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name) .getPO(getA_Asset_Group_ID(), get_TrxName()); } /** Set Asset Group. @@ -179,20 +207,20 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException { - return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) + return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name) .getPO(getA_Asset_Spread_Type(), get_TrxName()); } - /** Set Asset Spread Type. - @param A_Asset_Spread_Type Asset Spread Type */ + /** Set Spread Type. + @param A_Asset_Spread_Type Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) { set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); } - /** Get Asset Spread Type. - @return Asset Spread Type */ + /** Get Spread Type. + @return Spread Type */ public int getA_Asset_Spread_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); @@ -206,15 +234,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Depreciation_Acct(), get_TrxName()); } - /** Set Depreciation Expense Account. - @param A_Depreciation_Acct Depreciation Expense Account */ + /** Set Depreciation Account. + @param A_Depreciation_Acct Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct) { set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); } - /** Get Depreciation Expense Account. - @return Depreciation Expense Account */ + /** Get Depreciation Account. + @return Depreciation Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -223,20 +251,20 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException { - return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } - /** Set Depreciation Calculation Type. - @param A_Depreciation_Calc_Type Depreciation Calculation Type */ + /** Set Calculation Type. + @param A_Depreciation_Calc_Type Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) { - set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); + set_ValueNoCheck (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); } - /** Get Depreciation Calculation Type. - @return Depreciation Calculation Type */ + /** Get Calculation Type. + @return Calculation Type */ public int getA_Depreciation_Calc_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); @@ -245,8 +273,88 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - /** Set Depreciation Type. - @param A_Depreciation_ID Depreciation Type */ + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) + .getPO(getA_Depreciation_Conv_F_ID(), get_TrxName()); } + + /** Set Depreciation Convention (fiscal). + @param A_Depreciation_Conv_F_ID Depreciation Convention (fiscal) */ + public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID) + { + if (A_Depreciation_Conv_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, Integer.valueOf(A_Depreciation_Conv_F_ID)); + } + + /** Get Depreciation Convention (fiscal). + @return Depreciation Convention (fiscal) */ + public int getA_Depreciation_Conv_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) + .getPO(getA_Depreciation_Conv_ID(), get_TrxName()); } + + /** Set Convention Type. + @param A_Depreciation_Conv_ID Convention Type */ + public void setA_Depreciation_Conv_ID (int A_Depreciation_Conv_ID) + { + if (A_Depreciation_Conv_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Conv_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Conv_ID, Integer.valueOf(A_Depreciation_Conv_ID)); + } + + /** Get Convention Type. + @return Convention Type */ + public int getA_Depreciation_Conv_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) + .getPO(getA_Depreciation_F_ID(), get_TrxName()); } + + /** Set Depreciation (fiscal). + @param A_Depreciation_F_ID Depreciation (fiscal) */ + public void setA_Depreciation_F_ID (int A_Depreciation_F_ID) + { + if (A_Depreciation_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_F_ID, Integer.valueOf(A_Depreciation_F_ID)); + } + + /** Get Depreciation (fiscal). + @return Depreciation (fiscal) */ + public int getA_Depreciation_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) + .getPO(getA_Depreciation_ID(), get_TrxName()); } + + /** Set Depreciation. + @param A_Depreciation_ID Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID) { if (A_Depreciation_ID < 1) @@ -255,8 +363,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); } - /** Get Depreciation Type. - @return Depreciation Type */ + /** Get Depreciation. + @return Depreciation */ public int getA_Depreciation_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); @@ -265,15 +373,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - /** Set Depreciation Manual Amount. - @param A_Depreciation_Manual_Amount Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount. + @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) { set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); } - /** Get Depreciation Manual Amount. - @return Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount. + @return A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); @@ -288,28 +396,78 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; /** Yearly = YR */ public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; - /** Set Depreciation Manual Period. - @param A_Depreciation_Manual_Period Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period. + @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } - /** Get Depreciation Manual Period. - @return Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period. + @return A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period () { return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); } - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException { - return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) + .getPO(getA_Depreciation_Method_F_ID(), get_TrxName()); } + + /** Set Depreciation Method (fiscal). + @param A_Depreciation_Method_F_ID Depreciation Method (fiscal) */ + public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID) + { + if (A_Depreciation_Method_F_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, Integer.valueOf(A_Depreciation_Method_F_ID)); + } + + /** Get Depreciation Method (fiscal). + @return Depreciation Method (fiscal) */ + public int getA_Depreciation_Method_F_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_F_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) + .getPO(getA_Depreciation_Method_ID(), get_TrxName()); } + + /** Set Depreciation Method. + @param A_Depreciation_Method_ID Depreciation Method */ + public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID) + { + if (A_Depreciation_Method_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Method_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID)); + } + + /** Get Depreciation Method. + @return Depreciation Method */ + public int getA_Depreciation_Method_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name) .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } - /** Set Depreciation Table Header. - @param A_Depreciation_Table_Header_ID Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID. + @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) { if (A_Depreciation_Table_Header_ID < 1) @@ -318,8 +476,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); } - /** Get Depreciation Table Header. - @return Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID. + @return A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); @@ -328,15 +486,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - /** Set Depreciation Variable Perc.. - @param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ + /** Set Variable Percent. + @param A_Depreciation_Variable_Perc Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) { set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); } - /** Get Depreciation Variable Perc.. - @return Depreciation Variable Perc. */ + /** Get Variable Percent. + @return Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); @@ -345,6 +503,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return bd; } + /** Set Variable Percent (fiscal). + @param A_Depreciation_Variable_Perc_F Variable Percent (fiscal) */ + public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F) + { + set_Value (COLUMNNAME_A_Depreciation_Variable_Perc_F, A_Depreciation_Variable_Perc_F); + } + + /** Get Variable Percent (fiscal). + @return Variable Percent (fiscal) */ + public BigDecimal getA_Depreciation_Variable_Perc_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc_F); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_ValidCombination getA_Disposal_G() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -367,6 +542,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Gain_Acct(), get_TrxName()); } + + /** Set Disposal Gain Acct. + @param A_Disposal_Gain_Acct Disposal Gain Acct */ + public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Gain_Acct, Integer.valueOf(A_Disposal_Gain_Acct)); + } + + /** Get Disposal Gain Acct. + @return Disposal Gain Acct */ + public int getA_Disposal_Gain_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_L() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -389,6 +586,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Loss_Acct(), get_TrxName()); } + + /** Set Disposal Loss Acct. + @param A_Disposal_Loss_Acct Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct)); + } + + /** Get Disposal Loss Acct. + @return Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -411,6 +630,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); } + + /** Set Disposal Revenue Acct. + @param A_Disposal_Revenue_Acct Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct)); + } + + /** Get Disposal Revenue Acct. + @return Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -455,6 +696,50 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Adep_Offset_Cur_Acct(), get_TrxName()); } + + /** Set A_Reval_Accumdep_Offset_Cur. + @param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */ + public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Cur. + @return A_Reval_Accumdep_Offset_Cur */ + public int getA_Reval_Adep_Offset_Cur_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Adep_Offset_Prior_Acct(), get_TrxName()); } + + /** Set A_Reval_Accumdep_Offset_Prior. + @param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */ + public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct)); + } + + /** Get A_Reval_Accumdep_Offset_Prior. + @return A_Reval_Accumdep_Offset_Prior */ + public int getA_Reval_Adep_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** A_Reval_Cal_Method AD_Reference_ID=53259 */ public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; /** Default = DFT */ @@ -463,16 +748,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set Revaluation Calculation Method. - @param A_Reval_Cal_Method Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method. + @param A_Reval_Cal_Method A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get Revaluation Calculation Method. - @return Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method. + @return A_Reval_Cal_Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); @@ -500,6 +785,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Cost_Offset_Acct(), get_TrxName()); } + + /** Set Reval Cost Offset Acct. + @param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */ + public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct)); + } + + /** Get Reval Cost Offset Acct. + @return Reval Cost Offset Acct */ + public int getA_Reval_Cost_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -522,6 +829,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Cost_Offset_Prior_Acct(), get_TrxName()); } + + /** Set Reval Cost Offset Prior Acct. + @param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */ + public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct) + { + set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct)); + } + + /** Get Reval Cost Offset Prior Acct. + @return Reval Cost Offset Prior Acct */ + public int getA_Reval_Cost_Offset_Prior_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -544,15 +873,37 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - /** Set Split Percentage. - @param A_Split_Percent Split Percentage */ + public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Reval_Depexp_Offset_Acct(), get_TrxName()); } + + /** Set Reval Depexp Offset Acct. + @param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */ + public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct) + { + set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct)); + } + + /** Get Reval Depexp Offset Acct. + @return Reval Depexp Offset Acct */ + public int getA_Reval_Depexp_Offset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Split Percent. + @param A_Split_Percent Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get Split Percentage. - @return Split Percentage */ + /** Get Split Percent. + @return Split Percent */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -561,9 +912,9 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return bd; } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -589,16 +940,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - public I_A_Depreciation_Convention getConventionT() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException { - return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) .getPO(getConventionType(), get_TrxName()); } /** Set ConventionType. @param ConventionType ConventionType */ public void setConventionType (int ConventionType) { - set_Value (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType)); + set_ValueNoCheck (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType)); } /** Get ConventionType. @@ -611,16 +962,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } - public I_A_Depreciation getDepreciationT() throws RuntimeException + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException { - return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) .getPO(getDepreciationType(), get_TrxName()); } /** Set DepreciationType. @param DepreciationType DepreciationType */ public void setDepreciationType (int DepreciationType) { - set_Value (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType)); + set_ValueNoCheck (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType)); } /** Get DepreciationType. @@ -704,6 +1055,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return ii.intValue(); } + /** Set Use Life - Months (fiscal). + @param UseLifeMonths_F Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F) + { + set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F)); + } + + /** Get Use Life - Months (fiscal). + @return Use Life - Months (fiscal) */ + public int getUseLifeMonths_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Usable Life - Years. @param UseLifeYears Years of the usable life of the asset @@ -723,4 +1091,21 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ return 0; return ii.intValue(); } + + /** Set Use Life - Years (fiscal). + @param UseLifeYears_F Use Life - Years (fiscal) */ + public void setUseLifeYears_F (int UseLifeYears_F) + { + set_Value (COLUMNNAME_UseLifeYears_F, Integer.valueOf(UseLifeYears_F)); + } + + /** Get Use Life - Years (fiscal). + @return Use Life - Years (fiscal) */ + public int getUseLifeYears_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears_F); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java index 850aba40fc..8ff57efdc5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java @@ -33,7 +33,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Info_Fin (Properties ctx, int A_Asset_Info_Fin_ID, String trxName) @@ -74,6 +74,11 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return sb.toString(); } + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -97,8 +102,8 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return ii.intValue(); } - /** Set Asset Info Fin.. - @param A_Asset_Info_Fin_ID Asset Info Fin. */ + /** Set Asset Info Financial ID. + @param A_Asset_Info_Fin_ID Asset Info Financial ID */ public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID) { if (A_Asset_Info_Fin_ID < 1) @@ -107,8 +112,8 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Fin_ID, Integer.valueOf(A_Asset_Info_Fin_ID)); } - /** Get Asset Info Fin.. - @return Asset Info Fin. */ + /** Get Asset Info Financial ID. + @return Asset Info Financial ID */ public int getA_Asset_Info_Fin_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Fin_ID); @@ -125,6 +130,20 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Fin_ID())); } + /** Set A_Asset_Info_Fin_UU. + @param A_Asset_Info_Fin_UU A_Asset_Info_Fin_UU */ + public void setA_Asset_Info_Fin_UU (String A_Asset_Info_Fin_UU) + { + set_Value (COLUMNNAME_A_Asset_Info_Fin_UU, A_Asset_Info_Fin_UU); + } + + /** Get A_Asset_Info_Fin_UU. + @return A_Asset_Info_Fin_UU */ + public String getA_Asset_Info_Fin_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Info_Fin_UU); + } + /** Set Contract Date. @param A_Contract_Date Contract Date */ public void setA_Contract_Date (Timestamp A_Contract_Date) @@ -149,30 +168,30 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public static final String A_DUE_ON_BeginningOfEveryMonth = "BEG"; /** Yearly on or before contract date = YER */ public static final String A_DUE_ON_YearlyOnOrBeforeContractDate = "YER"; - /** Set Payment Due Date. - @param A_Due_On Payment Due Date */ + /** Set Asset Due On. + @param A_Due_On Asset Due On */ public void setA_Due_On (String A_Due_On) { set_Value (COLUMNNAME_A_Due_On, A_Due_On); } - /** Get Payment Due Date. - @return Payment Due Date */ + /** Get Asset Due On. + @return Asset Due On */ public String getA_Due_On () { return (String)get_Value(COLUMNNAME_A_Due_On); } - /** Set Contract Expiration Date. - @param A_Expired_Date Contract Expiration Date */ + /** Set Asset Expired Date. + @param A_Expired_Date Asset Expired Date */ public void setA_Expired_Date (Timestamp A_Expired_Date) { set_Value (COLUMNNAME_A_Expired_Date, A_Expired_Date); } - /** Get Contract Expiration Date. - @return Contract Expiration Date */ + /** Get Asset Expired Date. + @return Asset Expired Date */ public Timestamp getA_Expired_Date () { return (Timestamp)get_Value(COLUMNNAME_A_Expired_Date); @@ -188,30 +207,30 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public static final String A_FINANCE_METH_Owned = "OW"; /** Rented = RE */ public static final String A_FINANCE_METH_Rented = "RE"; - /** Set Finance Method. - @param A_Finance_Meth Finance Method */ + /** Set Asset Finance Method. + @param A_Finance_Meth Asset Finance Method */ public void setA_Finance_Meth (String A_Finance_Meth) { set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); } - /** Get Finance Method. - @return Finance Method */ + /** Get Asset Finance Method. + @return Asset Finance Method */ public String getA_Finance_Meth () { return (String)get_Value(COLUMNNAME_A_Finance_Meth); } - /** Set Monthly Payment. - @param A_Monthly_Payment Monthly Payment */ + /** Set Asset Monthly Payment. + @param A_Monthly_Payment Asset Monthly Payment */ public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment) { set_Value (COLUMNNAME_A_Monthly_Payment, A_Monthly_Payment); } - /** Get Monthly Payment. - @return Monthly Payment */ + /** Get Asset Monthly Payment. + @return Asset Monthly Payment */ public BigDecimal getA_Monthly_Payment () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Monthly_Payment); @@ -275,15 +294,15 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return bd; } - /** Set Option Purchase Price. - @param A_Purchase_Price Option Purchase Price */ + /** Set Purchase Price. + @param A_Purchase_Price Purchase Price */ public void setA_Purchase_Price (BigDecimal A_Purchase_Price) { set_Value (COLUMNNAME_A_Purchase_Price, A_Purchase_Price); } - /** Get Option Purchase Price. - @return Option Purchase Price */ + /** Get Purchase Price. + @return Purchase Price */ public BigDecimal getA_Purchase_Price () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Purchase_Price); @@ -292,6 +311,11 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return bd; } + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException + { + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) + .getPO(getC_BPartner_ID(), get_TrxName()); } + /** Set Business Partner . @param C_BPartner_ID Identifies a Business Partner @@ -315,6 +339,29 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers return ii.intValue(); } + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + throw new IllegalArgumentException ("Processed is virtual column"); } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Text Message. @param TextMsg Text Message diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java index 9ebe5ddbaf..272a3182e4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java @@ -33,7 +33,7 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Info_Ins (Properties ctx, int A_Asset_Info_Ins_ID, String trxName) @@ -97,8 +97,8 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return ii.intValue(); } - /** Set Asset Info Ins.. - @param A_Asset_Info_Ins_ID Asset Info Ins. */ + /** Set A_Asset_Info_Ins_ID. + @param A_Asset_Info_Ins_ID A_Asset_Info_Ins_ID */ public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID) { if (A_Asset_Info_Ins_ID < 1) @@ -107,8 +107,8 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Ins_ID, Integer.valueOf(A_Asset_Info_Ins_ID)); } - /** Get Asset Info Ins.. - @return Asset Info Ins. */ + /** Get A_Asset_Info_Ins_ID. + @return A_Asset_Info_Ins_ID */ public int getA_Asset_Info_Ins_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Ins_ID); @@ -125,15 +125,29 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Ins_ID())); } - /** Set Insurance Premium. - @param A_Ins_Premium Insurance Premium */ + /** Set A_Asset_Info_Ins_UU. + @param A_Asset_Info_Ins_UU A_Asset_Info_Ins_UU */ + public void setA_Asset_Info_Ins_UU (String A_Asset_Info_Ins_UU) + { + set_Value (COLUMNNAME_A_Asset_Info_Ins_UU, A_Asset_Info_Ins_UU); + } + + /** Get A_Asset_Info_Ins_UU. + @return A_Asset_Info_Ins_UU */ + public String getA_Asset_Info_Ins_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Info_Ins_UU); + } + + /** Set Asset Insurance Premium. + @param A_Ins_Premium Asset Insurance Premium */ public void setA_Ins_Premium (BigDecimal A_Ins_Premium) { set_Value (COLUMNNAME_A_Ins_Premium, A_Ins_Premium); } - /** Get Insurance Premium. - @return Insurance Premium */ + /** Get Asset Insurance Premium. + @return Asset Insurance Premium */ public BigDecimal getA_Ins_Premium () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Premium); @@ -156,15 +170,15 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return (String)get_Value(COLUMNNAME_A_Insurance_Co); } - /** Set Insured Value. - @param A_Ins_Value Insured Value */ + /** Set Asset Insurance Value. + @param A_Ins_Value Asset Insurance Value */ public void setA_Ins_Value (BigDecimal A_Ins_Value) { set_Value (COLUMNNAME_A_Ins_Value, A_Ins_Value); } - /** Get Insured Value. - @return Insured Value */ + /** Get Asset Insurance Value. + @return Asset Insurance Value */ public BigDecimal getA_Ins_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Value); @@ -173,43 +187,43 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return bd; } - /** Set Policy Number. - @param A_Policy_No Policy Number */ + /** Set Asset Policy No. + @param A_Policy_No Asset Policy No */ public void setA_Policy_No (String A_Policy_No) { set_Value (COLUMNNAME_A_Policy_No, A_Policy_No); } - /** Get Policy Number. - @return Policy Number */ + /** Get Asset Policy No. + @return Asset Policy No */ public String getA_Policy_No () { return (String)get_Value(COLUMNNAME_A_Policy_No); } - /** Set Policy Renewal Date. - @param A_Renewal_Date Policy Renewal Date */ + /** Set Asset Renewal Date. + @param A_Renewal_Date Asset Renewal Date */ public void setA_Renewal_Date (Timestamp A_Renewal_Date) { set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date); } - /** Get Policy Renewal Date. - @return Policy Renewal Date */ + /** Get Asset Renewal Date. + @return Asset Renewal Date */ public Timestamp getA_Renewal_Date () { return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date); } - /** Set Replacement Costs. - @param A_Replace_Cost Replacement Costs */ + /** Set Asset Replace Cost. + @param A_Replace_Cost Asset Replace Cost */ public void setA_Replace_Cost (BigDecimal A_Replace_Cost) { set_Value (COLUMNNAME_A_Replace_Cost, A_Replace_Cost); } - /** Get Replacement Costs. - @return Replacement Costs */ + /** Get Asset Replace Cost. + @return Asset Replace Cost */ public BigDecimal getA_Replace_Cost () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Replace_Cost); @@ -218,15 +232,15 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return bd; } - /** Set Text. - @param Text Text */ + /** Set Description. + @param Text Description */ public void setText (String Text) { set_Value (COLUMNNAME_Text, Text); } - /** Get Text. - @return Text */ + /** Get Description. + @return Description */ public String getText () { return (String)get_Value(COLUMNNAME_Text); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java index 3e7ee0d550..ce3818f238 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java @@ -33,7 +33,7 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Info_Lic (Properties ctx, int A_Asset_Info_Lic_ID, String trxName) @@ -74,6 +74,11 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return sb.toString(); } + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -97,8 +102,8 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return ii.intValue(); } - /** Set Asset Info Lic.. - @param A_Asset_Info_Lic_ID Asset Info Lic. */ + /** Set A_Asset_Info_Lic_ID. + @param A_Asset_Info_Lic_ID A_Asset_Info_Lic_ID */ public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID) { if (A_Asset_Info_Lic_ID < 1) @@ -107,8 +112,8 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Lic_ID, Integer.valueOf(A_Asset_Info_Lic_ID)); } - /** Get Asset Info Lic.. - @return Asset Info Lic. */ + /** Get A_Asset_Info_Lic_ID. + @return A_Asset_Info_Lic_ID */ public int getA_Asset_Info_Lic_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Lic_ID); @@ -125,6 +130,20 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Lic_ID())); } + /** Set A_Asset_Info_Lic_UU. + @param A_Asset_Info_Lic_UU A_Asset_Info_Lic_UU */ + public void setA_Asset_Info_Lic_UU (String A_Asset_Info_Lic_UU) + { + set_Value (COLUMNNAME_A_Asset_Info_Lic_UU, A_Asset_Info_Lic_UU); + } + + /** Get A_Asset_Info_Lic_UU. + @return A_Asset_Info_Lic_UU */ + public String getA_Asset_Info_Lic_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Info_Lic_UU); + } + /** Set Issuing Agency. @param A_Issuing_Agency Issuing Agency */ public void setA_Issuing_Agency (String A_Issuing_Agency) @@ -139,15 +158,15 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return (String)get_Value(COLUMNNAME_A_Issuing_Agency); } - /** Set License Fee. - @param A_License_Fee License Fee */ + /** Set Asset License Fee. + @param A_License_Fee Asset License Fee */ public void setA_License_Fee (BigDecimal A_License_Fee) { set_Value (COLUMNNAME_A_License_Fee, A_License_Fee); } - /** Get License Fee. - @return License Fee */ + /** Get Asset License Fee. + @return Asset License Fee */ public BigDecimal getA_License_Fee () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_License_Fee); @@ -156,29 +175,29 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return bd; } - /** Set License No. - @param A_License_No License No */ + /** Set Asset License No. + @param A_License_No Asset License No */ public void setA_License_No (String A_License_No) { set_Value (COLUMNNAME_A_License_No, A_License_No); } - /** Get License No. - @return License No */ + /** Get Asset License No. + @return Asset License No */ public String getA_License_No () { return (String)get_Value(COLUMNNAME_A_License_No); } - /** Set Policy Renewal Date. - @param A_Renewal_Date Policy Renewal Date */ + /** Set Asset Renewal Date. + @param A_Renewal_Date Asset Renewal Date */ public void setA_Renewal_Date (Timestamp A_Renewal_Date) { set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date); } - /** Get Policy Renewal Date. - @return Policy Renewal Date */ + /** Get Asset Renewal Date. + @return Asset Renewal Date */ public Timestamp getA_Renewal_Date () { return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date); @@ -201,15 +220,38 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers return (String)get_Value(COLUMNNAME_A_State); } - /** Set Text. - @param Text Text */ + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + throw new IllegalArgumentException ("Processed is virtual column"); } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Description. + @param Text Description */ public void setText (String Text) { set_Value (COLUMNNAME_Text, Text); } - /** Get Text. - @return Text */ + /** Get Description. + @return Description */ public String getText () { return (String)get_Value(COLUMNNAME_Text); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java index 5c3a93ca80..a1354b8356 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java @@ -19,6 +19,7 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Oth * @author Adempiere (generated) @@ -29,7 +30,7 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Info_Oth (Properties ctx, int A_Asset_Info_Oth_ID, String trxName) @@ -93,8 +94,8 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers return ii.intValue(); } - /** Set Asset Info Oth.. - @param A_Asset_Info_Oth_ID Asset Info Oth. */ + /** Set A_Asset_Info_Oth_ID. + @param A_Asset_Info_Oth_ID A_Asset_Info_Oth_ID */ public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID) { if (A_Asset_Info_Oth_ID < 1) @@ -103,8 +104,8 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers set_Value (COLUMNNAME_A_Asset_Info_Oth_ID, Integer.valueOf(A_Asset_Info_Oth_ID)); } - /** Get Asset Info Oth.. - @return Asset Info Oth. */ + /** Get A_Asset_Info_Oth_ID. + @return A_Asset_Info_Oth_ID */ public int getA_Asset_Info_Oth_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Oth_ID); @@ -113,225 +114,247 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers return ii.intValue(); } - /** Set User 1. - @param A_User1 User 1 */ + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Oth_ID())); + } + + /** Set A_Asset_Info_Oth_UU. + @param A_Asset_Info_Oth_UU A_Asset_Info_Oth_UU */ + public void setA_Asset_Info_Oth_UU (String A_Asset_Info_Oth_UU) + { + set_Value (COLUMNNAME_A_Asset_Info_Oth_UU, A_Asset_Info_Oth_UU); + } + + /** Get A_Asset_Info_Oth_UU. + @return A_Asset_Info_Oth_UU */ + public String getA_Asset_Info_Oth_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Info_Oth_UU); + } + + /** Set A_User1. + @param A_User1 A_User1 */ public void setA_User1 (String A_User1) { set_Value (COLUMNNAME_A_User1, A_User1); } - /** Get User 1. - @return User 1 */ + /** Get A_User1. + @return A_User1 */ public String getA_User1 () { return (String)get_Value(COLUMNNAME_A_User1); } - /** Set User 10. - @param A_User10 User 10 */ + /** Set A_User10. + @param A_User10 A_User10 */ public void setA_User10 (String A_User10) { set_Value (COLUMNNAME_A_User10, A_User10); } - /** Get User 10. - @return User 10 */ + /** Get A_User10. + @return A_User10 */ public String getA_User10 () { return (String)get_Value(COLUMNNAME_A_User10); } - /** Set User 11. - @param A_User11 User 11 */ + /** Set A_User11. + @param A_User11 A_User11 */ public void setA_User11 (String A_User11) { set_Value (COLUMNNAME_A_User11, A_User11); } - /** Get User 11. - @return User 11 */ + /** Get A_User11. + @return A_User11 */ public String getA_User11 () { return (String)get_Value(COLUMNNAME_A_User11); } - /** Set User 12. - @param A_User12 User 12 */ + /** Set A_User12. + @param A_User12 A_User12 */ public void setA_User12 (String A_User12) { set_Value (COLUMNNAME_A_User12, A_User12); } - /** Get User 12. - @return User 12 */ + /** Get A_User12. + @return A_User12 */ public String getA_User12 () { return (String)get_Value(COLUMNNAME_A_User12); } - /** Set User 13. - @param A_User13 User 13 */ + /** Set A_User13. + @param A_User13 A_User13 */ public void setA_User13 (String A_User13) { set_Value (COLUMNNAME_A_User13, A_User13); } - /** Get User 13. - @return User 13 */ + /** Get A_User13. + @return A_User13 */ public String getA_User13 () { return (String)get_Value(COLUMNNAME_A_User13); } - /** Set User 14. - @param A_User14 User 14 */ + /** Set A_User14. + @param A_User14 A_User14 */ public void setA_User14 (String A_User14) { set_Value (COLUMNNAME_A_User14, A_User14); } - /** Get User 14. - @return User 14 */ + /** Get A_User14. + @return A_User14 */ public String getA_User14 () { return (String)get_Value(COLUMNNAME_A_User14); } - /** Set User 15. - @param A_User15 User 15 */ + /** Set A_User15. + @param A_User15 A_User15 */ public void setA_User15 (String A_User15) { set_Value (COLUMNNAME_A_User15, A_User15); } - /** Get User 15. - @return User 15 */ + /** Get A_User15. + @return A_User15 */ public String getA_User15 () { return (String)get_Value(COLUMNNAME_A_User15); } - /** Set User 2. - @param A_User2 User 2 */ + /** Set A_User2. + @param A_User2 A_User2 */ public void setA_User2 (String A_User2) { set_Value (COLUMNNAME_A_User2, A_User2); } - /** Get User 2. - @return User 2 */ + /** Get A_User2. + @return A_User2 */ public String getA_User2 () { return (String)get_Value(COLUMNNAME_A_User2); } - /** Set User 3. - @param A_User3 User 3 */ + /** Set A_User3. + @param A_User3 A_User3 */ public void setA_User3 (String A_User3) { set_Value (COLUMNNAME_A_User3, A_User3); } - /** Get User 3. - @return User 3 */ + /** Get A_User3. + @return A_User3 */ public String getA_User3 () { return (String)get_Value(COLUMNNAME_A_User3); } - /** Set User 4. - @param A_User4 User 4 */ + /** Set A_User4. + @param A_User4 A_User4 */ public void setA_User4 (String A_User4) { set_Value (COLUMNNAME_A_User4, A_User4); } - /** Get User 4. - @return User 4 */ + /** Get A_User4. + @return A_User4 */ public String getA_User4 () { return (String)get_Value(COLUMNNAME_A_User4); } - /** Set User 5. - @param A_User5 User 5 */ + /** Set A_User5. + @param A_User5 A_User5 */ public void setA_User5 (String A_User5) { set_Value (COLUMNNAME_A_User5, A_User5); } - /** Get User 5. - @return User 5 */ + /** Get A_User5. + @return A_User5 */ public String getA_User5 () { return (String)get_Value(COLUMNNAME_A_User5); } - /** Set User 6. - @param A_User6 User 6 */ + /** Set A_User6. + @param A_User6 A_User6 */ public void setA_User6 (String A_User6) { set_Value (COLUMNNAME_A_User6, A_User6); } - /** Get User 6. - @return User 6 */ + /** Get A_User6. + @return A_User6 */ public String getA_User6 () { return (String)get_Value(COLUMNNAME_A_User6); } - /** Set User 7. - @param A_User7 User 7 */ + /** Set A_User7. + @param A_User7 A_User7 */ public void setA_User7 (String A_User7) { set_Value (COLUMNNAME_A_User7, A_User7); } - /** Get User 7. - @return User 7 */ + /** Get A_User7. + @return A_User7 */ public String getA_User7 () { return (String)get_Value(COLUMNNAME_A_User7); } - /** Set User 8. - @param A_User8 User 8 */ + /** Set A_User8. + @param A_User8 A_User8 */ public void setA_User8 (String A_User8) { set_Value (COLUMNNAME_A_User8, A_User8); } - /** Get User 8. - @return User 8 */ + /** Get A_User8. + @return A_User8 */ public String getA_User8 () { return (String)get_Value(COLUMNNAME_A_User8); } - /** Set User 9. - @param A_User9 User 9 */ + /** Set A_User9. + @param A_User9 A_User9 */ public void setA_User9 (String A_User9) { set_Value (COLUMNNAME_A_User9, A_User9); } - /** Get User 9. - @return User 9 */ + /** Get A_User9. + @return A_User9 */ public String getA_User9 () { return (String)get_Value(COLUMNNAME_A_User9); } - /** Set Text. - @param Text Text */ + /** Set Description. + @param Text Description */ public void setText (String Text) { set_Value (COLUMNNAME_Text, Text); } - /** Get Text. - @return Text */ + /** Get Description. + @return Description */ public String getText () { return (String)get_Value(COLUMNNAME_Text); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java index 7c49740bc1..2aa67ff6e8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java @@ -30,7 +30,7 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Info_Tax (Properties ctx, int A_Asset_Info_Tax_ID, String trxName) @@ -122,6 +122,20 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Tax_ID())); } + /** Set A_Asset_Info_Tax_UU. + @param A_Asset_Info_Tax_UU A_Asset_Info_Tax_UU */ + public void setA_Asset_Info_Tax_UU (String A_Asset_Info_Tax_UU) + { + set_Value (COLUMNNAME_A_Asset_Info_Tax_UU, A_Asset_Info_Tax_UU); + } + + /** Get A_Asset_Info_Tax_UU. + @return A_Asset_Info_Tax_UU */ + public String getA_Asset_Info_Tax_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Info_Tax_UU); + } + /** A_Finance_Meth AD_Reference_ID=53271 */ public static final int A_FINANCE_METH_AD_Reference_ID=53271; /** Capitalized Lease = CL */ @@ -132,30 +146,30 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers public static final String A_FINANCE_METH_Owned = "OW"; /** Rented = RE */ public static final String A_FINANCE_METH_Rented = "RE"; - /** Set Finance Method. - @param A_Finance_Meth Finance Method */ + /** Set Asset Finance Method. + @param A_Finance_Meth Asset Finance Method */ public void setA_Finance_Meth (String A_Finance_Meth) { set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); } - /** Get Finance Method. - @return Finance Method */ + /** Get Asset Finance Method. + @return Asset Finance Method */ public String getA_Finance_Meth () { return (String)get_Value(COLUMNNAME_A_Finance_Meth); } - /** Set Investment Credit. - @param A_Investment_CR Investment Credit */ + /** Set Asset Investment CR. + @param A_Investment_CR Asset Investment CR */ public void setA_Investment_CR (int A_Investment_CR) { set_Value (COLUMNNAME_A_Investment_CR, Integer.valueOf(A_Investment_CR)); } - /** Get Investment Credit. - @return Investment Credit */ + /** Get Asset Investment CR. + @return Asset Investment CR */ public int getA_Investment_CR () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Investment_CR); @@ -164,15 +178,15 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers return ii.intValue(); } - /** Set Purchased New?. - @param A_New_Used Purchased New? */ + /** Set Asset New Used. + @param A_New_Used Asset New Used */ public void setA_New_Used (boolean A_New_Used) { set_Value (COLUMNNAME_A_New_Used, Boolean.valueOf(A_New_Used)); } - /** Get Purchased New?. - @return Purchased New? */ + /** Get Asset New Used. + @return Asset New Used */ public boolean isA_New_Used () { Object oo = get_Value(COLUMNNAME_A_New_Used); @@ -202,15 +216,15 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers return (String)get_Value(COLUMNNAME_A_State); } - /** Set Tax Entity. - @param A_Tax_Entity Tax Entity */ + /** Set Asset Tax Entity. + @param A_Tax_Entity Asset Tax Entity */ public void setA_Tax_Entity (String A_Tax_Entity) { set_Value (COLUMNNAME_A_Tax_Entity, A_Tax_Entity); } - /** Get Tax Entity. - @return Tax Entity */ + /** Get Asset Tax Entity. + @return Asset Tax Entity */ public String getA_Tax_Entity () { return (String)get_Value(COLUMNNAME_A_Tax_Entity); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java new file mode 100644 index 0000000000..50e392aa7e --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java @@ -0,0 +1,244 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.util.Env; + +/** Generated Model for A_Asset_Product + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_A_Asset_Product (Properties ctx, int A_Asset_Product_ID, String trxName) + { + super (ctx, A_Asset_Product_ID, trxName); + /** if (A_Asset_Product_ID == 0) + { + setA_Asset_ID (0); + setA_Asset_Product_ID (0); + setA_QTY_Current (Env.ZERO); +// 0 + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + } */ + } + + /** Load Constructor */ + public X_A_Asset_Product (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_A_Asset_Product[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Product. + @param A_Asset_Product_ID Asset Product */ + public void setA_Asset_Product_ID (int A_Asset_Product_ID) + { + if (A_Asset_Product_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_Product_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_Product_ID, Integer.valueOf(A_Asset_Product_ID)); + } + + /** Get Asset Product. + @return Asset Product */ + public int getA_Asset_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Current Qty. + @param A_QTY_Current Current Qty */ + public void setA_QTY_Current (BigDecimal A_QTY_Current) + { + set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); + } + + /** Get Current Qty. + @return Current Qty */ + public BigDecimal getA_QTY_Current () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException + { + return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name) + .getPO(getM_AttributeSetInstance_ID(), get_TrxName()); } + + /** Set Attribute Set Instance. + @param M_AttributeSetInstance_ID + Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + { + if (M_AttributeSetInstance_ID < 0) + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null); + else + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + } + + /** Get Attribute Set Instance. + @return Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_M_Locator getM_Locator() throws RuntimeException + { + return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name) + .getPO(getM_Locator_ID(), get_TrxName()); } + + /** Set Locator. + @param M_Locator_ID + Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID) + { + if (M_Locator_ID < 1) + set_Value (COLUMNNAME_M_Locator_ID, null); + else + set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); + } + + /** Get Locator. + @return Warehouse Locator + */ + public int getM_Locator_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException + { + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) + .getPO(getM_Product_ID(), get_TrxName()); } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + set_Value (COLUMNNAME_M_Product_ID, null); + else + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java index 0bc575d722..343d1d3a12 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java @@ -32,7 +32,7 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Retirement (Properties ctx, int A_Asset_Retirement_ID, String trxName) @@ -75,9 +75,9 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ return sb.toString(); } - public I_A_Asset getA_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Asset_ID(), get_TrxName()); } /** Set Asset. @@ -134,6 +134,20 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Retirement_ID())); } + /** Set A_Asset_Retirement_UU. + @param A_Asset_Retirement_UU A_Asset_Retirement_UU */ + public void setA_Asset_Retirement_UU (String A_Asset_Retirement_UU) + { + set_Value (COLUMNNAME_A_Asset_Retirement_UU, A_Asset_Retirement_UU); + } + + /** Get A_Asset_Retirement_UU. + @return A_Asset_Retirement_UU */ + public String getA_Asset_Retirement_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Retirement_UU); + } + /** Set Market value Amount. @param AssetMarketValueAmt Market value of the asset @@ -174,9 +188,9 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ return bd; } - public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException + public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { - return (I_C_InvoiceLine)MTable.get(getCtx(), I_C_InvoiceLine.Table_Name) + return (org.compiere.model.I_C_InvoiceLine)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceLine.Table_Name) .getPO(getC_InvoiceLine_ID(), get_TrxName()); } /** Set Invoice Line. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java new file mode 100644 index 0000000000..4764bbd9e6 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java @@ -0,0 +1,478 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; +import org.compiere.util.Env; +import org.compiere.util.KeyNamePair; + +/** Generated Model for A_Asset_Reval + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_A_Asset_Reval (Properties ctx, int A_Asset_Reval_ID, String trxName) + { + super (ctx, A_Asset_Reval_ID, trxName); + /** if (A_Asset_Reval_ID == 0) + { + setA_Asset_Cost_Change (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Asset_Reval_ID (0); + setA_Change_Acumulated_Depr (Env.ZERO); +// 0 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A + setProcessed (false); +// N + setProcessing (false); +// N + } */ + } + + /** Load Constructor */ + public X_A_Asset_Reval (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_A_Asset_Reval[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Accumulated Depreciation. + @param A_Accumulated_Depr Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr) + { + set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr); + } + + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Asset Cost. + @param A_Asset_Cost Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost) + { + set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost); + } + + /** Get Asset Cost. + @return Asset Cost */ + public BigDecimal getA_Asset_Cost () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Asset Cost Change. + @param A_Asset_Cost_Change Asset Cost Change */ + public void setA_Asset_Cost_Change (BigDecimal A_Asset_Cost_Change) + { + set_Value (COLUMNNAME_A_Asset_Cost_Change, A_Asset_Cost_Change); + } + + /** Get Asset Cost Change. + @return Asset Cost Change */ + public BigDecimal getA_Asset_Cost_Change () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost_Change); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Revaluation. + @param A_Asset_Reval_ID Asset Revaluation */ + public void setA_Asset_Reval_ID (int A_Asset_Reval_ID) + { + if (A_Asset_Reval_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_Reval_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_Reval_ID, Integer.valueOf(A_Asset_Reval_ID)); + } + + /** Get Asset Revaluation. + @return Asset Revaluation */ + public int getA_Asset_Reval_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Reval_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_ID())); + } + + /** Set Change Acumulated Depreciation. + @param A_Change_Acumulated_Depr Change Acumulated Depreciation */ + public void setA_Change_Acumulated_Depr (BigDecimal A_Change_Acumulated_Depr) + { + set_Value (COLUMNNAME_A_Change_Acumulated_Depr, A_Change_Acumulated_Depr); + } + + /** Get Change Acumulated Depreciation. + @return Change Acumulated Depreciation */ + public BigDecimal getA_Change_Acumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Change_Acumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Account Date. + @param DateAcct + Accounting Date + */ + public void setDateAcct (Timestamp DateAcct) + { + set_Value (COLUMNNAME_DateAcct, DateAcct); + } + + /** Get Account Date. + @return Accounting Date + */ + public Timestamp getDateAcct () + { + return (Timestamp)get_Value(COLUMNNAME_DateAcct); + } + + /** Set Document Date. + @param DateDoc + Date of the Document + */ + public void setDateDoc (Timestamp DateDoc) + { + set_Value (COLUMNNAME_DateDoc, DateDoc); + } + + /** Get Document Date. + @return Date of the Document + */ + public Timestamp getDateDoc () + { + return (Timestamp)get_Value(COLUMNNAME_DateDoc); + } + + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + + /** Set Document No. + @param DocumentNo + Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo) + { + set_Value (COLUMNNAME_DocumentNo, DocumentNo); + } + + /** Get Document No. + @return Document sequence number of the document + */ + public String getDocumentNo () + { + return (String)get_Value(COLUMNNAME_DocumentNo); + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** PostingType AD_Reference_ID=125 */ + public static final int POSTINGTYPE_AD_Reference_ID=125; + /** Actual = A */ + public static final String POSTINGTYPE_Actual = "A"; + /** Budget = B */ + public static final String POSTINGTYPE_Budget = "B"; + /** Commitment = E */ + public static final String POSTINGTYPE_Commitment = "E"; + /** Statistical = S */ + public static final String POSTINGTYPE_Statistical = "S"; + /** Reservation = R */ + public static final String POSTINGTYPE_Reservation = "R"; + /** Set PostingType. + @param PostingType + The type of posted amount for the transaction + */ + public void setPostingType (String PostingType) + { + + set_Value (COLUMNNAME_PostingType, PostingType); + } + + /** Get PostingType. + @return The type of posted amount for the transaction + */ + public String getPostingType () + { + return (String)get_Value(COLUMNNAME_PostingType); + } + + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java index be85047cbe..7fe000a4e0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java @@ -31,7 +31,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Reval_Entry (Properties ctx, int A_Asset_Reval_Entry_ID, String trxName) @@ -110,6 +110,20 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Entry_ID())); } + /** Set A_Asset_Reval_Entry_UU. + @param A_Asset_Reval_Entry_UU A_Asset_Reval_Entry_UU */ + public void setA_Asset_Reval_Entry_UU (String A_Asset_Reval_Entry_UU) + { + set_Value (COLUMNNAME_A_Asset_Reval_Entry_UU, A_Asset_Reval_Entry_UU); + } + + /** Get A_Asset_Reval_Entry_UU. + @return A_Asset_Reval_Entry_UU */ + public String getA_Asset_Reval_Entry_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Reval_Entry_UU); + } + /** Set Effective Date. @param A_Effective_Date Effective Date */ public void setA_Effective_Date (Timestamp A_Effective_Date) @@ -132,16 +146,16 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set Revaluation Calculation Method. - @param A_Reval_Cal_Method Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method. + @param A_Reval_Cal_Method A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get Revaluation Calculation Method. - @return Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method. + @return A_Reval_Cal_Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); @@ -214,9 +228,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return (String)get_Value(COLUMNNAME_A_Rev_Code); } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -242,9 +256,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return ii.intValue(); } - public I_C_Currency getC_Currency() throws RuntimeException + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException { - return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) + return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name) .getPO(getC_Currency_ID(), get_TrxName()); } /** Set Currency. @@ -270,9 +284,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return ii.intValue(); } - public I_C_DocType getC_DocType() throws RuntimeException + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException { - return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) + return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name) .getPO(getC_DocType_ID(), get_TrxName()); } /** Set Document Type. @@ -298,9 +312,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return ii.intValue(); } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. @@ -394,9 +408,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return (String)get_Value(COLUMNNAME_DocumentNo); } - public I_GL_Category getGL_Category() throws RuntimeException + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException { - return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) + return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name) .getPO(getGL_Category_ID(), get_TrxName()); } /** Set GL Category. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java index 5c9d60db93..911c19e73c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java @@ -33,7 +33,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Reval_Index (Properties ctx, int A_Asset_Reval_Index_ID, String trxName) @@ -105,6 +105,20 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Index_ID())); } + /** Set A_Asset_Reval_Index_UU. + @param A_Asset_Reval_Index_UU A_Asset_Reval_Index_UU */ + public void setA_Asset_Reval_Index_UU (String A_Asset_Reval_Index_UU) + { + set_Value (COLUMNNAME_A_Asset_Reval_Index_UU, A_Asset_Reval_Index_UU); + } + + /** Get A_Asset_Reval_Index_UU. + @return A_Asset_Reval_Index_UU */ + public String getA_Asset_Reval_Index_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Reval_Index_UU); + } + /** Set Effective Date. @param A_Effective_Date Effective Date */ public void setA_Effective_Date (Timestamp A_Effective_Date) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java index 209b645ad1..6826a97c13 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java @@ -33,7 +33,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Split (Properties ctx, int A_Asset_Split_ID, String trxName) @@ -108,8 +108,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return bd; } - /** Set Asset Acct.. - @param A_Asset_Acct_ID Asset Acct. */ + /** Set A_Asset_Acct_ID. + @param A_Asset_Acct_ID A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) { if (A_Asset_Acct_ID < 1) @@ -118,8 +118,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); } - /** Get Asset Acct.. - @return Asset Acct. */ + /** Get A_Asset_Acct_ID. + @return A_Asset_Acct_ID */ public int getA_Asset_Acct_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); @@ -168,9 +168,9 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return ii.intValue(); } - public I_A_Asset getA_Asset_To() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Asset_To() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Asset_ID_To(), get_TrxName()); } /** Set To Asset ID. @@ -218,8 +218,22 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Split_ID())); } - /** Set Depreciation Workfile. - @param A_Depreciation_Workfile_ID Depreciation Workfile */ + /** Set A_Asset_Split_UU. + @param A_Asset_Split_UU A_Asset_Split_UU */ + public void setA_Asset_Split_UU (String A_Asset_Split_UU) + { + set_Value (COLUMNNAME_A_Asset_Split_UU, A_Asset_Split_UU); + } + + /** Get A_Asset_Split_UU. + @return A_Asset_Split_UU */ + public String getA_Asset_Split_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Split_UU); + } + + /** Set A_Depreciation_Workfile_ID. + @param A_Depreciation_Workfile_ID A_Depreciation_Workfile_ID */ public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID) { if (A_Depreciation_Workfile_ID < 1) @@ -228,8 +242,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID)); } - /** Get Depreciation Workfile. - @return Depreciation Workfile */ + /** Get A_Depreciation_Workfile_ID. + @return A_Depreciation_Workfile_ID */ public int getA_Depreciation_Workfile_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID); @@ -272,15 +286,15 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return bd; } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public BigDecimal getA_QTY_Current () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); @@ -329,15 +343,15 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return (String)get_Value(COLUMNNAME_A_Split_Type); } - /** Set Transfer Balance IS. - @param A_Transfer_Balance_IS Transfer Balance IS */ + /** Set A_Transfer_Balance_IS. + @param A_Transfer_Balance_IS A_Transfer_Balance_IS */ public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS) { set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS)); } - /** Get Transfer Balance IS. - @return Transfer Balance IS */ + /** Get A_Transfer_Balance_IS. + @return A_Transfer_Balance_IS */ public boolean isA_Transfer_Balance_IS () { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); @@ -350,9 +364,9 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent return false; } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Spread.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Spread.java index 0c998e3a7b..33a08971f1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Spread.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Spread.java @@ -32,7 +32,7 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Spread (Properties ctx, int A_Asset_Spread_ID, String trxName) @@ -86,8 +86,8 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste return sb.toString(); } - /** Set Asset Spread. - @param A_Asset_Spread_ID Asset Spread */ + /** Set A_Asset_Spread_ID. + @param A_Asset_Spread_ID A_Asset_Spread_ID */ public void setA_Asset_Spread_ID (int A_Asset_Spread_ID) { if (A_Asset_Spread_ID < 1) @@ -96,8 +96,8 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste set_ValueNoCheck (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID)); } - /** Get Asset Spread. - @return Asset Spread */ + /** Get A_Asset_Spread_ID. + @return A_Asset_Spread_ID */ public int getA_Asset_Spread_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID); @@ -114,20 +114,34 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Spread_ID())); } - /** Set Asset Spread Type. - @param A_Asset_Spread_Type Asset Spread Type */ + /** Set Spread Type. + @param A_Asset_Spread_Type Spread Type */ public void setA_Asset_Spread_Type (String A_Asset_Spread_Type) { set_Value (COLUMNNAME_A_Asset_Spread_Type, A_Asset_Spread_Type); } - /** Get Asset Spread Type. - @return Asset Spread Type */ + /** Get Spread Type. + @return Spread Type */ public String getA_Asset_Spread_Type () { return (String)get_Value(COLUMNNAME_A_Asset_Spread_Type); } + /** Set A_Asset_Spread_UU. + @param A_Asset_Spread_UU A_Asset_Spread_UU */ + public void setA_Asset_Spread_UU (String A_Asset_Spread_UU) + { + set_Value (COLUMNNAME_A_Asset_Spread_UU, A_Asset_Spread_UU); + } + + /** Get A_Asset_Spread_UU. + @return A_Asset_Spread_UU */ + public String getA_Asset_Spread_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Spread_UU); + } + /** Set Period 1. @param A_Period_1 Period 1 */ public void setA_Period_1 (BigDecimal A_Period_1) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java index a3bf8520f8..e40c8c2bfc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java @@ -33,7 +33,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Transfer (Properties ctx, int A_Asset_Transfer_ID, String trxName) @@ -41,25 +41,35 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers super (ctx, A_Asset_Transfer_ID, trxName); /** if (A_Asset_Transfer_ID == 0) { - setA_Accumdepreciation_Acct_New (0); - setA_Asset_Acct_New (0); + setA_Accumdepreciation_New_Acct (0); + setA_Asset_ID (0); + setA_Asset_New_Acct (0); setA_Asset_Transfer_ID (0); - setA_Depreciation_Acct_New (0); - setA_Disposal_Loss_New (0); - setA_Disposal_Revenue_New (0); + setA_CapvsExp (null); +// 'Cap' + setA_Depreciation_New_Acct (0); + setA_Disposal_Loss_New_Acct (0); + setA_Disposal_Revenue_New_Acct (0); setA_Period_End (0); -// @SQL=SELECT A_Period_End FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ setA_Period_Start (0); -// @SQL=SELECT A_Period_Start FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ setA_Split_Percent (Env.ZERO); -// @SQL=SELECT A_Split_Percent FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ +// 1 setA_Transfer_Balance (true); // Y setA_Transfer_Balance_IS (false); + setC_AcctSchema_ID (0); setDateAcct (new Timestamp( System.currentTimeMillis() )); -// @Date@ +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A setProcessed (false); +// N setProcessing (false); +// N } */ } @@ -91,15 +101,20 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return sb.toString(); } - /** Set Accumulated Depreciation. - @param A_Accumdepreciation_Acct Accumulated Depreciation */ + public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } + + /** Set Accumulated Depreciation Account. + @param A_Accumdepreciation_Acct Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { - set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); + set_ValueNoCheck (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get Accumulated Depreciation. - @return Accumulated Depreciation */ + /** Get Accumulated Depreciation Account. + @return Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -130,29 +145,73 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Old Accum Depreciation Acct. - @param A_Accumdepreciation_Acct_Str Old Accum Depreciation Acct */ + /** Set Old Asset Cost Acct. + @param A_Accumdepreciation_Acct_Str Old Asset Cost Acct */ public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str) { - set_Value (COLUMNNAME_A_Accumdepreciation_Acct_Str, A_Accumdepreciation_Acct_Str); + set_ValueNoCheck (COLUMNNAME_A_Accumdepreciation_Acct_Str, A_Accumdepreciation_Acct_Str); } - /** Get Old Accum Depreciation Acct. - @return Old Accum Depreciation Acct */ + /** Get Old Asset Cost Acct. + @return Old Asset Cost Acct */ public String getA_Accumdepreciation_Acct_Str () { return (String)get_Value(COLUMNNAME_A_Accumdepreciation_Acct_Str); } - /** Set Asset Cost Account. - @param A_Asset_Acct Asset Cost Account */ - public void setA_Asset_Acct (int A_Asset_Acct) + public I_C_ValidCombination getA_Accumdepreciation_New_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Accumdepreciation_New_Acct(), get_TrxName()); } + + /** Set Accumulated Depreciation Account (new). + @param A_Accumdepreciation_New_Acct Accumulated Depreciation Account (new) */ + public void setA_Accumdepreciation_New_Acct (int A_Accumdepreciation_New_Acct) { - set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); + set_Value (COLUMNNAME_A_Accumdepreciation_New_Acct, Integer.valueOf(A_Accumdepreciation_New_Acct)); } - /** Get Asset Cost Account. - @return Asset Cost Account */ + /** Get Accumulated Depreciation Account (new). + @return Accumulated Depreciation Account (new) */ + public int getA_Accumdepreciation_New_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_New_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Accumulated Depreciation (fiscal). + @param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F); + } + + /** Get Accumulated Depreciation (fiscal). + @return Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + public I_C_ValidCombination getA_Asset_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Asset_Acct(), get_TrxName()); } + + /** Set Asset Acct. + @param A_Asset_Acct Asset Acct */ + public void setA_Asset_Acct (int A_Asset_Acct) + { + set_ValueNoCheck (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); + } + + /** Get Asset Acct. + @return Asset Acct */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -161,8 +220,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Asset Acct.. - @param A_Asset_Acct_ID Asset Acct. */ + /** Set A_Asset_Acct_ID. + @param A_Asset_Acct_ID A_Asset_Acct_ID */ public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) { if (A_Asset_Acct_ID < 1) @@ -171,8 +230,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); } - /** Get Asset Acct.. - @return Asset Acct. */ + /** Get A_Asset_Acct_ID. + @return A_Asset_Acct_ID */ public int getA_Asset_Acct_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); @@ -203,20 +262,25 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Old Asset Cost Acct. - @param A_Asset_Acct_Str Old Asset Cost Acct */ + /** Set A_Asset_Acct_Str. + @param A_Asset_Acct_Str A_Asset_Acct_Str */ public void setA_Asset_Acct_Str (String A_Asset_Acct_Str) { - set_Value (COLUMNNAME_A_Asset_Acct_Str, A_Asset_Acct_Str); + set_ValueNoCheck (COLUMNNAME_A_Asset_Acct_Str, A_Asset_Acct_Str); } - /** Get Old Asset Cost Acct. - @return Old Asset Cost Acct */ + /** Get A_Asset_Acct_Str. + @return A_Asset_Acct_Str */ public String getA_Asset_Acct_Str () { return (String)get_Value(COLUMNNAME_A_Asset_Acct_Str); } + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -224,9 +288,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) - set_Value (COLUMNNAME_A_Asset_ID, null); + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); else - set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); } /** Get Asset. @@ -240,8 +304,30 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Asset Transfer. - @param A_Asset_Transfer_ID Asset Transfer */ + public I_C_ValidCombination getA_Asset_New_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Asset_New_Acct(), get_TrxName()); } + + /** Set Asset Acct (new). + @param A_Asset_New_Acct Asset Acct (new) */ + public void setA_Asset_New_Acct (int A_Asset_New_Acct) + { + set_Value (COLUMNNAME_A_Asset_New_Acct, Integer.valueOf(A_Asset_New_Acct)); + } + + /** Get Asset Acct (new). + @return Asset Acct (new) */ + public int getA_Asset_New_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_New_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Asset_Transfer_ID. + @param A_Asset_Transfer_ID A_Asset_Transfer_ID */ public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID) { if (A_Asset_Transfer_ID < 1) @@ -250,8 +336,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers set_ValueNoCheck (COLUMNNAME_A_Asset_Transfer_ID, Integer.valueOf(A_Asset_Transfer_ID)); } - /** Get Asset Transfer. - @return Asset Transfer */ + /** Get A_Asset_Transfer_ID. + @return A_Asset_Transfer_ID */ public int getA_Asset_Transfer_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Transfer_ID); @@ -268,15 +354,55 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Transfer_ID())); } - /** Set Depreciation Expense Account. - @param A_Depreciation_Acct Depreciation Expense Account */ - public void setA_Depreciation_Acct (int A_Depreciation_Acct) + /** Set A_Asset_Transfer_UU. + @param A_Asset_Transfer_UU A_Asset_Transfer_UU */ + public void setA_Asset_Transfer_UU (String A_Asset_Transfer_UU) { - set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); + set_Value (COLUMNNAME_A_Asset_Transfer_UU, A_Asset_Transfer_UU); } - /** Get Depreciation Expense Account. - @return Depreciation Expense Account */ + /** Get A_Asset_Transfer_UU. + @return A_Asset_Transfer_UU */ + public String getA_Asset_Transfer_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Transfer_UU); + } + + /** A_CapvsExp AD_Reference_ID=53277 */ + public static final int A_CAPVSEXP_AD_Reference_ID=53277; + /** Capital = Cap */ + public static final String A_CAPVSEXP_Capital = "Cap"; + /** Expense = Exp */ + public static final String A_CAPVSEXP_Expense = "Exp"; + /** Set Capital/Expense. + @param A_CapvsExp Capital/Expense */ + public void setA_CapvsExp (String A_CapvsExp) + { + + set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); + } + + /** Get Capital/Expense. + @return Capital/Expense */ + public String getA_CapvsExp () + { + return (String)get_Value(COLUMNNAME_A_CapvsExp); + } + + public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Depreciation_Acct(), get_TrxName()); } + + /** Set Depreciation Account. + @param A_Depreciation_Acct Depreciation Account */ + public void setA_Depreciation_Acct (int A_Depreciation_Acct) + { + set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); + } + + /** Get Depreciation Account. + @return Depreciation Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -307,20 +433,42 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Old Depreciation Exp Acct. - @param A_Depreciation_Acct_Str Old Depreciation Exp Acct */ + /** Set A_Depreciation_Acct_Str. + @param A_Depreciation_Acct_Str A_Depreciation_Acct_Str */ public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str) { set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct_Str, A_Depreciation_Acct_Str); } - /** Get Old Depreciation Exp Acct. - @return Old Depreciation Exp Acct */ + /** Get A_Depreciation_Acct_Str. + @return A_Depreciation_Acct_Str */ public String getA_Depreciation_Acct_Str () { return (String)get_Value(COLUMNNAME_A_Depreciation_Acct_Str); } + public I_C_ValidCombination getA_Depreciation_New_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Depreciation_New_Acct(), get_TrxName()); } + + /** Set Depreciation Acct (new). + @param A_Depreciation_New_Acct Depreciation Acct (new) */ + public void setA_Depreciation_New_Acct (int A_Depreciation_New_Acct) + { + set_Value (COLUMNNAME_A_Depreciation_New_Acct, Integer.valueOf(A_Depreciation_New_Acct)); + } + + /** Get Depreciation Acct (new). + @return Depreciation Acct (new) */ + public int getA_Depreciation_New_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_New_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Loss on Disposal. @param A_Disposal_Loss Loss on Disposal */ public void setA_Disposal_Loss (int A_Disposal_Loss) @@ -338,6 +486,28 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Loss_Acct(), get_TrxName()); } + + /** Set Disposal Loss Acct. + @param A_Disposal_Loss_Acct Disposal Loss Acct */ + public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct) + { + set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct)); + } + + /** Get Disposal Loss Acct. + @return Disposal Loss Acct */ + public int getA_Disposal_Loss_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -360,15 +530,37 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Old Disposal Loss. - @param A_Disposal_Loss_Str Old Disposal Loss */ + public I_C_ValidCombination getA_Disposal_Loss_New_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Loss_New_Acct(), get_TrxName()); } + + /** Set Disposal Loss Acct (new). + @param A_Disposal_Loss_New_Acct Disposal Loss Acct (new) */ + public void setA_Disposal_Loss_New_Acct (int A_Disposal_Loss_New_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Loss_New_Acct, Integer.valueOf(A_Disposal_Loss_New_Acct)); + } + + /** Get Disposal Loss Acct (new). + @return Disposal Loss Acct (new) */ + public int getA_Disposal_Loss_New_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_New_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Disposal Loss Str. + @param A_Disposal_Loss_Str Disposal Loss Str */ public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str) { set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Str, A_Disposal_Loss_Str); } - /** Get Old Disposal Loss. - @return Old Disposal Loss */ + /** Get Disposal Loss Str. + @return Disposal Loss Str */ public String getA_Disposal_Loss_Str () { return (String)get_Value(COLUMNNAME_A_Disposal_Loss_Str); @@ -391,6 +583,28 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } + public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); } + + /** Set Disposal Revenue Acct. + @param A_Disposal_Revenue_Acct Disposal Revenue Acct */ + public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct) + { + set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct)); + } + + /** Get Disposal Revenue Acct. + @return Disposal Revenue Acct */ + public int getA_Disposal_Revenue_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) @@ -413,29 +627,51 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Old Disposal Revenue. - @param A_Disposal_Revenue_Str Old Disposal Revenue */ + public I_C_ValidCombination getA_Disposal_Revenue_New_A() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getA_Disposal_Revenue_New_Acct(), get_TrxName()); } + + /** Set Disposal Revenue Acct (new). + @param A_Disposal_Revenue_New_Acct Disposal Revenue Acct (new) */ + public void setA_Disposal_Revenue_New_Acct (int A_Disposal_Revenue_New_Acct) + { + set_Value (COLUMNNAME_A_Disposal_Revenue_New_Acct, Integer.valueOf(A_Disposal_Revenue_New_Acct)); + } + + /** Get Disposal Revenue Acct (new). + @return Disposal Revenue Acct (new) */ + public int getA_Disposal_Revenue_New_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_New_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Disposal Revenue Str. + @param A_Disposal_Revenue_Str Disposal Revenue Str */ public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str) { set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Str, A_Disposal_Revenue_Str); } - /** Get Old Disposal Revenue. - @return Old Disposal Revenue */ + /** Get Disposal Revenue Str. + @return Disposal Revenue Str */ public String getA_Disposal_Revenue_Str () { return (String)get_Value(COLUMNNAME_A_Disposal_Revenue_Str); } - /** Set Period End. - @param A_Period_End Period End */ + /** Set A_Period_End. + @param A_Period_End A_Period_End */ public void setA_Period_End (int A_Period_End) { - set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); + set_ValueNoCheck (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); } - /** Get Period End. - @return Period End */ + /** Get A_Period_End. + @return A_Period_End */ public int getA_Period_End () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); @@ -444,15 +680,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Period Start. - @param A_Period_Start Period Start */ + /** Set A_Period_Start. + @param A_Period_Start A_Period_Start */ public void setA_Period_Start (int A_Period_Start) { - set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); + set_ValueNoCheck (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); } - /** Get Period Start. - @return Period Start */ + /** Get A_Period_Start. + @return A_Period_Start */ public int getA_Period_Start () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); @@ -461,15 +697,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - /** Set Split Percentage. - @param A_Split_Percent Split Percentage */ + /** Set Split Percent. + @param A_Split_Percent Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { - set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); + set_ValueNoCheck (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get Split Percentage. - @return Split Percentage */ + /** Get Split Percent. + @return Split Percent */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -478,15 +714,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return bd; } - /** Set Transfer Balance Sheet. - @param A_Transfer_Balance Transfer Balance Sheet */ + /** Set A_Transfer_Balance. + @param A_Transfer_Balance A_Transfer_Balance */ public void setA_Transfer_Balance (boolean A_Transfer_Balance) { set_Value (COLUMNNAME_A_Transfer_Balance, Boolean.valueOf(A_Transfer_Balance)); } - /** Get Transfer Balance Sheet. - @return Transfer Balance Sheet */ + /** Get A_Transfer_Balance. + @return A_Transfer_Balance */ public boolean isA_Transfer_Balance () { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance); @@ -499,15 +735,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return false; } - /** Set Transfer Balance IS. - @param A_Transfer_Balance_IS Transfer Balance IS */ + /** Set A_Transfer_Balance_IS. + @param A_Transfer_Balance_IS A_Transfer_Balance_IS */ public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS) { set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS)); } - /** Get Transfer Balance IS. - @return Transfer Balance IS */ + /** Get A_Transfer_Balance_IS. + @return A_Transfer_Balance_IS */ public boolean isA_Transfer_Balance_IS () { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); @@ -520,9 +756,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return false; } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -532,9 +768,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) - set_Value (COLUMNNAME_C_AcctSchema_ID, null); + set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, null); else - set_Value (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); + set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @@ -548,9 +784,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return ii.intValue(); } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. @@ -593,6 +829,156 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return (Timestamp)get_Value(COLUMNNAME_DateAcct); } + /** Set Document Date. + @param DateDoc + Date of the Document + */ + public void setDateDoc (Timestamp DateDoc) + { + set_Value (COLUMNNAME_DateDoc, DateDoc); + } + + /** Get Document Date. + @return Date of the Document + */ + public Timestamp getDateDoc () + { + return (Timestamp)get_Value(COLUMNNAME_DateDoc); + } + + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + + /** Set Document No. + @param DocumentNo + Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo) + { + set_Value (COLUMNNAME_DocumentNo, DocumentNo); + } + + /** Get Document No. + @return Document sequence number of the document + */ + public String getDocumentNo () + { + return (String)get_Value(COLUMNNAME_DocumentNo); + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -647,6 +1033,26 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers return false; } + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java new file mode 100644 index 0000000000..0d374ec2ff --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java @@ -0,0 +1,249 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.util.KeyNamePair; + +/** Generated Model for A_Asset_Type + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_A_Asset_Type (Properties ctx, int A_Asset_Type_ID, String trxName) + { + super (ctx, A_Asset_Type_ID, trxName); + /** if (A_Asset_Type_ID == 0) + { + setA_Asset_Type_ID (0); + setIsDepreciable (null); +// 'XX' + setIsInPosession (null); +// 'XX' + setIsOwned (null); +// 'XX' + setName (null); + setValue (null); + } */ + } + + /** Load Constructor */ + public X_A_Asset_Type (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_A_Asset_Type[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Asset Type. + @param A_Asset_Type_ID Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID) + { + if (A_Asset_Type_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_Type_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID)); + } + + /** Get Asset Type. + @return Asset Type */ + public int getA_Asset_Type_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** IsDepreciable AD_Reference_ID=53365 */ + public static final int ISDEPRECIABLE_AD_Reference_ID=53365; + /** No = NX */ + public static final String ISDEPRECIABLE_No = "NX"; + /** - / Default No = XN */ + public static final String ISDEPRECIABLE__DefaultNo = "XN"; + /** - = XX */ + public static final String ISDEPRECIABLE__ = "XX"; + /** - / Default Yes = XY */ + public static final String ISDEPRECIABLE__DefaultYes = "XY"; + /** Yes = YX */ + public static final String ISDEPRECIABLE_Yes = "YX"; + /** Set Is Depreciable. + @param IsDepreciable + This asset CAN be depreciated + */ + public void setIsDepreciable (String IsDepreciable) + { + + set_Value (COLUMNNAME_IsDepreciable, IsDepreciable); + } + + /** Get Is Depreciable. + @return This asset CAN be depreciated + */ + public String getIsDepreciable () + { + return (String)get_Value(COLUMNNAME_IsDepreciable); + } + + /** IsInPosession AD_Reference_ID=53365 */ + public static final int ISINPOSESSION_AD_Reference_ID=53365; + /** No = NX */ + public static final String ISINPOSESSION_No = "NX"; + /** - / Default No = XN */ + public static final String ISINPOSESSION__DefaultNo = "XN"; + /** - = XX */ + public static final String ISINPOSESSION__ = "XX"; + /** - / Default Yes = XY */ + public static final String ISINPOSESSION__DefaultYes = "XY"; + /** Yes = YX */ + public static final String ISINPOSESSION_Yes = "YX"; + /** Set In Possession. + @param IsInPosession + The asset is in the possession of the organization + */ + public void setIsInPosession (String IsInPosession) + { + + set_Value (COLUMNNAME_IsInPosession, IsInPosession); + } + + /** Get In Possession. + @return The asset is in the possession of the organization + */ + public String getIsInPosession () + { + return (String)get_Value(COLUMNNAME_IsInPosession); + } + + /** IsOwned AD_Reference_ID=53365 */ + public static final int ISOWNED_AD_Reference_ID=53365; + /** No = NX */ + public static final String ISOWNED_No = "NX"; + /** - / Default No = XN */ + public static final String ISOWNED__DefaultNo = "XN"; + /** - = XX */ + public static final String ISOWNED__ = "XX"; + /** - / Default Yes = XY */ + public static final String ISOWNED__DefaultYes = "XY"; + /** Yes = YX */ + public static final String ISOWNED_Yes = "YX"; + /** Set Owned. + @param IsOwned + The asset is owned by the organization + */ + public void setIsOwned (String IsOwned) + { + + set_Value (COLUMNNAME_IsOwned, IsOwned); + } + + /** Get Owned. + @return The asset is owned by the organization + */ + public String getIsOwned () + { + return (String)get_Value(COLUMNNAME_IsOwned); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getName()); + } + + /** Set Search Key. + @param Value + Search key for the record in the format required - must be unique + */ + public void setValue (String Value) + { + set_Value (COLUMNNAME_Value, Value); + } + + /** Get Search Key. + @return Search key for the record in the format required - must be unique + */ + public String getValue () + { + return (String)get_Value(COLUMNNAME_Value); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java index fbdafee34c..32264d440c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java @@ -31,7 +31,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Asset_Use (Properties ctx, int A_Asset_Use_ID, String trxName) @@ -40,6 +40,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent /** if (A_Asset_Use_ID == 0) { setA_Asset_ID (0); +// @A_Asset_ID@ setA_Asset_Use_ID (0); setUseDate (new Timestamp( System.currentTimeMillis() )); setUseUnits (0); @@ -74,6 +75,11 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent return sb.toString(); } + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -97,8 +103,8 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent return ii.intValue(); } - /** Set Asset Use. - @param A_Asset_Use_ID Asset Use */ + /** Set A_Asset_Use_ID. + @param A_Asset_Use_ID A_Asset_Use_ID */ public void setA_Asset_Use_ID (int A_Asset_Use_ID) { if (A_Asset_Use_ID < 1) @@ -107,8 +113,8 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent set_ValueNoCheck (COLUMNNAME_A_Asset_Use_ID, Integer.valueOf(A_Asset_Use_ID)); } - /** Get Asset Use. - @return Asset Use */ + /** Get A_Asset_Use_ID. + @return A_Asset_Use_ID */ public int getA_Asset_Use_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Use_ID); @@ -125,6 +131,20 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Use_ID())); } + /** Set A_Asset_Use_UU. + @param A_Asset_Use_UU A_Asset_Use_UU */ + public void setA_Asset_Use_UU (String A_Asset_Use_UU) + { + set_Value (COLUMNNAME_A_Asset_Use_UU, A_Asset_Use_UU); + } + + /** Get A_Asset_Use_UU. + @return A_Asset_Use_UU */ + public String getA_Asset_Use_UU () + { + return (String)get_Value(COLUMNNAME_A_Asset_Use_UU); + } + /** Set Description. @param Description Optional short description of the record diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java index e52cedf83e..550aece4c6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java @@ -29,7 +29,7 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation (Properties ctx, int A_Depreciation_ID, String trxName) @@ -40,8 +40,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste setA_Depreciation_ID (0); setDepreciationType (null); setName (null); - setProcessed (true); -// Y + setProcessed (false); +// N } */ } @@ -73,8 +73,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste return sb.toString(); } - /** Set Depreciation Type. - @param A_Depreciation_ID Depreciation Type */ + /** Set Depreciation. + @param A_Depreciation_ID Depreciation */ public void setA_Depreciation_ID (int A_Depreciation_ID) { if (A_Depreciation_ID < 1) @@ -83,8 +83,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste set_ValueNoCheck (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); } - /** Get Depreciation Type. - @return Depreciation Type */ + /** Get Depreciation. + @return Depreciation */ public int getA_Depreciation_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); @@ -93,6 +93,20 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste return ii.intValue(); } + /** Set A_Depreciation_UU. + @param A_Depreciation_UU A_Depreciation_UU */ + public void setA_Depreciation_UU (String A_Depreciation_UU) + { + set_Value (COLUMNNAME_A_Depreciation_UU, A_Depreciation_UU); + } + + /** Get A_Depreciation_UU. + @return A_Depreciation_UU */ + public String getA_Depreciation_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_UU); + } + /** Set DepreciationType. @param DepreciationType DepreciationType */ public void setDepreciationType (String DepreciationType) @@ -165,15 +179,15 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste return false; } - /** Set Text. - @param Text Text */ + /** Set Description. + @param Text Description */ public void setText (String Text) { set_Value (COLUMNNAME_Text, Text); } - /** Get Text. - @return Text */ + /** Get Description. + @return Description */ public String getText () { return (String)get_Value(COLUMNNAME_Text); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java index b411cc6aaf..e7267b9f4f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java @@ -31,7 +31,7 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Build (Properties ctx, int A_Depreciation_Build_ID, String trxName) @@ -71,8 +71,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build return sb.toString(); } - /** Set Depreciation Build. - @param A_Depreciation_Build_ID Depreciation Build */ + /** Set Build Depreciation. + @param A_Depreciation_Build_ID Build Depreciation */ public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID) { if (A_Depreciation_Build_ID < 1) @@ -81,8 +81,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build set_ValueNoCheck (COLUMNNAME_A_Depreciation_Build_ID, Integer.valueOf(A_Depreciation_Build_ID)); } - /** Get Depreciation Build. - @return Depreciation Build */ + /** Get Build Depreciation. + @return Build Depreciation */ public int getA_Depreciation_Build_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Build_ID); @@ -99,13 +99,27 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Build_ID())); } - public I_A_Asset getA_End_Asset() throws RuntimeException + /** Set A_Depreciation_Build_UU. + @param A_Depreciation_Build_UU A_Depreciation_Build_UU */ + public void setA_Depreciation_Build_UU (String A_Depreciation_Build_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Build_UU, A_Depreciation_Build_UU); + } + + /** Get A_Depreciation_Build_UU. + @return A_Depreciation_Build_UU */ + public String getA_Depreciation_Build_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Build_UU); + } + + public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_End_Asset_ID(), get_TrxName()); } - /** Set End Aset ID. - @param A_End_Asset_ID End Aset ID */ + /** Set To Asset. + @param A_End_Asset_ID To Asset */ public void setA_End_Asset_ID (int A_End_Asset_ID) { if (A_End_Asset_ID < 1) @@ -114,8 +128,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID)); } - /** Get End Aset ID. - @return End Aset ID */ + /** Get To Asset. + @return To Asset */ public int getA_End_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID); @@ -124,13 +138,13 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build return ii.intValue(); } - public I_A_Asset getA_Start_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Start_Asset_ID(), get_TrxName()); } - /** Set Start Asset. - @param A_Start_Asset_ID Start Asset */ + /** Set From Asset. + @param A_Start_Asset_ID From Asset */ public void setA_Start_Asset_ID (int A_Start_Asset_ID) { if (A_Start_Asset_ID < 1) @@ -139,8 +153,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID)); } - /** Get Start Asset. - @return Start Asset */ + /** Get From Asset. + @return From Asset */ public int getA_Start_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID); @@ -149,9 +163,9 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build return ii.intValue(); } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java index 249ba3dda3..0a1cbf27e2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java @@ -19,7 +19,6 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Convention * @author Adempiere (generated) @@ -30,7 +29,7 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Convention (Properties ctx, int A_Depreciation_Convention_ID, String trxName) @@ -92,13 +91,19 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Convention_ID())); - } + /** Set A_Depreciation_Convention_UU. + @param A_Depreciation_Convention_UU A_Depreciation_Convention_UU */ + public void setA_Depreciation_Convention_UU (String A_Depreciation_Convention_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Convention_UU, A_Depreciation_Convention_UU); + } + + /** Get A_Depreciation_Convention_UU. + @return A_Depreciation_Convention_UU */ + public String getA_Depreciation_Convention_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Convention_UU); + } /** Set ConventionType. @param ConventionType ConventionType */ diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java index 0388f32ae0..08cd6c96e7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java @@ -17,9 +17,11 @@ /** Generated Model - DO NOT CHANGE */ package org.compiere.model; +import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; +import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Entry @@ -31,7 +33,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName) @@ -40,7 +42,6 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry /** if (A_Depreciation_Entry_ID == 0) { setA_Depreciation_Entry_ID (0); - setA_Entry_Type (null); setC_AcctSchema_ID (0); setC_Currency_ID (0); // @$C_CURRENCY_ID@ @@ -50,13 +51,19 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry // @Date@ setDateDoc (new Timestamp( System.currentTimeMillis() )); // @Date@ - setDescription (null); + setDocAction (null); +// 'CO' + setDocStatus (null); +// 'DR' setDocumentNo (null); setGL_Category_ID (0); + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// 'N' setPostingType (null); -// A +// 'A' setProcessed (false); -// N setProcessing (false); } */ } @@ -68,7 +75,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry } /** AccessLevel - * @return 7 - System - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -117,6 +124,20 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Entry_ID())); } + /** Set A_Depreciation_Entry_UU. + @param A_Depreciation_Entry_UU A_Depreciation_Entry_UU */ + public void setA_Depreciation_Entry_UU (String A_Depreciation_Entry_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Entry_UU, A_Depreciation_Entry_UU); + } + + /** Get A_Depreciation_Entry_UU. + @return A_Depreciation_Entry_UU */ + public String getA_Depreciation_Entry_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Entry_UU); + } + /** A_Entry_Type AD_Reference_ID=53257 */ public static final int A_ENTRY_TYPE_AD_Reference_ID=53257; /** Depreciation = DEP */ @@ -146,9 +167,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return (String)get_Value(COLUMNNAME_A_Entry_Type); } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -174,9 +195,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return ii.intValue(); } - public I_C_Currency getC_Currency() throws RuntimeException + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException { - return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) + return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name) .getPO(getC_Currency_ID(), get_TrxName()); } /** Set Currency. @@ -202,9 +223,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return ii.intValue(); } - public I_C_DocType getC_DocType() throws RuntimeException + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException { - return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) + return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name) .getPO(getC_DocType_ID(), get_TrxName()); } /** Set Document Type. @@ -230,9 +251,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return ii.intValue(); } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. @@ -309,13 +330,105 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return (String)get_Value(COLUMNNAME_Description); } + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + /** Set Document No. @param DocumentNo Document sequence number of the document */ public void setDocumentNo (String DocumentNo) { - set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); + set_Value (COLUMNNAME_DocumentNo, DocumentNo); } /** Get Document No. @@ -326,9 +439,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return (String)get_Value(COLUMNNAME_DocumentNo); } - public I_GL_Category getGL_Category() throws RuntimeException + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException { - return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) + return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name) .getPO(getGL_Category_ID(), get_TrxName()); } /** Set GL Category. @@ -354,6 +467,54 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return ii.intValue(); } + /** Set Approved. + @param IsApproved + Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved) + { + set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved)); + } + + /** Get Approved. + @return Indicates if this document requires approval + */ + public boolean isApproved () + { + Object oo = get_Value(COLUMNNAME_IsApproved); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -408,6 +569,26 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry return false; } + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java index 88581e699f..98ea474d4d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java @@ -33,7 +33,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Exp (Properties ctx, int A_Depreciation_Exp_ID, String trxName) @@ -41,13 +41,21 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ super (ctx, A_Depreciation_Exp_ID, trxName); /** if (A_Depreciation_Exp_ID == 0) { - setA_Account_Number (0); + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Accumulated_Depr_F_Delta (Env.ZERO); +// 0 + setA_Asset_Cost_Delta (Env.ZERO); +// 0 setA_Asset_ID (0); setA_Depreciation_Exp_ID (0); setA_Entry_Type (null); setA_Period (0); setDescription (null); setExpense (Env.ZERO); +// 0 + setExpense_F (Env.ZERO); +// 0 setIsDepreciated (false); setProcessed (false); } */ @@ -60,7 +68,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -81,28 +89,185 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return sb.toString(); } - public I_C_ValidCombination getA_Account_Num() throws RuntimeException + public I_C_ValidCombination getA_Account_Number_A() throws RuntimeException { return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) - .getPO(getA_Account_Number(), get_TrxName()); } + .getPO(getA_Account_Number_Acct(), get_TrxName()); } - /** Set Account Number. - @param A_Account_Number Account Number */ - public void setA_Account_Number (int A_Account_Number) + /** Set A_Account_Number_Acct. + @param A_Account_Number_Acct A_Account_Number_Acct */ + public void setA_Account_Number_Acct (int A_Account_Number_Acct) { - set_Value (COLUMNNAME_A_Account_Number, Integer.valueOf(A_Account_Number)); + set_Value (COLUMNNAME_A_Account_Number_Acct, Integer.valueOf(A_Account_Number_Acct)); } - /** Get Account Number. - @return Account Number */ - public int getA_Account_Number () + /** Get A_Account_Number_Acct. + @return A_Account_Number_Acct */ + public int getA_Account_Number_Acct () { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Account_Number); + Integer ii = (Integer)get_Value(COLUMNNAME_A_Account_Number_Acct); if (ii == null) return 0; return ii.intValue(); } + /** Set Accumulated Depreciation. + @param A_Accumulated_Depr Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr) + { + set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr); + } + + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Accumulated Depreciation (delta). + @param A_Accumulated_Depr_Delta Accumulated Depreciation (delta) */ + public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_Delta, A_Accumulated_Depr_Delta); + } + + /** Get Accumulated Depreciation (delta). + @return Accumulated Depreciation (delta) */ + public BigDecimal getA_Accumulated_Depr_Delta () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_Delta); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Accumulated Depreciation (fiscal). + @param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F); + } + + /** Get Accumulated Depreciation (fiscal). + @return Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Accumulated Depreciation - fiscal (delta). + @param A_Accumulated_Depr_F_Delta Accumulated Depreciation - fiscal (delta) */ + public void setA_Accumulated_Depr_F_Delta (BigDecimal A_Accumulated_Depr_F_Delta) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F_Delta, A_Accumulated_Depr_F_Delta); + } + + /** Get Accumulated Depreciation - fiscal (delta). + @return Accumulated Depreciation - fiscal (delta) */ + public BigDecimal getA_Accumulated_Depr_F_Delta () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F_Delta); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Asset_Addition getA_Asset_Addition() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Addition)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Addition.Table_Name) + .getPO(getA_Asset_Addition_ID(), get_TrxName()); } + + /** Set Asset Addition. + @param A_Asset_Addition_ID Asset Addition */ + public void setA_Asset_Addition_ID (int A_Asset_Addition_ID) + { + if (A_Asset_Addition_ID < 1) + set_Value (COLUMNNAME_A_Asset_Addition_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Addition_ID, Integer.valueOf(A_Asset_Addition_ID)); + } + + /** Get Asset Addition. + @return Asset Addition */ + public int getA_Asset_Addition_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Addition_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Cost. + @param A_Asset_Cost Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost) + { + set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost); + } + + /** Get Asset Cost. + @return Asset Cost */ + public BigDecimal getA_Asset_Cost () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Delta Asset Cost. + @param A_Asset_Cost_Delta Delta Asset Cost */ + public void setA_Asset_Cost_Delta (BigDecimal A_Asset_Cost_Delta) + { + set_Value (COLUMNNAME_A_Asset_Cost_Delta, A_Asset_Cost_Delta); + } + + /** Get Delta Asset Cost. + @return Delta Asset Cost */ + public BigDecimal getA_Asset_Cost_Delta () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost_Delta); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Asset_Disposed getA_Asset_Disposed() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Disposed)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Disposed.Table_Name) + .getPO(getA_Asset_Disposed_ID(), get_TrxName()); } + + /** Set Asset Disposed. + @param A_Asset_Disposed_ID Asset Disposed */ + public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID) + { + if (A_Asset_Disposed_ID < 1) + set_Value (COLUMNNAME_A_Asset_Disposed_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Disposed_ID, Integer.valueOf(A_Asset_Disposed_ID)); + } + + /** Get Asset Disposed. + @return Asset Disposed */ + public int getA_Asset_Disposed_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Disposed_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -126,8 +291,67 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return ii.intValue(); } - /** Set Depreciation Exp.. - @param A_Depreciation_Exp_ID Depreciation Exp. */ + /** Set Remaining Amt. + @param A_Asset_Remaining Remaining Amt */ + public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining) + { + set_Value (COLUMNNAME_A_Asset_Remaining, A_Asset_Remaining); + } + + /** Get Remaining Amt. + @return Remaining Amt */ + public BigDecimal getA_Asset_Remaining () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Remaining Amt (fiscal). + @param A_Asset_Remaining_F Remaining Amt (fiscal) */ + public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F) + { + set_Value (COLUMNNAME_A_Asset_Remaining_F, A_Asset_Remaining_F); + } + + /** Get Remaining Amt (fiscal). + @return Remaining Amt (fiscal) */ + public BigDecimal getA_Asset_Remaining_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Depreciation_Entry getA_Depreciation_Entry() throws RuntimeException + { + return (org.compiere.model.I_A_Depreciation_Entry)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Entry.Table_Name) + .getPO(getA_Depreciation_Entry_ID(), get_TrxName()); } + + /** Set Depreciation Entry. + @param A_Depreciation_Entry_ID Depreciation Entry */ + public void setA_Depreciation_Entry_ID (int A_Depreciation_Entry_ID) + { + if (A_Depreciation_Entry_ID < 1) + set_Value (COLUMNNAME_A_Depreciation_Entry_ID, null); + else + set_Value (COLUMNNAME_A_Depreciation_Entry_ID, Integer.valueOf(A_Depreciation_Entry_ID)); + } + + /** Get Depreciation Entry. + @return Depreciation Entry */ + public int getA_Depreciation_Entry_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Entry_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Depreciation_Exp_ID. + @param A_Depreciation_Exp_ID A_Depreciation_Exp_ID */ public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID) { if (A_Depreciation_Exp_ID < 1) @@ -136,8 +360,8 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ set_ValueNoCheck (COLUMNNAME_A_Depreciation_Exp_ID, Integer.valueOf(A_Depreciation_Exp_ID)); } - /** Get Depreciation Exp.. - @return Depreciation Exp. */ + /** Get A_Depreciation_Exp_ID. + @return A_Depreciation_Exp_ID */ public int getA_Depreciation_Exp_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Exp_ID); @@ -154,6 +378,20 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Exp_ID())); } + /** Set A_Depreciation_Exp_UU. + @param A_Depreciation_Exp_UU A_Depreciation_Exp_UU */ + public void setA_Depreciation_Exp_UU (String A_Depreciation_Exp_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Exp_UU, A_Depreciation_Exp_UU); + } + + /** Get A_Depreciation_Exp_UU. + @return A_Depreciation_Exp_UU */ + public String getA_Depreciation_Exp_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Exp_UU); + } + /** A_Entry_Type AD_Reference_ID=53257 */ public static final int A_ENTRY_TYPE_AD_Reference_ID=53257; /** Depreciation = DEP */ @@ -183,15 +421,15 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return (String)get_Value(COLUMNNAME_A_Entry_Type); } - /** Set Period/Yearly. - @param A_Period Period/Yearly */ + /** Set Asset Period. + @param A_Period Asset Period */ public void setA_Period (int A_Period) { set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period)); } - /** Get Period/Yearly. - @return Period/Yearly */ + /** Get Asset Period. + @return Asset Period */ public int getA_Period () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period); @@ -200,6 +438,34 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return ii.intValue(); } + public I_C_ValidCombination getCR_Account() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getCR_Account_ID(), get_TrxName()); } + + /** Set Account (credit). + @param CR_Account_ID + Account used + */ + public void setCR_Account_ID (int CR_Account_ID) + { + if (CR_Account_ID < 1) + set_Value (COLUMNNAME_CR_Account_ID, null); + else + set_Value (COLUMNNAME_CR_Account_ID, Integer.valueOf(CR_Account_ID)); + } + + /** Get Account (credit). + @return Account used + */ + public int getCR_Account_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CR_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Account Date. @param DateAcct Accounting Date @@ -234,6 +500,34 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return (String)get_Value(COLUMNNAME_Description); } + public I_C_ValidCombination getDR_Account() throws RuntimeException + { + return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + .getPO(getDR_Account_ID(), get_TrxName()); } + + /** Set Account (debit). + @param DR_Account_ID + Account used + */ + public void setDR_Account_ID (int DR_Account_ID) + { + if (DR_Account_ID < 1) + set_Value (COLUMNNAME_DR_Account_ID, null); + else + set_Value (COLUMNNAME_DR_Account_ID, Integer.valueOf(DR_Account_ID)); + } + + /** Get Account (debit). + @return Account used + */ + public int getDR_Account_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DR_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Expense. @param Expense Expense */ public void setExpense (BigDecimal Expense) @@ -251,6 +545,40 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return bd; } + /** Set Expense (fiscal). + @param Expense_F Expense (fiscal) */ + public void setExpense_F (BigDecimal Expense_F) + { + set_Value (COLUMNNAME_Expense_F, Expense_F); + } + + /** Get Expense (fiscal). + @return Expense (fiscal) */ + public BigDecimal getExpense_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Expense_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + /** Set Depreciate. @param IsDepreciated The asset will be depreciated @@ -275,12 +603,25 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ return false; } + /** PostingType AD_Reference_ID=125 */ + public static final int POSTINGTYPE_AD_Reference_ID=125; + /** Actual = A */ + public static final String POSTINGTYPE_Actual = "A"; + /** Budget = B */ + public static final String POSTINGTYPE_Budget = "B"; + /** Commitment = E */ + public static final String POSTINGTYPE_Commitment = "E"; + /** Statistical = S */ + public static final String POSTINGTYPE_Statistical = "S"; + /** Reservation = R */ + public static final String POSTINGTYPE_Reservation = "R"; /** Set PostingType. @param PostingType The type of posted amount for the transaction */ public void setPostingType (String PostingType) { + set_Value (COLUMNNAME_PostingType, PostingType); } @@ -315,4 +656,62 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ } return false; } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Usable Life - Months. + @param UseLifeMonths + Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths) + { + set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths)); + } + + /** Get Usable Life - Months. + @return Months of the usable life of the asset + */ + public int getUseLifeMonths () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Use Life - Months (fiscal). + @param UseLifeMonths_F Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F) + { + set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F)); + } + + /** Get Use Life - Months (fiscal). + @return Use Life - Months (fiscal) */ + public int getUseLifeMonths_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java index 2e9b829dcc..9f336a9704 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java @@ -31,7 +31,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Forecast (Properties ctx, int A_Depreciation_Forecast_ID, String trxName) @@ -103,13 +103,27 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Forecast_ID())); } - public I_A_Asset getA_End_Asset() throws RuntimeException + /** Set A_Depreciation_Forecast_UU. + @param A_Depreciation_Forecast_UU A_Depreciation_Forecast_UU */ + public void setA_Depreciation_Forecast_UU (String A_Depreciation_Forecast_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Forecast_UU, A_Depreciation_Forecast_UU); + } + + /** Get A_Depreciation_Forecast_UU. + @return A_Depreciation_Forecast_UU */ + public String getA_Depreciation_Forecast_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Forecast_UU); + } + + public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_End_Asset_ID(), get_TrxName()); } - /** Set End Aset ID. - @param A_End_Asset_ID End Aset ID */ + /** Set To Asset. + @param A_End_Asset_ID To Asset */ public void setA_End_Asset_ID (int A_End_Asset_ID) { if (A_End_Asset_ID < 1) @@ -118,8 +132,8 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID)); } - /** Get End Aset ID. - @return End Aset ID */ + /** Get To Asset. + @return To Asset */ public int getA_End_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID); @@ -128,13 +142,13 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo return ii.intValue(); } - public I_A_Asset getA_Start_Asset() throws RuntimeException + public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException { - return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) .getPO(getA_Start_Asset_ID(), get_TrxName()); } - /** Set Start Asset. - @param A_Start_Asset_ID Start Asset */ + /** Set From Asset. + @param A_Start_Asset_ID From Asset */ public void setA_Start_Asset_ID (int A_Start_Asset_ID) { if (A_Start_Asset_ID < 1) @@ -143,8 +157,8 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID)); } - /** Get Start Asset. - @return Start Asset */ + /** Get From Asset. + @return From Asset */ public int getA_Start_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java index a60f1d649d..d37573bd73 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java @@ -30,7 +30,7 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Method (Properties ctx, int A_Depreciation_Method_ID, String trxName) @@ -39,8 +39,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth /** if (A_Depreciation_Method_ID == 0) { setA_Depreciation_Method_ID (0); - setProcessed (true); -// Y + setProcessed (false); +// N } */ } @@ -72,8 +72,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth return sb.toString(); } - /** Set Depreciation Calculation Type. - @param A_Depreciation_Method_ID Depreciation Calculation Type */ + /** Set Depreciation Method. + @param A_Depreciation_Method_ID Depreciation Method */ public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID) { if (A_Depreciation_Method_ID < 1) @@ -82,8 +82,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth set_ValueNoCheck (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID)); } - /** Get Depreciation Calculation Type. - @return Depreciation Calculation Type */ + /** Get Depreciation Method. + @return Depreciation Method */ public int getA_Depreciation_Method_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID); @@ -100,6 +100,20 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Method_ID())); } + /** Set A_Depreciation_Method_UU. + @param A_Depreciation_Method_UU A_Depreciation_Method_UU */ + public void setA_Depreciation_Method_UU (String A_Depreciation_Method_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Method_UU, A_Depreciation_Method_UU); + } + + /** Get A_Depreciation_Method_UU. + @return A_Depreciation_Method_UU */ + public String getA_Depreciation_Method_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Method_UU); + } + /** Set DepreciationType. @param DepreciationType DepreciationType */ public void setDepreciationType (String DepreciationType) @@ -172,15 +186,15 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth return false; } - /** Set Text. - @param Text Text */ + /** Set Description. + @param Text Description */ public void setText (String Text) { set_Value (COLUMNNAME_Text, Text); } - /** Get Text. - @return Text */ + /** Get Description. + @return Description */ public String getText () { return (String)get_Value(COLUMNNAME_Text); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java index 3d927f53da..aef1f810a6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java @@ -32,7 +32,7 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Table_Detail (Properties ctx, int A_Depreciation_Table_Detail_ID, String trxName) @@ -135,15 +135,29 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Detail_ID())); } - /** Set Period/Yearly. - @param A_Period Period/Yearly */ + /** Set A_Depreciation_Table_Detail_UU. + @param A_Depreciation_Table_Detail_UU A_Depreciation_Table_Detail_UU */ + public void setA_Depreciation_Table_Detail_UU (String A_Depreciation_Table_Detail_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Table_Detail_UU, A_Depreciation_Table_Detail_UU); + } + + /** Get A_Depreciation_Table_Detail_UU. + @return A_Depreciation_Table_Detail_UU */ + public String getA_Depreciation_Table_Detail_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Detail_UU); + } + + /** Set Asset Period. + @param A_Period Asset Period */ public void setA_Period (int A_Period) { set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period)); } - /** Get Period/Yearly. - @return Period/Yearly */ + /** Get Asset Period. + @return Asset Period */ public int getA_Period () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period); diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java index ec9b04442e..810fbe5f54 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java @@ -30,7 +30,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Table_Header (Properties ctx, int A_Depreciation_Table_Header_ID, String trxName) @@ -89,8 +89,8 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Code); } - /** Set Depreciation Table Header. - @param A_Depreciation_Table_Header_ID Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID. + @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) { if (A_Depreciation_Table_Header_ID < 1) @@ -99,8 +99,8 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio set_ValueNoCheck (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); } - /** Get Depreciation Table Header. - @return Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID. + @return A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); @@ -117,6 +117,20 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Header_ID())); } + /** Set A_Depreciation_Table_Header_UU. + @param A_Depreciation_Table_Header_UU A_Depreciation_Table_Header_UU */ + public void setA_Depreciation_Table_Header_UU (String A_Depreciation_Table_Header_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Table_Header_UU, A_Depreciation_Table_Header_UU); + } + + /** Get A_Depreciation_Table_Header_UU. + @return A_Depreciation_Table_Header_UU */ + public String getA_Depreciation_Table_Header_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Header_UU); + } + /** A_Table_Rate_Type AD_Reference_ID=53255 */ public static final int A_TABLE_RATE_TYPE_AD_Reference_ID=53255; /** Amount = AM */ diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java index f0b12ca164..0b0a5dba52 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java @@ -33,7 +33,7 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_A_Depreciation_Workfile (Properties ctx, int A_Depreciation_Workfile_ID, String trxName) @@ -41,10 +41,41 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo super (ctx, A_Depreciation_Workfile_ID, trxName); /** if (A_Depreciation_Workfile_ID == 0) { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_F (Env.ZERO); +// 0 + setA_Asset_Cost (Env.ZERO); +// 0 setA_Asset_ID (0); + setA_Asset_Life_Current_Year (Env.ZERO); +// 0 setA_Asset_Life_Years (0); +// 0 + setA_Asset_Life_Years_F (0); +// 0 + setA_Curr_Dep_Exp (Env.ZERO); +// 0 setA_Depreciation_Workfile_ID (0); + setA_Life_Period (0); +// 0 + setA_Life_Period_F (0); +// 0 setA_QTY_Current (Env.ZERO); + setA_Salvage_Value (Env.ZERO); +// 0 + setA_Tip_Finantare (null); +// 'P' + setProcessed (false); +// N + setUseLifeMonths (0); +// 0 + setUseLifeMonths_F (0); +// 0 + setUseLifeYears (0); +// 0 + setUseLifeYears_F (0); +// 0 } */ } @@ -93,6 +124,23 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } + /** Set Accumulated Depreciation (fiscal). + @param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F); + } + + /** Get Accumulated Depreciation (fiscal). + @return Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Asset Cost. @param A_Asset_Cost Asset Cost */ public void setA_Asset_Cost (BigDecimal A_Asset_Cost) @@ -110,6 +158,11 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -133,15 +186,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return ii.intValue(); } - /** Set Asset Life Current Year. - @param A_Asset_Life_Current_Year Asset Life Current Year */ + /** Set A_Asset_Life_Current_Year. + @param A_Asset_Life_Current_Year A_Asset_Life_Current_Year */ public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year) { set_Value (COLUMNNAME_A_Asset_Life_Current_Year, A_Asset_Life_Current_Year); } - /** Get Asset Life Current Year. - @return Asset Life Current Year */ + /** Get A_Asset_Life_Current_Year. + @return A_Asset_Life_Current_Year */ public BigDecimal getA_Asset_Life_Current_Year () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Life_Current_Year); @@ -150,15 +203,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Asset Life Years. - @param A_Asset_Life_Years Asset Life Years */ + /** Set Life Years. + @param A_Asset_Life_Years Life Years */ public void setA_Asset_Life_Years (int A_Asset_Life_Years) { set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years)); } - /** Get Asset Life Years. - @return Asset Life Years */ + /** Get Life Years. + @return Life Years */ public int getA_Asset_Life_Years () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years); @@ -167,15 +220,66 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return ii.intValue(); } - /** Set Base Amount. - @param A_Base_Amount Base Amount */ + /** Set Life Years (fiscal). + @param A_Asset_Life_Years_F Life Years (fiscal) */ + public void setA_Asset_Life_Years_F (int A_Asset_Life_Years_F) + { + set_Value (COLUMNNAME_A_Asset_Life_Years_F, Integer.valueOf(A_Asset_Life_Years_F)); + } + + /** Get Life Years (fiscal). + @return Life Years (fiscal) */ + public int getA_Asset_Life_Years_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years_F); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Remaining Amt. + @param A_Asset_Remaining Remaining Amt */ + public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining) + { + set_ValueNoCheck (COLUMNNAME_A_Asset_Remaining, A_Asset_Remaining); + } + + /** Get Remaining Amt. + @return Remaining Amt */ + public BigDecimal getA_Asset_Remaining () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Remaining Amt (fiscal). + @param A_Asset_Remaining_F Remaining Amt (fiscal) */ + public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F) + { + set_ValueNoCheck (COLUMNNAME_A_Asset_Remaining_F, A_Asset_Remaining_F); + } + + /** Get Remaining Amt (fiscal). + @return Remaining Amt (fiscal) */ + public BigDecimal getA_Asset_Remaining_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set A_Base_Amount. + @param A_Base_Amount A_Base_Amount */ public void setA_Base_Amount (BigDecimal A_Base_Amount) { set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount); } - /** Get Base Amount. - @return Base Amount */ + /** Get A_Base_Amount. + @return A_Base_Amount */ public BigDecimal getA_Base_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount); @@ -184,15 +288,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Calc. Accumulated Depr.. - @param A_Calc_Accumulated_Depr Calc. Accumulated Depr. */ + /** Set A_Calc_Accumulated_Depr. + @param A_Calc_Accumulated_Depr A_Calc_Accumulated_Depr */ public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr) { set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr); } - /** Get Calc. Accumulated Depr.. - @return Calc. Accumulated Depr. */ + /** Get A_Calc_Accumulated_Depr. + @return A_Calc_Accumulated_Depr */ public BigDecimal getA_Calc_Accumulated_Depr () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr); @@ -201,15 +305,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Curr. Dep. Exp.. - @param A_Curr_Dep_Exp Curr. Dep. Exp. */ + /** Set A_Curr_Dep_Exp. + @param A_Curr_Dep_Exp A_Curr_Dep_Exp */ public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp) { set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp); } - /** Get Curr. Dep. Exp.. - @return Curr. Dep. Exp. */ + /** Get A_Curr_Dep_Exp. + @return A_Curr_Dep_Exp */ public BigDecimal getA_Curr_Dep_Exp () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp); @@ -235,8 +339,8 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return ii.intValue(); } - /** Set Depreciation Workfile. - @param A_Depreciation_Workfile_ID Depreciation Workfile */ + /** Set A_Depreciation_Workfile_ID. + @param A_Depreciation_Workfile_ID A_Depreciation_Workfile_ID */ public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID) { if (A_Depreciation_Workfile_ID < 1) @@ -245,8 +349,8 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID)); } - /** Get Depreciation Workfile. - @return Depreciation Workfile */ + /** Get A_Depreciation_Workfile_ID. + @return A_Depreciation_Workfile_ID */ public int getA_Depreciation_Workfile_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID); @@ -263,15 +367,86 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Workfile_ID())); } - /** Set A_Life_Period. - @param A_Life_Period A_Life_Period */ + /** Set A_Depreciation_Workfile_UU. + @param A_Depreciation_Workfile_UU A_Depreciation_Workfile_UU */ + public void setA_Depreciation_Workfile_UU (String A_Depreciation_Workfile_UU) + { + set_Value (COLUMNNAME_A_Depreciation_Workfile_UU, A_Depreciation_Workfile_UU); + } + + /** Get A_Depreciation_Workfile_UU. + @return A_Depreciation_Workfile_UU */ + public String getA_Depreciation_Workfile_UU () + { + return (String)get_Value(COLUMNNAME_A_Depreciation_Workfile_UU); + } + + /** Set SL Expense/Period. + @param A_Expense_SL SL Expense/Period */ + public void setA_Expense_SL (BigDecimal A_Expense_SL) + { + throw new IllegalArgumentException ("A_Expense_SL is virtual column"); } + + /** Get SL Expense/Period. + @return SL Expense/Period */ + public BigDecimal getA_Expense_SL () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Expense_SL); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set SL Expense/Period (fiscal). + @param A_Expense_SL_F SL Expense/Period (fiscal) */ + public void setA_Expense_SL_F (BigDecimal A_Expense_SL_F) + { + throw new IllegalArgumentException ("A_Expense_SL_F is virtual column"); } + + /** Get SL Expense/Period (fiscal). + @return SL Expense/Period (fiscal) */ + public BigDecimal getA_Expense_SL_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Expense_SL_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_FundingMode getA_FundingMode() throws RuntimeException + { + return (org.compiere.model.I_A_FundingMode)MTable.get(getCtx(), org.compiere.model.I_A_FundingMode.Table_Name) + .getPO(getA_FundingMode_ID(), get_TrxName()); } + + /** Set Asset Funding Mode. + @param A_FundingMode_ID Asset Funding Mode */ + public void setA_FundingMode_ID (int A_FundingMode_ID) + { + if (A_FundingMode_ID < 1) + set_Value (COLUMNNAME_A_FundingMode_ID, null); + else + set_Value (COLUMNNAME_A_FundingMode_ID, Integer.valueOf(A_FundingMode_ID)); + } + + /** Get Asset Funding Mode. + @return Asset Funding Mode */ + public int getA_FundingMode_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_FundingMode_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life Periods. + @param A_Life_Period Life Periods */ public void setA_Life_Period (int A_Life_Period) { set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period)); } - /** Get A_Life_Period. - @return A_Life_Period */ + /** Get Life Periods. + @return Life Periods */ public int getA_Life_Period () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period); @@ -280,15 +455,64 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return ii.intValue(); } - /** Set Forecast Period. - @param A_Period_Forecast Forecast Period */ + /** Set Life Period (fiscal). + @param A_Life_Period_F Life Period (fiscal) */ + public void setA_Life_Period_F (int A_Life_Period_F) + { + set_Value (COLUMNNAME_A_Life_Period_F, Integer.valueOf(A_Life_Period_F)); + } + + /** Get Life Period (fiscal). + @return Life Period (fiscal) */ + public int getA_Life_Period_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_F); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life periods (max). + @param A_Life_Period_Max Life periods (max) */ + public void setA_Life_Period_Max (int A_Life_Period_Max) + { + throw new IllegalArgumentException ("A_Life_Period_Max is virtual column"); } + + /** Get Life periods (max). + @return Life periods (max) */ + public int getA_Life_Period_Max () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Max); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Life periods (min). + @param A_Life_Period_Min Life periods (min) */ + public void setA_Life_Period_Min (int A_Life_Period_Min) + { + throw new IllegalArgumentException ("A_Life_Period_Min is virtual column"); } + + /** Get Life periods (min). + @return Life periods (min) */ + public int getA_Life_Period_Min () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Min); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set A_Period_Forecast. + @param A_Period_Forecast A_Period_Forecast */ public void setA_Period_Forecast (BigDecimal A_Period_Forecast) { set_Value (COLUMNNAME_A_Period_Forecast, A_Period_Forecast); } - /** Get Forecast Period. - @return Forecast Period */ + /** Get A_Period_Forecast. + @return A_Period_Forecast */ public BigDecimal getA_Period_Forecast () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_Forecast); @@ -297,15 +521,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Period Posted. - @param A_Period_Posted Period Posted */ + /** Set A_Period_Posted. + @param A_Period_Posted A_Period_Posted */ public void setA_Period_Posted (int A_Period_Posted) { set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted)); } - /** Get Period Posted. - @return Period Posted */ + /** Get A_Period_Posted. + @return A_Period_Posted */ public int getA_Period_Posted () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted); @@ -314,15 +538,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return ii.intValue(); } - /** Set Prior. Year Accumulated Depr.. - @param A_Prior_Year_Accumulated_Depr Prior. Year Accumulated Depr. */ + /** Set A_Prior_Year_Accumulated_Depr. + @param A_Prior_Year_Accumulated_Depr A_Prior_Year_Accumulated_Depr */ public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr) { set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr); } - /** Get Prior. Year Accumulated Depr.. - @return Prior. Year Accumulated Depr. */ + /** Get A_Prior_Year_Accumulated_Depr. + @return A_Prior_Year_Accumulated_Depr */ public BigDecimal getA_Prior_Year_Accumulated_Depr () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr); @@ -331,15 +555,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (BigDecimal A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public BigDecimal getA_QTY_Current () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); @@ -348,15 +572,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return bd; } - /** Set Salvage Value. - @param A_Salvage_Value Salvage Value */ + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value) { set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); } - /** Get Salvage Value. - @return Salvage Value */ + /** Get Asset Salvage Value. + @return Asset Salvage Value */ public BigDecimal getA_Salvage_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); @@ -382,6 +606,66 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return (Timestamp)get_Value(COLUMNNAME_AssetDepreciationDate); } + /** A_Tip_Finantare AD_Reference_ID=53361 */ + public static final int A_TIP_FINANTARE_AD_Reference_ID=53361; + /** Cofinantare = C */ + public static final String A_TIP_FINANTARE_Cofinantare = "C"; + /** Proprie = P */ + public static final String A_TIP_FINANTARE_Proprie = "P"; + /** Terti = T */ + public static final String A_TIP_FINANTARE_Terti = "T"; + /** Set Financing Type. + @param A_Tip_Finantare + Financing Type + */ + public void setA_Tip_Finantare (String A_Tip_Finantare) + { + + set_Value (COLUMNNAME_A_Tip_Finantare, A_Tip_Finantare); + } + + /** Get Financing Type. + @return Financing Type + */ + public String getA_Tip_Finantare () + { + return (String)get_Value(COLUMNNAME_A_Tip_Finantare); + } + + /** Set Own contribution. + @param A_Valoare_Cofinantare Own contribution */ + public void setA_Valoare_Cofinantare (BigDecimal A_Valoare_Cofinantare) + { + set_Value (COLUMNNAME_A_Valoare_Cofinantare, A_Valoare_Cofinantare); + } + + /** Get Own contribution. + @return Own contribution */ + public BigDecimal getA_Valoare_Cofinantare () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Valoare_Cofinantare); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Third contribution. + @param A_Valoare_Tert Third contribution */ + public void setA_Valoare_Tert (BigDecimal A_Valoare_Tert) + { + set_Value (COLUMNNAME_A_Valoare_Tert, A_Valoare_Tert); + } + + /** Get Third contribution. + @return Third contribution */ + public BigDecimal getA_Valoare_Tert () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Valoare_Tert); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Account Date. @param DateAcct Accounting Date @@ -399,6 +683,23 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return (Timestamp)get_Value(COLUMNNAME_DateAcct); } + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + /** Set Depreciate. @param IsDepreciated The asset will be depreciated @@ -453,6 +754,30 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo return (String)get_Value(COLUMNNAME_PostingType); } + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) @@ -473,4 +798,78 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo } return false; } + + /** Set Usable Life - Months. + @param UseLifeMonths + Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths) + { + set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths)); + } + + /** Get Usable Life - Months. + @return Months of the usable life of the asset + */ + public int getUseLifeMonths () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Use Life - Months (fiscal). + @param UseLifeMonths_F Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F) + { + set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F)); + } + + /** Get Use Life - Months (fiscal). + @return Use Life - Months (fiscal) */ + public int getUseLifeMonths_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Usable Life - Years. + @param UseLifeYears + Years of the usable life of the asset + */ + public void setUseLifeYears (int UseLifeYears) + { + set_Value (COLUMNNAME_UseLifeYears, Integer.valueOf(UseLifeYears)); + } + + /** Get Usable Life - Years. + @return Years of the usable life of the asset + */ + public int getUseLifeYears () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Use Life - Years (fiscal). + @param UseLifeYears_F Use Life - Years (fiscal) */ + public void setUseLifeYears_F (int UseLifeYears_F) + { + set_Value (COLUMNNAME_UseLifeYears_F, Integer.valueOf(UseLifeYears_F)); + } + + /** Get Use Life - Years (fiscal). + @return Use Life - Years (fiscal) */ + public int getUseLifeYears_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears_F); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java new file mode 100644 index 0000000000..cb06441e03 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java @@ -0,0 +1,153 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.util.KeyNamePair; + +/** Generated Model for A_FundingMode + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_A_FundingMode (Properties ctx, int A_FundingMode_ID, String trxName) + { + super (ctx, A_FundingMode_ID, trxName); + /** if (A_FundingMode_ID == 0) + { + setA_FundingMode_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Load Constructor */ + public X_A_FundingMode (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 7 - System - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_A_FundingMode[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Asset Funding Mode. + @param A_FundingMode_ID Asset Funding Mode */ + public void setA_FundingMode_ID (int A_FundingMode_ID) + { + if (A_FundingMode_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_FundingMode_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_FundingMode_ID, Integer.valueOf(A_FundingMode_ID)); + } + + /** Get Asset Funding Mode. + @return Asset Funding Mode */ + public int getA_FundingMode_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_FundingMode_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set Search Key. + @param Value + Search key for the record in the format required - must be unique + */ + public void setValue (String Value) + { + set_Value (COLUMNNAME_Value, Value); + } + + /** Get Search Key. + @return Search key for the record in the format required - must be unique + */ + public String getValue () + { + return (String)get_Value(COLUMNNAME_Value); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getValue()); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Asset.java b/org.adempiere.base/src/org/compiere/model/X_I_Asset.java index ec08f31c21..30ddff1107 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Asset.java @@ -33,7 +33,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_I_Asset (Properties ctx, int I_Asset_ID, String trxName) @@ -78,15 +78,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } - /** Set Accumulated Depreciation. - @param A_Accumdepreciation_Acct Accumulated Depreciation */ + /** Set Accumulated Depreciation Account. + @param A_Accumdepreciation_Acct Accumulated Depreciation Account */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get Accumulated Depreciation. - @return Accumulated Depreciation */ + /** Get Accumulated Depreciation Account. + @return Accumulated Depreciation Account */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -117,15 +117,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Asset_Acct(), get_TrxName()); } - /** Set Asset Cost Account. - @param A_Asset_Acct Asset Cost Account */ + /** Set Asset Acct. + @param A_Asset_Acct Asset Acct */ public void setA_Asset_Acct (int A_Asset_Acct) { set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); } - /** Get Asset Cost Account. - @return Asset Cost Account */ + /** Get Asset Acct. + @return Asset Acct */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -151,9 +151,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - public I_A_Asset_Group getA_Asset_Group() throws RuntimeException + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException { - return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) + return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name) .getPO(getA_Asset_Group_ID(), get_TrxName()); } /** Set Asset Group. @@ -202,15 +202,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Asset Life Current Year. - @param A_Asset_Life_Current_Year Asset Life Current Year */ + /** Set A_Asset_Life_Current_Year. + @param A_Asset_Life_Current_Year A_Asset_Life_Current_Year */ public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year) { set_Value (COLUMNNAME_A_Asset_Life_Current_Year, Integer.valueOf(A_Asset_Life_Current_Year)); } - /** Get Asset Life Current Year. - @return Asset Life Current Year */ + /** Get A_Asset_Life_Current_Year. + @return A_Asset_Life_Current_Year */ public int getA_Asset_Life_Current_Year () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Current_Year); @@ -219,15 +219,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Asset Life Years. - @param A_Asset_Life_Years Asset Life Years */ + /** Set Life Years. + @param A_Asset_Life_Years Life Years */ public void setA_Asset_Life_Years (int A_Asset_Life_Years) { set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years)); } - /** Get Asset Life Years. - @return Asset Life Years */ + /** Get Life Years. + @return Life Years */ public int getA_Asset_Life_Years () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years); @@ -236,20 +236,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException + public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException { - return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) + return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name) .getPO(getA_Asset_Spread_Type(), get_TrxName()); } - /** Set Asset Spread Type. - @param A_Asset_Spread_Type Asset Spread Type */ + /** Set Spread Type. + @param A_Asset_Spread_Type Spread Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) { set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); } - /** Get Asset Spread Type. - @return Asset Spread Type */ + /** Get Spread Type. + @return Spread Type */ public int getA_Asset_Spread_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); @@ -258,15 +258,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Base Amount. - @param A_Base_Amount Base Amount */ + /** Set A_Base_Amount. + @param A_Base_Amount A_Base_Amount */ public void setA_Base_Amount (BigDecimal A_Base_Amount) { set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount); } - /** Get Base Amount. - @return Base Amount */ + /** Get A_Base_Amount. + @return A_Base_Amount */ public BigDecimal getA_Base_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount); @@ -275,15 +275,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set Calc. Accumulated Depr.. - @param A_Calc_Accumulated_Depr Calc. Accumulated Depr. */ + /** Set A_Calc_Accumulated_Depr. + @param A_Calc_Accumulated_Depr A_Calc_Accumulated_Depr */ public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr) { set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr); } - /** Get Calc. Accumulated Depr.. - @return Calc. Accumulated Depr. */ + /** Get A_Calc_Accumulated_Depr. + @return A_Calc_Accumulated_Depr */ public BigDecimal getA_Calc_Accumulated_Depr () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr); @@ -292,15 +292,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set Curr. Dep. Exp.. - @param A_Curr_Dep_Exp Curr. Dep. Exp. */ + /** Set A_Curr_Dep_Exp. + @param A_Curr_Dep_Exp A_Curr_Dep_Exp */ public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp) { set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp); } - /** Get Curr. Dep. Exp.. - @return Curr. Dep. Exp. */ + /** Get A_Curr_Dep_Exp. + @return A_Curr_Dep_Exp */ public BigDecimal getA_Curr_Dep_Exp () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp); @@ -331,15 +331,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) .getPO(getA_Depreciation_Acct(), get_TrxName()); } - /** Set Depreciation Expense Account. - @param A_Depreciation_Acct Depreciation Expense Account */ + /** Set Depreciation Account. + @param A_Depreciation_Acct Depreciation Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct) { set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); } - /** Get Depreciation Expense Account. - @return Depreciation Expense Account */ + /** Get Depreciation Account. + @return Depreciation Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -348,20 +348,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException { - return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) + return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name) .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } - /** Set Depreciation Calculation Type. - @param A_Depreciation_Calc_Type Depreciation Calculation Type */ + /** Set Calculation Type. + @param A_Depreciation_Calc_Type Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) { set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); } - /** Get Depreciation Calculation Type. - @return Depreciation Calculation Type */ + /** Get Calculation Type. + @return Calculation Type */ public int getA_Depreciation_Calc_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); @@ -370,15 +370,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Depreciation Manual Amount. - @param A_Depreciation_Manual_Amount Depreciation Manual Amount */ + /** Set A_Depreciation_Manual_Amount. + @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */ public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) { set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); } - /** Get Depreciation Manual Amount. - @return Depreciation Manual Amount */ + /** Get A_Depreciation_Manual_Amount. + @return A_Depreciation_Manual_Amount */ public BigDecimal getA_Depreciation_Manual_Amount () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); @@ -393,28 +393,28 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; /** Yearly = YR */ public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; - /** Set Depreciation Manual Period. - @param A_Depreciation_Manual_Period Depreciation Manual Period */ + /** Set A_Depreciation_Manual_Period. + @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } - /** Get Depreciation Manual Period. - @return Depreciation Manual Period */ + /** Get A_Depreciation_Manual_Period. + @return A_Depreciation_Manual_Period */ public String getA_Depreciation_Manual_Period () { return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); } - public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException { - return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) + return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name) .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } - /** Set Depreciation Table Header. - @param A_Depreciation_Table_Header_ID Depreciation Table Header */ + /** Set A_Depreciation_Table_Header_ID. + @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) { if (A_Depreciation_Table_Header_ID < 1) @@ -423,8 +423,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); } - /** Get Depreciation Table Header. - @return Depreciation Table Header */ + /** Get A_Depreciation_Table_Header_ID. + @return A_Depreciation_Table_Header_ID */ public int getA_Depreciation_Table_Header_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); @@ -433,15 +433,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Depreciation Variable Perc.. - @param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ + /** Set Variable Percent. + @param A_Depreciation_Variable_Perc Variable Percent */ public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) { set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); } - /** Get Depreciation Variable Perc.. - @return Depreciation Variable Perc. */ + /** Get Variable Percent. + @return Variable Percent */ public BigDecimal getA_Depreciation_Variable_Perc () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); @@ -517,15 +517,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Life_Period. - @param A_Life_Period A_Life_Period */ + /** Set Life Periods. + @param A_Life_Period Life Periods */ public void setA_Life_Period (int A_Life_Period) { set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period)); } - /** Get A_Life_Period. - @return A_Life_Period */ + /** Get Life Periods. + @return Life Periods */ public int getA_Life_Period () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period); @@ -534,8 +534,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Asset ID. - @param A_Parent_Asset_ID Asset ID */ + /** Set Parent Asset. + @param A_Parent_Asset_ID Parent Asset */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) { if (A_Parent_Asset_ID < 1) @@ -544,8 +544,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); } - /** Get Asset ID. - @return Asset ID */ + /** Get Parent Asset. + @return Parent Asset */ public int getA_Parent_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); @@ -554,15 +554,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Period End. - @param A_Period_End Period End */ + /** Set A_Period_End. + @param A_Period_End A_Period_End */ public void setA_Period_End (int A_Period_End) { set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); } - /** Get Period End. - @return Period End */ + /** Get A_Period_End. + @return A_Period_End */ public int getA_Period_End () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); @@ -571,15 +571,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Period Posted. - @param A_Period_Posted Period Posted */ + /** Set A_Period_Posted. + @param A_Period_Posted A_Period_Posted */ public void setA_Period_Posted (int A_Period_Posted) { set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted)); } - /** Get Period Posted. - @return Period Posted */ + /** Get A_Period_Posted. + @return A_Period_Posted */ public int getA_Period_Posted () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted); @@ -588,15 +588,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Period Start. - @param A_Period_Start Period Start */ + /** Set A_Period_Start. + @param A_Period_Start A_Period_Start */ public void setA_Period_Start (int A_Period_Start) { set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); } - /** Get Period Start. - @return Period Start */ + /** Get A_Period_Start. + @return A_Period_Start */ public int getA_Period_Start () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); @@ -605,15 +605,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Prior. Year Accumulated Depr.. - @param A_Prior_Year_Accumulated_Depr Prior. Year Accumulated Depr. */ + /** Set A_Prior_Year_Accumulated_Depr. + @param A_Prior_Year_Accumulated_Depr A_Prior_Year_Accumulated_Depr */ public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr) { set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr); } - /** Get Prior. Year Accumulated Depr.. - @return Prior. Year Accumulated Depr. */ + /** Get A_Prior_Year_Accumulated_Depr. + @return A_Prior_Year_Accumulated_Depr */ public BigDecimal getA_Prior_Year_Accumulated_Depr () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr); @@ -622,15 +622,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set Quantity. - @param A_QTY_Current Quantity */ + /** Set Current Qty. + @param A_QTY_Current Current Qty */ public void setA_QTY_Current (int A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, Integer.valueOf(A_QTY_Current)); } - /** Get Quantity. - @return Quantity */ + /** Get Current Qty. + @return Current Qty */ public int getA_QTY_Current () { Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Current); @@ -639,15 +639,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Original Qty. - @param A_QTY_Original Original Qty */ + /** Set A_QTY_Original. + @param A_QTY_Original A_QTY_Original */ public void setA_QTY_Original (int A_QTY_Original) { set_Value (COLUMNNAME_A_QTY_Original, Integer.valueOf(A_QTY_Original)); } - /** Get Original Qty. - @return Original Qty */ + /** Get A_QTY_Original. + @return A_QTY_Original */ public int getA_QTY_Original () { Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Original); @@ -708,16 +708,16 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set Revaluation Calculation Method. - @param A_Reval_Cal_Method Revaluation Calculation Method */ + /** Set A_Reval_Cal_Method. + @param A_Reval_Cal_Method A_Reval_Cal_Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get Revaluation Calculation Method. - @return Revaluation Calculation Method */ + /** Get A_Reval_Cal_Method. + @return A_Reval_Cal_Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); @@ -789,15 +789,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set Salvage Value. - @param A_Salvage_Value Salvage Value */ + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value) { set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); } - /** Get Salvage Value. - @return Salvage Value */ + /** Get Asset Salvage Value. + @return Asset Salvage Value */ public BigDecimal getA_Salvage_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); @@ -806,15 +806,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set Split Percentage. - @param A_Split_Percent Split Percentage */ + /** Set Split Percent. + @param A_Split_Percent Split Percent */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get Split Percentage. - @return Split Percentage */ + /** Get Split Percent. + @return Split Percent */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -894,9 +894,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -922,9 +922,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws RuntimeException + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException { - return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) .getPO(getC_BPartner_ID(), get_TrxName()); } /** Set Business Partner . @@ -950,9 +950,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException + public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException { - return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) + return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name) .getPO(getC_BPartner_Location_ID(), get_TrxName()); } /** Set Partner Location. @@ -978,9 +978,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_Location getC_Location() throws RuntimeException + public org.compiere.model.I_C_Location getC_Location() throws RuntimeException { - return (I_C_Location)MTable.get(getCtx(), I_C_Location.Table_Name) + return (org.compiere.model.I_C_Location)MTable.get(getCtx(), org.compiere.model.I_C_Location.Table_Name) .getPO(getC_Location_ID(), get_TrxName()); } /** Set Address. @@ -1006,9 +1006,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_A_Depreciation_Convention getConventionT() throws RuntimeException + public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException { - return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) + return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name) .getPO(getConventionType(), get_TrxName()); } /** Set ConventionType. @@ -1028,9 +1028,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_A_Depreciation getDepreciationT() throws RuntimeException + public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException { - return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) + return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name) .getPO(getDepreciationType(), get_TrxName()); } /** Set DepreciationType. @@ -1129,6 +1129,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getI_Asset_ID())); } + /** Set I_Asset_UU. + @param I_Asset_UU I_Asset_UU */ + public void setI_Asset_UU (String I_Asset_UU) + { + set_Value (COLUMNNAME_I_Asset_UU, I_Asset_UU); + } + + /** Get I_Asset_UU. + @return I_Asset_UU */ + public String getI_Asset_UU () + { + return (String)get_Value(COLUMNNAME_I_Asset_UU); + } + /** Set Import Error Message. @param I_ErrorMsg Messages generated from import process @@ -1372,9 +1386,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_M_Locator getM_Locator() throws RuntimeException + public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException { - return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name) + return (org.compiere.model.I_M_Locator)MTable.get(getCtx(), org.compiere.model.I_M_Locator.Table_Name) .getPO(getM_Locator_ID(), get_TrxName()); } /** Set Locator. @@ -1400,9 +1414,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws RuntimeException + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException { - return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) .getPO(getM_Product_ID(), get_TrxName()); } /** Set Product. diff --git a/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java b/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java index 1c6f751818..3c8d06d9fc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java @@ -33,7 +33,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_I_FAJournal (Properties ctx, int I_FAJournal_ID, String trxName) @@ -97,9 +97,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_ElementValue getAccount() throws RuntimeException + public org.compiere.model.I_C_ElementValue getAccount() throws RuntimeException { - return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) + return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name) .getPO(getAccount_ID(), get_TrxName()); } /** Set Account. @@ -350,9 +350,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_BPartnerValue); } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -378,9 +378,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_Activity getC_Activity() throws RuntimeException + public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException { - return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name) + return (org.compiere.model.I_C_Activity)MTable.get(getCtx(), org.compiere.model.I_C_Activity.Table_Name) .getPO(getC_Activity_ID(), get_TrxName()); } /** Set Activity. @@ -423,9 +423,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_CategoryName); } - public I_C_BPartner getC_BPartner() throws RuntimeException + public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException { - return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) .getPO(getC_BPartner_ID(), get_TrxName()); } /** Set Business Partner . @@ -451,9 +451,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws RuntimeException + public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException { - return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name) + return (org.compiere.model.I_C_Campaign)MTable.get(getCtx(), org.compiere.model.I_C_Campaign.Table_Name) .getPO(getC_Campaign_ID(), get_TrxName()); } /** Set Campaign. @@ -502,9 +502,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws RuntimeException + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException { - return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) + return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name) .getPO(getC_Currency_ID(), get_TrxName()); } /** Set Currency. @@ -530,9 +530,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_DocType getC_DocType() throws RuntimeException + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException { - return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) + return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name) .getPO(getC_DocType_ID(), get_TrxName()); } /** Set Document Type. @@ -638,9 +638,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_ConversionTypeValue); } - public I_C_Period getC_Period() throws RuntimeException + public org.compiere.model.I_C_Period getC_Period() throws RuntimeException { - return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) + return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name) .getPO(getC_Period_ID(), get_TrxName()); } /** Set Period. @@ -666,9 +666,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws RuntimeException + public org.compiere.model.I_C_Project getC_Project() throws RuntimeException { - return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) + return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name) .getPO(getC_Project_ID(), get_TrxName()); } /** Set Project. @@ -694,9 +694,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws RuntimeException + public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException { - return (I_C_SalesRegion)MTable.get(getCtx(), I_C_SalesRegion.Table_Name) + return (org.compiere.model.I_C_SalesRegion)MTable.get(getCtx(), org.compiere.model.I_C_SalesRegion.Table_Name) .getPO(getC_SalesRegion_ID(), get_TrxName()); } /** Set Sales Region. @@ -745,9 +745,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_UOM getC_UOM() throws RuntimeException + public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException { - return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name) + return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_Name) .getPO(getC_UOM_ID(), get_TrxName()); } /** Set UOM. @@ -826,9 +826,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_CurrencyRateType); } - public I_C_ValidCombination getC_ValidCombination() throws RuntimeException + public org.compiere.model.I_C_ValidCombination getC_ValidCombination() throws RuntimeException { - return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) + return (org.compiere.model.I_C_ValidCombination)MTable.get(getCtx(), org.compiere.model.I_C_ValidCombination.Table_Name) .getPO(getC_ValidCombination_ID(), get_TrxName()); } /** Set Combination. @@ -905,9 +905,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_DocTypeName); } - public I_GL_Budget getGL_Budget() throws RuntimeException + public org.compiere.model.I_GL_Budget getGL_Budget() throws RuntimeException { - return (I_GL_Budget)MTable.get(getCtx(), I_GL_Budget.Table_Name) + return (org.compiere.model.I_GL_Budget)MTable.get(getCtx(), org.compiere.model.I_GL_Budget.Table_Name) .getPO(getGL_Budget_ID(), get_TrxName()); } /** Set Budget. @@ -933,9 +933,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_Category getGL_Category() throws RuntimeException + public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException { - return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) + return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name) .getPO(getGL_Category_ID(), get_TrxName()); } /** Set GL Category. @@ -961,9 +961,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException + public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException { - return (I_GL_JournalBatch)MTable.get(getCtx(), I_GL_JournalBatch.Table_Name) + return (org.compiere.model.I_GL_JournalBatch)MTable.get(getCtx(), org.compiere.model.I_GL_JournalBatch.Table_Name) .getPO(getGL_JournalBatch_ID(), get_TrxName()); } /** Set Journal Batch. @@ -989,9 +989,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_Journal getGL_Journal() throws RuntimeException + public org.compiere.model.I_GL_Journal getGL_Journal() throws RuntimeException { - return (I_GL_Journal)MTable.get(getCtx(), I_GL_Journal.Table_Name) + return (org.compiere.model.I_GL_Journal)MTable.get(getCtx(), org.compiere.model.I_GL_Journal.Table_Name) .getPO(getGL_Journal_ID(), get_TrxName()); } /** Set Journal. @@ -1017,9 +1017,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalLine getGL_JournalLine() throws RuntimeException + public org.compiere.model.I_GL_JournalLine getGL_JournalLine() throws RuntimeException { - return (I_GL_JournalLine)MTable.get(getCtx(), I_GL_JournalLine.Table_Name) + return (org.compiere.model.I_GL_JournalLine)MTable.get(getCtx(), org.compiere.model.I_GL_JournalLine.Table_Name) .getPO(getGL_JournalLine_ID(), get_TrxName()); } /** Set Journal Line. @@ -1090,6 +1090,20 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getI_FAJournal_ID())); } + /** Set I_FAJournal_UU. + @param I_FAJournal_UU I_FAJournal_UU */ + public void setI_FAJournal_UU (String I_FAJournal_UU) + { + set_Value (COLUMNNAME_I_FAJournal_UU, I_FAJournal_UU); + } + + /** Get I_FAJournal_UU. + @return I_FAJournal_UU */ + public String getI_FAJournal_UU () + { + return (String)get_Value(COLUMNNAME_I_FAJournal_UU); + } + /** Set Imported. @param I_IsImported Has this import been processed @@ -1185,9 +1199,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws RuntimeException + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException { - return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) .getPO(getM_Product_ID(), get_TrxName()); } /** Set Product. @@ -1410,9 +1424,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_UPC); } - public I_C_ElementValue getUser1() throws RuntimeException + public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException { - return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) + return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name) .getPO(getUser1_ID(), get_TrxName()); } /** Set User List 1. @@ -1438,9 +1452,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_ElementValue getUser2() throws RuntimeException + public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException { - return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) + return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name) .getPO(getUser2_ID(), get_TrxName()); } /** Set User List 2. diff --git a/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java b/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java new file mode 100644 index 0000000000..baa7189eca --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java @@ -0,0 +1,907 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; +import org.compiere.util.Env; + +/** Generated Model for I_FixedAsset + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121024L; + + /** Standard Constructor */ + public X_I_FixedAsset (Properties ctx, int I_FixedAsset_ID, String trxName) + { + super (ctx, I_FixedAsset_ID, trxName); + /** if (I_FixedAsset_ID == 0) + { + setA_Asset_Cost (Env.ZERO); +// 0 + setA_Remaining_Period (0); +// 0 + setAssetPeriodDepreciationAmt (Env.ZERO); +// 0 + setDocAction (null); +// 'CO' + setI_IsImported (false); +// 'N' + setUseLifeMonths (0); + setUseLifeMonths_F (0); + } */ + } + + /** Load Constructor */ + public X_I_FixedAsset (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_I_FixedAsset[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Accumulated Depreciation. + @param A_Accumulated_Depr Accumulated Depreciation */ + public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr) + { + set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr); + } + + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ + public BigDecimal getA_Accumulated_Depr () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Accumulated Depreciation (fiscal). + @param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */ + public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F) + { + set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F); + } + + /** Get Accumulated Depreciation (fiscal). + @return Accumulated Depreciation (fiscal) */ + public BigDecimal getA_Accumulated_Depr_F () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name) + .getPO(getA_Asset_Class_ID(), get_TrxName()); } + + /** Set Asset class. + @param A_Asset_Class_ID Asset class */ + public void setA_Asset_Class_ID (int A_Asset_Class_ID) + { + if (A_Asset_Class_ID < 1) + set_Value (COLUMNNAME_A_Asset_Class_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID)); + } + + /** Get Asset class. + @return Asset class */ + public int getA_Asset_Class_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Class Key. + @param A_Asset_Class_Value Asset Class Key */ + public void setA_Asset_Class_Value (String A_Asset_Class_Value) + { + set_Value (COLUMNNAME_A_Asset_Class_Value, A_Asset_Class_Value); + } + + /** Get Asset Class Key. + @return Asset Class Key */ + public String getA_Asset_Class_Value () + { + return (String)get_Value(COLUMNNAME_A_Asset_Class_Value); + } + + /** Set Asset Cost. + @param A_Asset_Cost Asset Cost */ + public void setA_Asset_Cost (BigDecimal A_Asset_Cost) + { + set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost); + } + + /** Get Asset Cost. + @return Asset Cost */ + public BigDecimal getA_Asset_Cost () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost); + if (bd == null) + return Env.ZERO; + return bd; + } + + public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name) + .getPO(getA_Asset_Group_ID(), get_TrxName()); } + + /** Set Asset Group. + @param A_Asset_Group_ID + Group of Assets + */ + public void setA_Asset_Group_ID (int A_Asset_Group_ID) + { + if (A_Asset_Group_ID < 1) + set_Value (COLUMNNAME_A_Asset_Group_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Group_ID, Integer.valueOf(A_Asset_Group_ID)); + } + + /** Get Asset Group. + @return Group of Assets + */ + public int getA_Asset_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Group Key. + @param A_Asset_Group_Value Asset Group Key */ + public void setA_Asset_Group_Value (String A_Asset_Group_Value) + { + set_Value (COLUMNNAME_A_Asset_Group_Value, A_Asset_Group_Value); + } + + /** Get Asset Group Key. + @return Asset Group Key */ + public String getA_Asset_Group_Value () + { + return (String)get_Value(COLUMNNAME_A_Asset_Group_Value); + } + + public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException + { + return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name) + .getPO(getA_Asset_ID(), get_TrxName()); } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_Value (COLUMNNAME_A_Asset_ID, null); + else + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException + { + return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name) + .getPO(getA_Asset_Type_ID(), get_TrxName()); } + + /** Set Asset Type. + @param A_Asset_Type_ID Asset Type */ + public void setA_Asset_Type_ID (int A_Asset_Type_ID) + { + if (A_Asset_Type_ID < 1) + set_Value (COLUMNNAME_A_Asset_Type_ID, null); + else + set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID)); + } + + /** Get Asset Type. + @return Asset Type */ + public int getA_Asset_Type_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Type Value. + @param A_Asset_Type_Value Asset Type Value */ + public void setA_Asset_Type_Value (String A_Asset_Type_Value) + { + set_Value (COLUMNNAME_A_Asset_Type_Value, A_Asset_Type_Value); + } + + /** Get Asset Type Value. + @return Asset Type Value */ + public String getA_Asset_Type_Value () + { + return (String)get_Value(COLUMNNAME_A_Asset_Type_Value); + } + + /** Set Current Period. + @param A_Current_Period Current Period */ + public void setA_Current_Period (int A_Current_Period) + { + set_Value (COLUMNNAME_A_Current_Period, Integer.valueOf(A_Current_Period)); + } + + /** Get Current Period. + @return Current Period */ + public int getA_Current_Period () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Current_Period); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Remaining Period. + @param A_Remaining_Period Remaining Period */ + public void setA_Remaining_Period (int A_Remaining_Period) + { + set_Value (COLUMNNAME_A_Remaining_Period, Integer.valueOf(A_Remaining_Period)); + } + + /** Get Remaining Period. + @return Remaining Period */ + public int getA_Remaining_Period () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Remaining_Period); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Asset Salvage Value. + @param A_Salvage_Value Asset Salvage Value */ + public void setA_Salvage_Value (BigDecimal A_Salvage_Value) + { + set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); + } + + /** Get Asset Salvage Value. + @return Asset Salvage Value */ + public BigDecimal getA_Salvage_Value () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Asset Depreciation Date. + @param AssetDepreciationDate + Date of last depreciation + */ + public void setAssetDepreciationDate (Timestamp AssetDepreciationDate) + { + set_Value (COLUMNNAME_AssetDepreciationDate, AssetDepreciationDate); + } + + /** Get Asset Depreciation Date. + @return Date of last depreciation + */ + public Timestamp getAssetDepreciationDate () + { + return (Timestamp)get_Value(COLUMNNAME_AssetDepreciationDate); + } + + /** Set Depreciation Amount / Period. + @param AssetPeriodDepreciationAmt + Applies to Straight Line depreciation + */ + public void setAssetPeriodDepreciationAmt (BigDecimal AssetPeriodDepreciationAmt) + { + set_Value (COLUMNNAME_AssetPeriodDepreciationAmt, AssetPeriodDepreciationAmt); + } + + /** Get Depreciation Amount / Period. + @return Applies to Straight Line depreciation + */ + public BigDecimal getAssetPeriodDepreciationAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetPeriodDepreciationAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set In Service Date. + @param AssetServiceDate + Date when Asset was put into service + */ + public void setAssetServiceDate (Timestamp AssetServiceDate) + { + set_Value (COLUMNNAME_AssetServiceDate, AssetServiceDate); + } + + /** Get In Service Date. + @return Date when Asset was put into service + */ + public Timestamp getAssetServiceDate () + { + return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); + } + + /** Set Business Partner Key. + @param BPartner_Value + The Key of the Business Partner + */ + public void setBPartner_Value (String BPartner_Value) + { + set_Value (COLUMNNAME_BPartner_Value, BPartner_Value); + } + + /** Get Business Partner Key. + @return The Key of the Business Partner + */ + public String getBPartner_Value () + { + return (String)get_Value(COLUMNNAME_BPartner_Value); + } + + public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException + { + return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name) + .getPO(getC_BPartnerSR_ID(), get_TrxName()); } + + /** Set BPartner (Agent). + @param C_BPartnerSR_ID + Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) + { + if (C_BPartnerSR_ID < 1) + set_Value (COLUMNNAME_C_BPartnerSR_ID, null); + else + set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID)); + } + + /** Get BPartner (Agent). + @return Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_City getC_City() throws RuntimeException + { + return (org.compiere.model.I_C_City)MTable.get(getCtx(), org.compiere.model.I_C_City.Table_Name) + .getPO(getC_City_ID(), get_TrxName()); } + + /** Set City. + @param C_City_ID + City + */ + public void setC_City_ID (int C_City_ID) + { + if (C_City_ID < 1) + set_Value (COLUMNNAME_C_City_ID, null); + else + set_Value (COLUMNNAME_C_City_ID, Integer.valueOf(C_City_ID)); + } + + /** Get City. + @return City + */ + public int getC_City_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_City_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set City Value. + @param C_City_Value City Value */ + public void setC_City_Value (String C_City_Value) + { + set_Value (COLUMNNAME_C_City_Value, C_City_Value); + } + + /** Get City Value. + @return City Value */ + public String getC_City_Value () + { + return (String)get_Value(COLUMNNAME_C_City_Value); + } + + public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException + { + return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_Name) + .getPO(getC_UOM_ID(), get_TrxName()); } + + /** Set UOM. + @param C_UOM_ID + Unit of Measure + */ + public void setC_UOM_ID (int C_UOM_ID) + { + if (C_UOM_ID < 1) + set_Value (COLUMNNAME_C_UOM_ID, null); + else + set_Value (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID)); + } + + /** Get UOM. + @return Unit of Measure + */ + public int getC_UOM_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Account Date. + @param DateAcct + Accounting Date + */ + public void setDateAcct (Timestamp DateAcct) + { + set_Value (COLUMNNAME_DateAcct, DateAcct); + } + + /** Get Account Date. + @return Accounting Date + */ + public Timestamp getDateAcct () + { + return (Timestamp)get_Value(COLUMNNAME_DateAcct); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** Set Import Error Message. + @param I_ErrorMsg + Messages generated from import process + */ + public void setI_ErrorMsg (String I_ErrorMsg) + { + set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); + } + + /** Get Import Error Message. + @return Messages generated from import process + */ + public String getI_ErrorMsg () + { + return (String)get_Value(COLUMNNAME_I_ErrorMsg); + } + + /** Set Imported Fixed Asset. + @param I_FixedAsset_ID Imported Fixed Asset */ + public void setI_FixedAsset_ID (int I_FixedAsset_ID) + { + if (I_FixedAsset_ID < 1) + set_ValueNoCheck (COLUMNNAME_I_FixedAsset_ID, null); + else + set_ValueNoCheck (COLUMNNAME_I_FixedAsset_ID, Integer.valueOf(I_FixedAsset_ID)); + } + + /** Get Imported Fixed Asset. + @return Imported Fixed Asset */ + public int getI_FixedAsset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_I_FixedAsset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Imported. + @param I_IsImported + Has this import been processed + */ + public void setI_IsImported (boolean I_IsImported) + { + set_Value (COLUMNNAME_I_IsImported, Boolean.valueOf(I_IsImported)); + } + + /** Get Imported. + @return Has this import been processed + */ + public boolean isI_IsImported () + { + Object oo = get_Value(COLUMNNAME_I_IsImported); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Inventory No. + @param InventoryNo Inventory No */ + public void setInventoryNo (String InventoryNo) + { + set_Value (COLUMNNAME_InventoryNo, InventoryNo); + } + + /** Get Inventory No. + @return Inventory No */ + public String getInventoryNo () + { + return (String)get_Value(COLUMNNAME_InventoryNo); + } + + /** Set Locator Key. + @param LocatorValue + Key of the Warehouse Locator + */ + public void setLocatorValue (String LocatorValue) + { + set_Value (COLUMNNAME_LocatorValue, LocatorValue); + } + + /** Get Locator Key. + @return Key of the Warehouse Locator + */ + public String getLocatorValue () + { + return (String)get_Value(COLUMNNAME_LocatorValue); + } + + public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException + { + return (org.compiere.model.I_M_Locator)MTable.get(getCtx(), org.compiere.model.I_M_Locator.Table_Name) + .getPO(getM_Locator_ID(), get_TrxName()); } + + /** Set Locator. + @param M_Locator_ID + Warehouse Locator + */ + public void setM_Locator_ID (int M_Locator_ID) + { + if (M_Locator_ID < 1) + set_Value (COLUMNNAME_M_Locator_ID, null); + else + set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); + } + + /** Get Locator. + @return Warehouse Locator + */ + public int getM_Locator_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException + { + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) + .getPO(getM_Product_ID(), get_TrxName()); } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + set_Value (COLUMNNAME_M_Product_ID, null); + else + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Product Key. + @param ProductValue + Key of the Product + */ + public void setProductValue (String ProductValue) + { + set_Value (COLUMNNAME_ProductValue, ProductValue); + } + + /** Get Product Key. + @return Key of the Product + */ + public String getProductValue () + { + return (String)get_Value(COLUMNNAME_ProductValue); + } + + /** Set Quantity. + @param Qty + Quantity + */ + public void setQty (BigDecimal Qty) + { + set_Value (COLUMNNAME_Qty, Qty); + } + + /** Get Quantity. + @return Quantity + */ + public BigDecimal getQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Qty); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Sequence. + @param SeqNo + Method of ordering records; lowest number comes first + */ + public void setSeqNo (int SeqNo) + { + set_Value (COLUMNNAME_SeqNo, Integer.valueOf(SeqNo)); + } + + /** Get Sequence. + @return Method of ordering records; lowest number comes first + */ + public int getSeqNo () + { + Integer ii = (Integer)get_Value(COLUMNNAME_SeqNo); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Symbol. + @param UOMSymbol + Symbol for a Unit of Measure + */ + public void setUOMSymbol (String UOMSymbol) + { + set_Value (COLUMNNAME_UOMSymbol, UOMSymbol); + } + + /** Get Symbol. + @return Symbol for a Unit of Measure + */ + public String getUOMSymbol () + { + return (String)get_Value(COLUMNNAME_UOMSymbol); + } + + /** Set Usable Life - Months. + @param UseLifeMonths + Months of the usable life of the asset + */ + public void setUseLifeMonths (int UseLifeMonths) + { + set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths)); + } + + /** Get Usable Life - Months. + @return Months of the usable life of the asset + */ + public int getUseLifeMonths () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Use Life - Months (fiscal). + @param UseLifeMonths_F Use Life - Months (fiscal) */ + public void setUseLifeMonths_F (int UseLifeMonths_F) + { + set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F)); + } + + /** Get Use Life - Months (fiscal). + @return Use Life - Months (fiscal) */ + public int getUseLifeMonths_F () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F); + if (ii == null) + return 0; + return ii.intValue(); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product.java b/org.adempiere.base/src/org/compiere/model/X_M_Product.java index 6497646a53..24f9bfe4d9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product.java @@ -33,7 +33,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent /** * */ - private static final long serialVersionUID = 20120821L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_M_Product (Properties ctx, int M_Product_ID, String trxName) @@ -1099,6 +1099,8 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public static final String PRODUCTTYPE_ExpenseType = "E"; /** Online = O */ public static final String PRODUCTTYPE_Online = "O"; + /** Asset = A */ + public static final String PRODUCTTYPE_Asset = "A"; /** Set Product Type. @param ProductType Type of product diff --git a/org.adempiere.base.process/src/org/compiere/process/ProjectClose.java b/org.adempiere.base/src/org/compiere/process/ProjectClose.java similarity index 100% rename from org.adempiere.base.process/src/org/compiere/process/ProjectClose.java rename to org.adempiere.base/src/org/compiere/process/ProjectClose.java diff --git a/org.adempiere.base/src/org/compiere/util/ArhRuntimeException.java b/org.adempiere.base/src/org/compiere/util/ArhRuntimeException.java new file mode 100644 index 0000000000..a1dc5c4978 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/util/ArhRuntimeException.java @@ -0,0 +1,186 @@ +/** + * + */ +package org.compiere.util; + +import java.sql.Timestamp; +import java.text.SimpleDateFormat; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; + +/** + * Arhipac Runtime exception + * @author Teo_Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class ArhRuntimeException + extends AdempiereException +{ + /** + * + */ + private static final long serialVersionUID = -100343773302909791L; + /** Additional attributes */ + private HashMap m_info = new HashMap(); + + /** + * Default Constructor (logger error will be used as message) + */ + public ArhRuntimeException() { + super(); + } + + /** + * Constructor + * @param message error message or "" if you don't need a message + */ + public ArhRuntimeException(String message) { + super(message); + } + + /** + * Constructor + * @param ctx + * @param message + */ + public ArhRuntimeException(Properties ctx, String message) { + this(message); + } + + /** + * @param cause + */ + public ArhRuntimeException(Throwable cause) { + super(cause); + } + + /** + * @param message + * @param cause + */ + public ArhRuntimeException(String message, Throwable cause) { + super(message, cause); + } + + /* (non-Javadoc) + * @see java.lang.Throwable#getLocalizedMessage() + */ + + public String getLocalizedMessage() { + StringBuffer sb = new StringBuffer(); + Properties ctx = Env.getCtx(); + // Message + String msg = getMessage(); + if (msg != null && msg.length() > 0) { + sb.append(Msg.parseTranslation(ctx, msg)); + } + else { + msg = null; + } + // Additional info: + if (m_info.size() > 0) { + Iterator it = m_info.keySet().iterator(); + int cnt = 0; + while(it.hasNext()) { + String name = it.next(); + Object value = m_info.get(name); + if (cnt == 0) { + if (msg != null) + sb.append(" ("); + } + else { + sb.append(", "); + } + sb.append(Msg.parseTranslation(ctx, name)); + String svalue = getStringValue(value); + if (value != null && svalue.length() > 0) + sb.append(" ").append(svalue); + cnt++; + } + if (cnt > 0 && msg != null) { + sb.append(")"); + } + } + // + return sb.toString(); + } + + /** + * Save error + */ + public void saveError(CLogger log) { + log.saveError("Error", getLocalizedMessage()); + } + + /** + * + */ + public ArhRuntimeException addInfo(String name, boolean value) { + return addInfo(name, Boolean.valueOf(value)); + } + + /** + * + */ + public ArhRuntimeException addInfo(String name) { + return addInfo(name, ""); + } + + /** + * + */ + public ArhRuntimeException addInfo(String name, Object value) { + if (name == null) + return this; + m_info.put(name, value); + return this; + } + + public ArhRuntimeException addField(String fieldName, Object value) { + addInfo("@" + fieldName + "@ =", value); + return this; + } + + /** + * + */ + public boolean hasInfo() { + return !m_info.isEmpty(); + } + + /** + * Translated string representation of the provided value + * @param value + * @return + */ + private String getStringValue(Object value) { + String svalue = null; + if (value == null) { + svalue = "-"; + } + else if (value instanceof Boolean) { + svalue = Msg.getMsg(Env.getCtx(), ((Boolean)value).booleanValue() ? "Yes" : "No"); + } + else if (value instanceof Timestamp) { + SimpleDateFormat df = DisplayType.getDateFormat(); + svalue = df.format((Timestamp)value); + } + else { + svalue = value.toString(); + } + return svalue; + } + + /* (non-Javadoc) + * @see java.lang.Throwable#toString() + */ + + public String toString() { + return getLocalizedMessage(); + } + + +} diff --git a/org.adempiere.base/src/org/compiere/util/TimeUtil.java b/org.adempiere.base/src/org/compiere/util/TimeUtil.java index 829786eec3..0e4156905e 100644 --- a/org.adempiere.base/src/org/compiere/util/TimeUtil.java +++ b/org.adempiere.base/src/org/compiere/util/TimeUtil.java @@ -1,5 +1,5 @@ /****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * + * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * * under the terms version 2 of the GNU General Public License as published * @@ -728,4 +728,72 @@ public class TimeUtil System.out.println(isSameDay(t3, t5) + " == false"); } // main +// ARHIPAC: TEO: ADDITION ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + /** + * [ ARHIPAC ] Gets calendar instance of given date + * @param date calendar initialization date; if null, the current date is used + * @return calendar + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ + static public Calendar getCalendar(Timestamp date) + { + GregorianCalendar cal = new GregorianCalendar(Language.getLoginLanguage().getLocale()); + if (date != null) { + cal.setTimeInMillis(date.getTime()); + } + return cal; + } + + /** + * [ ARHIPAC ] Get first date in month + * @param day day; if null current time will be used + * @return first day of the month (time will be 00:00) + */ + static public Timestamp getMonthFirstDay (Timestamp day) + { + if (day == null) + day = new Timestamp(System.currentTimeMillis()); + Calendar cal = getCalendar(day); + cal.setTimeInMillis(day.getTime()); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + // + cal.set(Calendar.DAY_OF_MONTH, 1); // first + return new Timestamp (cal.getTimeInMillis()); + } // getMonthFirstDay + + /** + * [ ARHIPAC ] Return Day + offset (truncates) + * @param day Day; if null current time will be used + * @param offset months offset + * @return Day + offset (time will be 00:00) + * @return Teo Sarca, SC ARHIPAC SERVICE SRL + */ + static public Timestamp addMonths (Timestamp day, int offset) + { + if (day == null) + day = new Timestamp(System.currentTimeMillis()); + // + GregorianCalendar cal = new GregorianCalendar(); + cal.setTime(day); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + if (offset == 0) + return new Timestamp (cal.getTimeInMillis()); + cal.add(Calendar.MONTH, offset); + return new Timestamp (cal.getTimeInMillis()); + } // addMonths + + public static int getMonthsBetween (Timestamp start, Timestamp end) + { + Calendar startCal = getCalendar(start); + Calendar endCal = getCalendar(end); + // + return endCal.get(Calendar.YEAR) * 12 + endCal.get(Calendar.MONTH) + - (startCal.get(Calendar.YEAR) * 12 + startCal.get(Calendar.MONTH)); + } } // TimeUtil diff --git a/org.adempiere.base/src/org/idempiere/exceptions/NoCurrencyConversionException.java b/org.adempiere.base/src/org/idempiere/exceptions/NoCurrencyConversionException.java new file mode 100644 index 0000000000..4327b4bd31 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/exceptions/NoCurrencyConversionException.java @@ -0,0 +1,86 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2008 SC ARHIPAC SERVICE SRL. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.idempiere.exceptions; + +import java.sql.Timestamp; +import java.text.DateFormat; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MConversionType; +import org.compiere.model.MCurrency; +import org.compiere.util.DB; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; + +/** + * Any exception that occurs when no currency conversion rate was found + * @author Teo Sarca, http://www.arhipac.ro + */ +public class NoCurrencyConversionException extends AdempiereException +{ + private static final long serialVersionUID = 1L; + + /** + * + * @param C_Currency_ID + * @param C_Currency_ID_To + * @param ConvDate + * @param C_ConversionType_ID + * @param AD_Client_ID + * @param AD_Org_ID + */ + public NoCurrencyConversionException (int C_Currency_ID, int C_Currency_ID_To, + Timestamp ConvDate, + int C_ConversionType_ID, + int AD_Client_ID, int AD_Org_ID) + { + super(buildMessage(C_Currency_ID, C_Currency_ID_To, + ConvDate, + C_ConversionType_ID, + AD_Client_ID, AD_Org_ID)); + } + + private static final String buildMessage(int C_Currency_ID, int C_Currency_ID_To, + Timestamp ConvDate, + int C_ConversionType_ID, + int AD_Client_ID, int AD_Org_ID) + { + DateFormat df = DisplayType.getDateFormat(DisplayType.Date); + + StringBuffer sb = new StringBuffer("@NoCurrencyConversion@ ") + .append(MCurrency.getISO_Code(Env.getCtx(), C_Currency_ID)) + .append("->") + .append(MCurrency.getISO_Code(Env.getCtx(), C_Currency_ID_To)); + // + sb.append(", @Date@: "); + if (ConvDate != null) + sb.append(df.format(ConvDate)); + else + sb.append("*"); + // + sb.append(", @C_ConversionType_ID@: "); + if (C_ConversionType_ID > 0) + { + final String sql = "SELECT "+MConversionType.COLUMNNAME_Name+" FROM "+MConversionType.Table_Name + +" WHERE "+MConversionType.COLUMNNAME_C_ConversionType_ID+"=?"; + String name = DB.getSQLValueString(null, sql, C_ConversionType_ID); + sb.append(name); + } + else + { + sb.append("*"); + } + return sb.toString(); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetAlreadyDepreciatedException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetAlreadyDepreciatedException.java new file mode 100644 index 0000000000..09a7a34ea6 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetAlreadyDepreciatedException.java @@ -0,0 +1,20 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + + +/** + * Asset is already depreciated and this is an issue for the action that invoked this exception + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetAlreadyDepreciatedException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetAlreadyDepreciatedException() + { + super("@AssetAlreadyDepreciated@"); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetArrayException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetArrayException.java new file mode 100644 index 0000000000..aa21a23a08 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetArrayException.java @@ -0,0 +1,33 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +import java.util.List; + +/** + * @author Teo Sarca, www.arhipac.ro + * + */ +public class AssetArrayException extends AssetException +{ + /** + * + */ + private static final long serialVersionUID = -6145405299338077726L; + + public AssetArrayException(List errors) + { + super(buildMessage(errors)); + } + + private static String buildMessage(List errors) + { + StringBuffer sb = new StringBuffer("The following errors were encountered: "); // TODO: translate + for (Exception e : errors) + { + sb.append("\n"+e.getLocalizedMessage()); + } + return sb.toString(); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetCheckDocumentException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetCheckDocumentException.java new file mode 100644 index 0000000000..3b87d551ff --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetCheckDocumentException.java @@ -0,0 +1,19 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetCheckDocumentException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetCheckDocumentException(String additionalMessage) + { + super ("@CheckDocument@ - "+additionalMessage); // TODO: AD_Message + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetException.java new file mode 100644 index 0000000000..fb0f6c2619 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetException.java @@ -0,0 +1,35 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +import org.adempiere.exceptions.AdempiereException; + +/** + * Asset Related General Exception. This is the root of all Asset Related Exceptions. + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class AssetException extends AdempiereException +{ + private static final long serialVersionUID = 1L; + + public AssetException() + { + super(); + } + + public AssetException(String message) + { + super(message); + } + + public AssetException(Throwable cause) + { + super(cause); + } + + public AssetException(String message, Throwable cause) + { + super(message, cause); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvalidTransitionException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvalidTransitionException.java new file mode 100644 index 0000000000..055bf78436 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvalidTransitionException.java @@ -0,0 +1,40 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +import org.compiere.model.MAsset; +import org.compiere.model.MRefList; + + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetInvalidTransitionException extends AssetException +{ + /** + * + */ + private static final long serialVersionUID = -4356632909207763285L; + + private String oldStatus = null; + private String newStatus = null; + + public AssetInvalidTransitionException(String oldStatus, String newStatus) + { + super("@AssetInvalidTransition@ @"+oldStatus+"@ -> @"+newStatus+"@"); + this.oldStatus = oldStatus; + this.newStatus = newStatus; + } + + + public String getLocalizedMessage() + { + String msg = super.getLocalizedMessage(); + return msg.replace("@"+this.oldStatus+"@", MRefList.getListName(getCtx(), MAsset.A_ASSET_STATUS_AD_Reference_ID, this.oldStatus)) + .replace("@"+this.newStatus+"@",MRefList.getListName(getCtx(), MAsset.A_ASSET_STATUS_AD_Reference_ID, this.newStatus)); + } + + +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvoiceWithMixedLines_LRO.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvoiceWithMixedLines_LRO.java new file mode 100644 index 0000000000..6ff23f592d --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetInvoiceWithMixedLines_LRO.java @@ -0,0 +1,17 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetInvoiceWithMixedLines_LRO extends AssetException { + private static final long serialVersionUID = 1L; + + public AssetInvoiceWithMixedLines_LRO() { + super("No new bills that contain both fixed and normal products"); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotActiveException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotActiveException.java new file mode 100644 index 0000000000..f690ca11ba --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotActiveException.java @@ -0,0 +1,18 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +/** + * @author Teo Sarca, www.arhipac.ro + * + */ +public class AssetNotActiveException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetNotActiveException(int A_Asset_ID) + { + super("@AssetNotActive@ (ID="+A_Asset_ID+")"); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotImplementedException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotImplementedException.java new file mode 100644 index 0000000000..e895538d1b --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotImplementedException.java @@ -0,0 +1,20 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + + +/** + * Throwed when an asset related functionality is not yet implemented + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetNotImplementedException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetNotImplementedException(String additionalMessage) + { + super("@NotImplemented@ "+additionalMessage); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotSupportedException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotSupportedException.java new file mode 100644 index 0000000000..3486889b69 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetNotSupportedException.java @@ -0,0 +1,18 @@ +package org.idempiere.fa.exceptions; + + +/** + * Throwed when a specific functionality is not supported. + * Please don't confunde with {@link AssetNotImplementedException}. + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetNotSupportedException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetNotSupportedException (String funcName, String actualValue) + { + super("@NotSupported@ @"+funcName+"@ "+actualValue); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetProductStockedException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetProductStockedException.java new file mode 100644 index 0000000000..bf5d05f837 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetProductStockedException.java @@ -0,0 +1,20 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +import org.compiere.model.MProduct; + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class AssetProductStockedException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetProductStockedException(MProduct product) + { + super("Product "+product.getName()+" is the asset type, but is stocked!"); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetStatusChangedException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetStatusChangedException.java new file mode 100644 index 0000000000..a0580ba89c --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/AssetStatusChangedException.java @@ -0,0 +1,33 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +import org.compiere.util.Util; + +/** + * Threw when asset status has changed + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class AssetStatusChangedException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public AssetStatusChangedException() + { + this(null); + } + + public AssetStatusChangedException(String msg) + { + super(buildMsg(msg)); + } + + private static String buildMsg(String msg) + { + StringBuffer sb = new StringBuffer("@AssetStatusChanged@"); + if (!Util.isEmpty(msg)) + sb.append(" ").append(msg); + return sb.toString(); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/exceptions/DepreciationNoInPeriodException.java b/org.adempiere.base/src/org/idempiere/fa/exceptions/DepreciationNoInPeriodException.java new file mode 100644 index 0000000000..77a9f6b09c --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/exceptions/DepreciationNoInPeriodException.java @@ -0,0 +1,21 @@ +/** + * + */ +package org.idempiere.fa.exceptions; + +/** + * @author teo_sarca + * + */ +public class DepreciationNoInPeriodException extends AssetException +{ + private static final long serialVersionUID = 1L; + + public DepreciationNoInPeriodException(int A_Asset_ID, int Workfile_Period_ID, int DepExp_Period_ID) + { + super("Registration is not in balance (ID Asset="+A_Asset_ID + +", WK Period="+Workfile_Period_ID+", DepExp Period="+DepExp_Period_ID + +")"); + } + +} diff --git a/org.adempiere.base/src/org/idempiere/fa/feature/UseLife.java b/org.adempiere.base/src/org/idempiere/fa/feature/UseLife.java new file mode 100644 index 0000000000..c42d07c309 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/feature/UseLife.java @@ -0,0 +1,35 @@ +/** + * + */ +package org.idempiere.fa.feature; + +import java.sql.Timestamp; +import java.util.Properties; +import org.compiere.model.SetGetModel; + + + /** Describe Use life Feature + * @author Teo Sarca, SC Arhipac SRL + * @version $Id$ + */ + public interface UseLife extends SetGetModel { + public Properties getCtx(); + + //~ public void setUseLifeMonths(int value); + //~ public int getUseLifeMonths(); + + //~ public void setUseLifeYears(int value); + //~ public int getUseLifeYears(); + + //~ public void setUseLifeMonths_F(int value); + //~ public int getUseLifeMonths_F(); + + //~ public void setUseLifeYears_F(int value); + //~ public int getUseLifeYears_F(); + + public Timestamp getAssetServiceDate(); + + /* commented out by @win + public int getA_Asset_Class_ID(); + */ + } \ No newline at end of file diff --git a/org.adempiere.base/src/org/idempiere/fa/feature/UseLifeImpl.java b/org.adempiere.base/src/org/idempiere/fa/feature/UseLifeImpl.java new file mode 100644 index 0000000000..be12b9e4ee --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/feature/UseLifeImpl.java @@ -0,0 +1,425 @@ +/** + * + */ +package org.idempiere.fa.feature; + +import java.sql.Timestamp; +import java.util.Properties; + +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +//import org.compiere.model.MAssetClass; //commented by @win +import org.compiere.model.MAssetGroup; +import org.compiere.model.PO; +import org.compiere.model.SetGetModel; +import org.compiere.model.SetGetUtil; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.Msg; +import org.compiere.util.TimeUtil; + + + + /** + * Asset properties - classification of assets, service period, life use. + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + * @version $Id$ + */ +public class UseLifeImpl + implements UseLife +{ + private final static String FIELD_UseLifeYears = "UseLifeYears"; + private final static String FIELD_UseLifeMonths = "UseLifeMonths"; + private final static String FIELD_FiscalPostfix = "_F"; + + private SetGetModel m_obj = null; + private CLogger log = CLogger.getCLogger(getClass()); + private boolean fiscal = false; + + /** + */ + public static UseLifeImpl get(SetGetModel obj) { + return new UseLifeImpl(obj, false); + } + + /** + */ + public static UseLifeImpl get(SetGetModel obj, boolean fiscal) { + return new UseLifeImpl(obj, fiscal); + } + + /** + */ + public UseLifeImpl(SetGetModel obj, boolean fiscal) { + m_obj = obj; + this.fiscal = fiscal; + } + + /** + */ + public Properties getCtx() { + return m_obj.getCtx(); + } + + public int get_Table_ID() { + return m_obj.get_Table_ID(); + } + + public String get_TableName() { + return m_obj.get_TableName(); + } + + /** + */ + private final static String getFieldName(String fieldName, boolean fiscal) { + String field = fieldName; + if (fiscal) { + field += FIELD_FiscalPostfix; + } + return field; + } + + /** + */ + public boolean isFiscal() { + return fiscal; + } + + /** + */ + public boolean set_AttrValue(String name, Object value) { + return m_obj.set_AttrValue(name, value); + } + + /** + */ + public Object get_AttrValue(String name) { + return m_obj.get_AttrValue(name); + } + + /** + */ + public boolean is_AttrValueChanged(String name) { + return m_obj.is_AttrValueChanged(name); + } + + /** + * @return transaction name for decorated object + */ + public String get_TrxName() { + return m_obj.get_TrxName(); + } + + /** Set UseLifeMonths and UseLifeYears + * @param value use life months + */ + public void setUseLifeMonths(int value) { + if(CLogMgt.isLevelFine()) log.fine("Entering: value=" + value + ", " + this); + m_obj.set_AttrValue(getFieldName(FIELD_UseLifeMonths, fiscal), Integer.valueOf(value)); + m_obj.set_AttrValue(getFieldName(FIELD_UseLifeYears, fiscal), Integer.valueOf(value/12)); + if(CLogMgt.isLevelFine()) log.fine("Leaving: value=" + value + ", " + this); + } + + /** + * @return use life months + */ + public int getUseLifeMonths() { + Object obj = m_obj.get_AttrValue(getFieldName(FIELD_UseLifeMonths, fiscal)); + if (obj != null && obj instanceof Number) { + return ((Number)obj).intValue(); + } + return 0; + } + + /** Set UseLifeYears and UseLifeMonths + * @param value use life years + */ + public void setUseLifeYears(int value) { + if(CLogMgt.isLevelFine()) log.fine("Entering: value=" + value + ", " + this); + m_obj.set_AttrValue(getFieldName(FIELD_UseLifeYears, fiscal), Integer.valueOf(value)); + m_obj.set_AttrValue(getFieldName(FIELD_UseLifeMonths, fiscal), Integer.valueOf(value*12)); + if(CLogMgt.isLevelFine()) log.fine("Leaving: value=" + value + ", " + this); + } + + /** + * @return use life years + */ + public int getUseLifeYears() { + Object obj = m_obj.get_AttrValue(getFieldName(FIELD_UseLifeYears, fiscal)); + if (obj != null && obj instanceof Number) { + return ((Number)obj).intValue(); + } + return 0; + } + + /** + * Adjust use life years + * @param deltaUseLifeYears + * @param reset + */ + public void adjustUseLifeYears(int deltaUseLifeYears, boolean reset) + { + int uselife = (reset ? 0 : getUseLifeYears()); + int new_uselife = uselife + deltaUseLifeYears; + setUseLifeYears(new_uselife); + if(CLogMgt.isLevelFine()) + log.fine("UseLifeYears=" + uselife + ", delta=" + deltaUseLifeYears + " => new UseLifeYears=" + new_uselife + " (isFiscal=" + isFiscal() + ")"); + } + + /** + * @return Asset Service Date (PIF) + */ + public Timestamp getAssetServiceDate() { + if (m_obj instanceof UseLife) { + return ((UseLife)m_obj).getAssetServiceDate(); + } else { + Object obj = m_obj.get_AttrValue("AssetServiceDate"); + if (obj != null && obj instanceof Timestamp) { + return (Timestamp)obj; + } + } + return null; + } + + /** + * @return asset class ID + */ + /* commented out by @win + public int getA_Asset_Class_ID() + { + if (m_obj instanceof UseLife) + { + return ((UseLife)m_obj).getA_Asset_Class_ID(); + } + else + { + Object obj = m_obj.get_AttrValue("A_Asset_Class_ID"); + if (obj != null && obj instanceof Number) + { + return ((Number)obj).intValue(); + } + } + return 0; + } + */ // end comment by @win + + /** + * Copy UseLifeMonths, UseLifeMonths_F, UseLifeYears, UseLifeYears_F fields from "from" to "to" + * @param to destination model + * @param from source model + */ + public static void copyValues(PO to, PO from) { + SetGetUtil.copyValues(to, from, new String[]{"UseLifeMonths", "UseLifeYears", "UseLifeMonths_F", "UseLifeYears_F"}, null); + } + + /** Validates and corrects errors in model */ + public boolean validate() { + return validate(true); + } + + /** Validates and corrects errors in model */ + public boolean validate(boolean saveError) { + if(CLogMgt.isLevelFine()) log.fine("Entering: " + this); + + int useLifeYears = 0; + int useLifeMonths = 0; + useLifeYears = getUseLifeYears(); + useLifeMonths = getUseLifeMonths(); + + if (useLifeMonths == 0) { + useLifeMonths = useLifeYears * 12; + } + if (useLifeMonths % 12 != 0) { + if(saveError) log.saveError("Error", "@Invalid@ @UseLifeMonths@=" + useLifeMonths + "(@Diff@=" + (useLifeMonths % 12) + ")" ); + return false; + } + if (useLifeYears == 0) { + useLifeYears = (int)(useLifeMonths / 12); + } + /* commented out by @win + int A_Asset_Class_ID = getA_Asset_Class_ID(); + if (A_Asset_Class_ID > 0 && (useLifeMonths == 0 || useLifeYears == 0)) { + if(saveError) log.saveError("Error", "@Invalid@ @UseLifeMonths@=" + useLifeMonths + ", @UseLifeYears@=" + useLifeYears); + return false; + } + */ //commented out by @win + + setUseLifeMonths(useLifeMonths); + setUseLifeYears(useLifeYears); + + /* commented by @win + MAssetClass assetClass = MAssetClass.get(getCtx(), A_Asset_Class_ID); + if (assetClass != null && !assetClass.validate(this)) { + log.fine("Leaving [RETURN FALSE]"); + return false; + } + */ //end comment by @win + + log.fine("Leaving [RETURN TRUE]"); + return true; + } + + /** String representation (intern) + */ + public String toString() + { + return + "UseLifeImpl[UseLife=" + getUseLifeYears() + "|" + getUseLifeMonths() + + ", isFiscal=" + isFiscal() + + ", AssetServiceDate=" + getAssetServiceDate() + //+ ", A_Asset_Class=" + getA_Asset_Class_ID() //commented by @win + + ", m_obj=" + m_obj + + "]" + ; + } + + /** Calculate date accounting for = assetServiceDate + A_Current_Period + * @param assetServiceDate data PIF + * @param A_Current_Period (displacement) + * @return assetServiceDate + A_Current_Period + */ + public static Timestamp getDateAcct(Timestamp assetServiceDate, int A_Current_Period) { + if (assetServiceDate == null) + return null; + return TimeUtil.addMonths(assetServiceDate, A_Current_Period); + } + + + + /** + * Callout Class + */ + public static class Callout extends org.compiere.model.CalloutEngine { + /** */ + private String validate(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + /* commented out by @win + Integer A_Asset_Class_ID = (Integer)mTab.getValue("A_Asset_Class_ID"); + if (A_Asset_Class_ID == null || A_Asset_Class_ID == 0) { + return NO_ERROR; + } + */ //end commented by @win + Timestamp AssetServiceDate = (Timestamp)mTab.getValue("AssetServiceDate"); + if (AssetServiceDate == null) { + return NO_ERROR; + } + /* commented out by @win + MAssetClass assetClass = MAssetClass.get(ctx, A_Asset_Class_ID); + if (assetClass == null) { + return NO_ERROR; + } + */ // end comment by @win + + Integer UseLifeMonths = (Integer)mTab.getValue("UseLifeMonths"); + if (UseLifeMonths == null) { + UseLifeMonths = 0; + } + /* commented out by @win + String errmsg = assetClass.validate(false, UseLifeMonths, AssetServiceDate); + if(CLogMgt.isLevelFine()) log.fine("assetClass=" + assetClass + ", UseLifeMonths=" + UseLifeMonths + ", AssetServiceDate=" + AssetServiceDate + ", errmsg=" + errmsg); + return errmsg; + */ // end comment by @win + return NO_ERROR; //added by @win + } + + /** */ + public String assetServiceDate(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive() || value == null) { + return NO_ERROR; + } + return validate(ctx, WindowNo, mTab, mField, value, oldValue); + } + + /** */ + public String useLife(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive()) { + return NO_ERROR; + } + + String sufix = ""; + int ivalue = 0; + int UseLifeYears = 0; + int UseLifeMonths = 0; + String errmsg = ""; + if (value != null) { + ivalue = ((Integer)value).intValue(); + } + + String columnName = mField.getColumnName().toUpperCase(); + if (columnName.endsWith(FIELD_FiscalPostfix)) { + sufix = FIELD_FiscalPostfix; + columnName = columnName.substring(0, columnName.length() - FIELD_FiscalPostfix.length()); + } + + if (columnName.equalsIgnoreCase("UseLifeMonths")) { + //~ UseLifeMonths = ivalue; + if (ivalue % 12 != 0) { + errmsg = "@Invalid@ @UseLifeMonths " + sufix + "@=" + ivalue; + } else { + UseLifeYears = (int)(ivalue / 12); + mTab.setValue("UseLifeYears" + sufix, Integer.valueOf(UseLifeYears)); + } + } + else if (columnName.equalsIgnoreCase("UseLifeYears")) { + UseLifeMonths = ivalue * 12; + //~ UseLifeYears = ivalue; + mTab.setValue("UseLifeMonths" + sufix, Integer.valueOf(UseLifeMonths)); + } + + if (errmsg.length() > 0) { + errmsg = Msg.parseTranslation(ctx, errmsg); + } + return errmsg; + } + + /** + */ + public String assetGroup(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive()) { + return NO_ERROR; + } + + int A_Asset_Group_ID = -1; + if (value != null && value instanceof Number) { + A_Asset_Group_ID = ((Number)value).intValue(); + } + MAssetGroup.updateAsset(SetGetUtil.wrap(mTab), A_Asset_Group_ID); + return NO_ERROR; + } + + /** */ + /* commented by @win + public String assetClass(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive()) { + return NO_ERROR; + } + + String errmsg = NO_ERROR; + int A_Asset_Class_ID = -1; + String columnName = mField.getColumnName(); + if(CLogMgt.isLevelFine()) log.fine("Entering: columnName: " + columnName + ", value=" + value); + + if (value != null && value instanceof Number) { + A_Asset_Class_ID = ((Number)value).intValue(); + } + if(CLogMgt.isLevelFine()) log.fine("A_Asset_Class_ID=" + A_Asset_Class_ID); + + if (A_Asset_Class_ID > 0) { + MAssetClass assetClass = MAssetClass.get(ctx, A_Asset_Class_ID); + Integer UseLifeMonths = (Integer)mTab.getValue("UseLifeMonths_F"); + Timestamp AssetServiceDate = (Timestamp)mTab.getValue("AssetServiceDate"); + if (UseLifeMonths == null || UseLifeMonths == 0) { + UseLifeMonths = assetClass.getA_Life_Period_Min(AssetServiceDate); + mTab.setValue("UseLifeMonths", UseLifeMonths); + } + else { + errmsg = assetClass.validate(false, UseLifeMonths, AssetServiceDate); + } + if(CLogMgt.isLevelFine()) log.fine("assetClass=" + assetClass + ", UseLifeMonths=" + UseLifeMonths + ", AssetServiceDate=" + AssetServiceDate + ", errmsg=" + errmsg); + } + + if(CLogMgt.isLevelFine()) log.fine("Leaving: errmsg=" + errmsg); + return errmsg; + } + */ // end commented by @win + } // class Callout + } \ No newline at end of file diff --git a/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Addition.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Addition.java new file mode 100644 index 0000000000..54a5461d08 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Addition.java @@ -0,0 +1,131 @@ +package org.idempiere.fa.model; + +import java.math.BigDecimal; +import java.util.Properties; + +import org.adempiere.model.GridTabWrapper; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.I_A_Asset_Addition; +import org.compiere.model.MAsset; +import org.compiere.model.MAssetAddition; +import org.compiere.model.MConversionRateUtil; +import org.compiere.model.MProject; +import org.compiere.model.SetGetUtil; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; + + +/** + * @author Teo Sarca, http://www.arhipac.ro + */ +public class CalloutA_Asset_Addition extends CalloutEngine +{ + public String matchInv(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive() || value == null) + return ""; + + int M_MatchInv_ID = ((Number)value).intValue(); + if (M_MatchInv_ID > 0) + { + MAssetAddition.setM_MatchInv(SetGetUtil.wrap(mTab), M_MatchInv_ID); + } + // + return amt(ctx, WindowNo, mTab, mField, value); + } + + public String project(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + return ""; + // + int project_id = 0; + if (value != null && value instanceof Number) + project_id = ((Number)value).intValue(); + else + return ""; + // + BigDecimal amt = Env.ZERO; + if (project_id > 0) { + MProject prj = new MProject(ctx, project_id, null); + amt = prj.getProjectBalanceAmt(); + mTab.setValue(MAssetAddition.COLUMNNAME_C_Currency_ID, prj.getC_Currency_ID()); + } + mTab.setValue(MAssetAddition.COLUMNNAME_AssetSourceAmt, amt); + return amt(ctx, WindowNo, mTab, mField, value); + } + + public String amt(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + return ""; + // + String columnName = mField.getColumnName(); + if (MAssetAddition.COLUMNNAME_A_Accumulated_Depr.equals(columnName)) + { + mTab.setValue(MAssetAddition.COLUMNNAME_A_Accumulated_Depr_F, value); + } + else + { + BigDecimal amtEntered = (BigDecimal) mTab.getValue(MAssetAddition.COLUMNNAME_AssetAmtEntered); + mTab.setValue(MAssetAddition.COLUMNNAME_AssetSourceAmt, amtEntered); + MConversionRateUtil.convertBase(SetGetUtil.wrap(mTab), + MAssetAddition.COLUMNNAME_DateAcct, + MAssetAddition.COLUMNNAME_AssetSourceAmt, + MAssetAddition.COLUMNNAME_AssetValueAmt, + mField.getColumnName()); + } + // + return ""; + } + + public String dateDoc(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive() || value == null) + return ""; + + mTab.setValue(MAssetAddition.COLUMNNAME_DateAcct, value); + return ""; + } + + public String uselife(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (MAssetAddition.COLUMNNAME_DeltaUseLifeYears.equals(mField.getColumnName())) + { + mTab.setValue(MAssetAddition.COLUMNNAME_DeltaUseLifeYears_F, value); + } + return ""; + } + + + public String periodOffset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + I_A_Asset_Addition aa = GridTabWrapper.create(mTab, I_A_Asset_Addition.class); + if (!aa.isA_Accumulated_Depr_Adjust()) + { + return ""; + } + + int periods = TimeUtil.getMonthsBetween(aa.getDateDoc(), aa.getDateAcct()); + if (periods <= 0) + { + return ""; + } + + int uselifeMonths = aa.getDeltaUseLifeYears() * 12; + if (uselifeMonths == 0) + { + return ""; + } + double monthlyExpenseSL = aa.getAssetValueAmt().doubleValue() / uselifeMonths * periods; + + aa.setA_Period_Start(periods + 1); + aa.setA_Accumulated_Depr(BigDecimal.valueOf(monthlyExpenseSL)); + aa.setA_Accumulated_Depr_F(BigDecimal.valueOf(monthlyExpenseSL)); + + return ""; + } + +} diff --git a/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Disposed.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Disposed.java new file mode 100644 index 0000000000..53ff8a47bd --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Disposed.java @@ -0,0 +1,86 @@ +/** + * + */ +package org.idempiere.fa.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import java.util.Properties; + +import org.adempiere.model.GridTabWrapper; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.I_A_Asset_Disposed; +import org.compiere.model.MAssetDisposed; +import org.compiere.util.Env; + + + +/** + * + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class CalloutA_Asset_Disposed extends CalloutEngine +{ + public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + I_A_Asset_Disposed bean = GridTabWrapper.create(mTab, I_A_Asset_Disposed.class); + MAssetDisposed.updateFromAsset(bean); + bean.setA_Disposal_Amt(bean.getA_Asset_Cost().subtract(bean.getA_Accumulated_Depr())); + // + return ""; + } + + public String date(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + { + return ""; + } + String columnName = mField.getColumnName(); + // + if (MAssetDisposed.COLUMNNAME_DateDoc.equals(columnName)) + { + I_A_Asset_Disposed bean = GridTabWrapper.create(mTab, I_A_Asset_Disposed.class); + Timestamp dateDoc = (Timestamp)value; + bean.setDateAcct(dateDoc); + bean.setA_Disposed_Date(dateDoc); + } + // + return ""; + } + + public String amt(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + String columnName = mField.getColumnName(); + + I_A_Asset_Disposed bean = GridTabWrapper.create(mTab, I_A_Asset_Disposed.class); + // + int asset_id = bean.getA_Asset_ID(); + if (asset_id <= 0) + { + bean.setA_Disposal_Amt(Env.ZERO); + bean.setA_Accumulated_Depr_Delta(Env.ZERO); + bean.setExpense(Env.ZERO); + } + else if (MAssetDisposed.COLUMNNAME_A_Disposal_Amt.equals(columnName)) + { + MAssetDisposed.setA_Disposal_Amt(bean); + } + else if (MAssetDisposed.COLUMNNAME_Expense.equals(columnName)) + { + BigDecimal disposalAmt = bean.getA_Disposal_Amt(); + BigDecimal expenseAmt = bean.getExpense(); + bean.setA_Accumulated_Depr_Delta(disposalAmt.subtract(expenseAmt)); + } + else if (MAssetDisposed.COLUMNNAME_A_Accumulated_Depr.equals(columnName)) + { + BigDecimal disposalAmt = bean.getA_Disposal_Amt(); + BigDecimal accumDepr = bean.getA_Accumulated_Depr_Delta(); + bean.setExpense(disposalAmt.subtract(accumDepr)); + } + return ""; + } + +} diff --git a/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Reval.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Reval.java new file mode 100644 index 0000000000..5e9b388172 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Reval.java @@ -0,0 +1,56 @@ +/** + * + */ +package org.idempiere.fa.model; + +import java.util.Properties; + +import org.adempiere.model.GridTabWrapper; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.I_A_Asset_Reval; +import org.compiere.model.MAssetReval; +import org.compiere.model.MDepreciationWorkfile; + + +/** + * @author Anca Bradau www.arhipac.ro + * + */ +public class CalloutA_Asset_Reval extends CalloutEngine +{ + public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + return ""; + // + I_A_Asset_Reval model = GridTabWrapper.create(mTab, I_A_Asset_Reval.class); + if (model.getA_Asset_ID() <= 0) + { + return ""; + } + MDepreciationWorkfile amount = MDepreciationWorkfile.get(ctx, model.getA_Asset_ID(), model.getPostingType(), null); + if (amount == null) + { + return "@NotFound@ @A_Asset_ID@"; + } + // + model.setA_Asset_Cost(amount.getA_Asset_Cost()); + model.setA_Asset_Cost_Change(amount.getA_Asset_Cost()); + + model.setA_Accumulated_Depr(amount.getA_Accumulated_Depr()); + model.setA_Change_Acumulated_Depr(amount.getA_Accumulated_Depr()); + + return ""; + } + public String dateDoc(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive() || value == null) + return ""; + + mTab.setValue(MAssetReval.COLUMNNAME_DateAcct, value); + return ""; + } +} + diff --git a/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Transfer.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Transfer.java new file mode 100644 index 0000000000..01bcade2ab --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Asset_Transfer.java @@ -0,0 +1,72 @@ +/** + * + */ +package org.idempiere.fa.model; + +import java.util.Properties; + +import org.adempiere.model.GridTabWrapper; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.I_A_Asset_Transfer; +import org.compiere.model.MAssetAcct; +import org.compiere.model.MAssetTransfer; + + + +/** + * @author Anca Bradau, www.arhipac.ro + * + */ +public class CalloutA_Asset_Transfer extends CalloutEngine +{ + + public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + return ""; + // + I_A_Asset_Transfer model = GridTabWrapper.create(mTab, I_A_Asset_Transfer.class); + if (model.getA_Asset_ID() <= 0) + { + return ""; + } + MAssetAcct acct = MAssetAcct.forA_Asset_ID(ctx, model.getA_Asset_ID(), model.getPostingType(), model.getDateAcct(), null); + if (acct == null) + { + return "@NotFound@ @A_Asset_Acct_ID@"; + } + // Asset Acct + model.setA_Asset_Acct(acct.getA_Asset_Acct()); + model.setA_Asset_New_Acct(acct.getA_Asset_Acct()); + + //Accumulated Depreciation Account + model.setA_Accumdepreciation_Acct(acct.getA_Accumdepreciation_Acct()); + model.setA_Accumdepreciation_New_Acct(acct.getA_Accumdepreciation_Acct()); + + //Depreciation Account + model.setA_Depreciation_Acct(acct.getA_Depreciation_Acct()); + model.setA_Depreciation_New_Acct(acct.getA_Depreciation_Acct()); + + //Disposal revenue + model.setA_Disposal_Revenue_Acct(acct.getA_Disposal_Revenue_Acct()); + model.setA_Disposal_Revenue_New_Acct(acct.getA_Disposal_Revenue_Acct()); + + //Disposal Loss Account + model.setA_Disposal_Loss_Acct(acct.getA_Disposal_Loss_Acct()); + model.setA_Disposal_Loss_New_Acct(acct.getA_Disposal_Loss_Acct()); + + + return ""; + } + public String dateDoc(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive() || value == null) + return ""; + + mTab.setValue(MAssetTransfer.COLUMNNAME_DateAcct, value); + return ""; + } +} + diff --git a/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Depreciation_Workfile.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Depreciation_Workfile.java new file mode 100644 index 0000000000..8a14e107ff --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutA_Depreciation_Workfile.java @@ -0,0 +1,58 @@ +package org.idempiere.fa.model; + +import java.math.BigDecimal; +import java.util.Properties; + +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.MDepreciationWorkfile; +import org.compiere.model.SetGetUtil; + + +/** + * @author Teo Sarca, http://www.arhipac.ro + */ +public class CalloutA_Depreciation_Workfile extends CalloutEngine +{ + public String A_Valoare_Cofinantare (Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (isCalloutActive()) + return ""; + MDepreciationWorkfile.updateFinantare(SetGetUtil.wrap(mTab), mField.getColumnName()); + return ""; + } + + public String uselifeyear(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + BigDecimal uselife = null; + if (MDepreciationWorkfile.COLUMNNAME_UseLifeYears.equals(mField.getColumnName())) + { + uselife = new BigDecimal(value.toString()).multiply(new BigDecimal(12.0)); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeYears_F, value); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeMonths, uselife); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeMonths_F, uselife); + + } else if (MDepreciationWorkfile.COLUMNNAME_UseLifeMonths.equals(mField.getColumnName())) + { + uselife = new BigDecimal(value.toString()).divide(new BigDecimal(12.0)); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeYears, uselife); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeYears_F, uselife); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeMonths_F, value); + + } else if (MDepreciationWorkfile.COLUMNNAME_UseLifeYears_F.equals(mField.getColumnName())) + { + uselife = new BigDecimal(value.toString()).multiply(new BigDecimal(12.0)); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeMonths_F, uselife); + + } else if (MDepreciationWorkfile.COLUMNNAME_UseLifeMonths_F.equals(mField.getColumnName())) + { + uselife = new BigDecimal(value.toString()).divide(new BigDecimal(12.0)); + mTab.setValue(MDepreciationWorkfile.COLUMNNAME_UseLifeYears_F, uselife); + + } + return ""; + + } + +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/FA/CalloutFA.java b/org.adempiere.base/src/org/idempiere/fa/model/CalloutAsset.java similarity index 56% rename from org.adempiere.base/src/org/compiere/FA/CalloutFA.java rename to org.adempiere.base/src/org/idempiere/fa/model/CalloutAsset.java index a06a070350..4632f2eb72 100644 --- a/org.adempiere.base/src/org/compiere/FA/CalloutFA.java +++ b/org.adempiere.base/src/org/idempiere/fa/model/CalloutAsset.java @@ -1,145 +1,196 @@ -/****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * - * Copyright (C) 2005 Robert KLEIN. robeklein@gmail.com * - * Contributor(s): ______________________________________. - *****************************************************************************/ -package org.compiere.FA; - -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.util.Properties; - -import org.compiere.model.CalloutEngine; -import org.compiere.model.GridField; -import org.compiere.model.GridTab; -import org.compiere.util.DB; -import org.compiere.util.Env; - -/** - * FA Callout. - * - * @author Rob Klein - * @version $Id: CalloutFA.java,v 1.0 $ - */ -public class CalloutFA extends CalloutEngine -{ - - /** - * Table_Period. Used to set the Manual Period Field. This allows - * the Spread Field to be displayed when there is a code that - * has been setup as Yearly. - * The string in the Callout field is: - * com.compiere.custom.CalloutEngine.Table_Period - * - * @param ctx Context - * @param WindowNo current Window No - * @param mTab Model Tab - * @param mField Model Field - * @param value The new value - * @param oldValue The old value - * @return error message or "" if OK - */ - public String Table_Period (Properties ctx, int WindowNo, - GridTab mTab, GridField mField, Object value, Object oldValue) - { - Integer A_Depreciation_Table_Header_ID = (Integer)value; - - try - { - if (A_Depreciation_Table_Header_ID != null){ - String SQL = "SELECT A_Term " - + "FROM A_Depreciation_Table_Header " - + "WHERE A_Depreciation_Table_Header_ID='" - +A_Depreciation_Table_Header_ID - +"'"; - - PreparedStatement pstmt = DB.prepareStatement(SQL,null); - ResultSet rs = pstmt.executeQuery(); - if (rs.next()) - { -// Charges - Set Context - Env.setContext(ctx, WindowNo, "A_DEPRECIATION_MANUAL_PERIOD", rs.getString("A_Term")); - mTab.setValue ("A_DEPRECIATION_MANUAL_PERIOD", rs.getString("A_Term")); - - } - rs.close(); - pstmt.close(); - } - } - catch (SQLException e) - { - log.info("PeriodType "+ e); - return e.getLocalizedMessage(); - } - return ""; - } // Period Type - - /** - * Field_Clear. Used to set the Manual Period Field. This allows - * the Spread Field to be displayed when there is a code that - * has been setup as Yearly. - * The string in the Callout field is: - * com.compiere.custom.CalloutEngine.Table_Period - * - * @param ctx Context - * @param WindowNo current Window No - * @param mTab Model Tab - * @param mField Model Field - * @param value The new value - * @param oldValue The old value - * @return error message or "" if OK - */ - public String Field_Clear (Properties ctx, int WindowNo, - GridTab mTab, GridField mField, Object value, Object oldValue) - { - Object A_Depreciation_ID = value; - - try - { - String SQL = "SELECT DepreciationType " - + "FROM A_Depreciation " - + "WHERE A_Depreciation_ID=" - + A_Depreciation_ID; - - PreparedStatement pstmt = DB.prepareStatement(SQL,null); - ResultSet rs = pstmt.executeQuery(); - if (rs.next()) - { -// Charges - Set Context - if ( (!rs.getString("DepreciationType").equals("TAB")) || (!rs.getString("DepreciationType").equals("MAN")) ) - { - Env.setContext(ctx, WindowNo, "A_DEPRECIATION_MANUAL_PERIOD", ""); - //mTab.setValue ("A_Depreciation_Manual_Period", null); - mTab.setValue ("A_Depreciation_Manual_Amount", null); - mTab.setValue ("A_Depreciation_Table_Header_ID", null); - } - if (rs.getString("DepreciationType").equals("TAB")) - { - mTab.setValue ("A_Depreciation_Manual_Amount", null); - } - if (rs.getString("DepreciationType").equals("MAN")) - { - mTab.setValue ("A_Depreciation_Table_Header_ID", null); - } - } - rs.close(); - pstmt.close(); - } - catch (SQLException e) - { - log.info("PeriodType "+ e); - return e.getLocalizedMessage(); - } - return ""; - } // Period Type - -} // CalloutFA +/** + * + */ +package org.idempiere.fa.model; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Properties; + +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.MAsset; +import org.compiere.util.DB; +import org.compiere.util.Env; + +/** + * @category STUB for upgrading to 361 + * + */ +public class CalloutAsset extends CalloutEngine { + + public String location (Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) + { + Integer locator = (Integer)value; + if (locator == null || locator <= 0) + return ""; + if (isCalloutActive()) + return ""; + // + //TODO - found missing but MAsset table is asking for this in 3 location fields. + // + return ""; + } + public String locator (Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) + + { + Integer locator = (Integer)value; + if (locator == null || locator <= 0) + return ""; + if (isCalloutActive()) + return ""; + // + //TODO - found missing but MAsset table is asking for this in 3 location fields. + // + return ""; + } + + + public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) + { + if (MAsset.COLUMNNAME_A_Asset_ID.equals(mField.getColumnName())) + { + MAsset asset = new MAsset(ctx, (Integer) value, null); + mTab.setValue(MAsset.COLUMNNAME_M_Product_ID, asset.getM_Product_ID()); + } + + return ""; + + } + + + /** + * Table_Period. Used to set the Manual Period Field. This allows + * the Spread Field to be displayed when there is a code that + * has been setup as Yearly. + * The string in the Callout field is: + * com.compiere.custom.CalloutEngine.Table_Period + * + * @param ctx Context + * @param WindowNo current Window No + * @param mTab Model Tab + * @param mField Model Field + * @param value The new value + * @param oldValue The old value + * @return error message or "" if OK + */ + public String Table_Period (Properties ctx, int WindowNo, + GridTab mTab, GridField mField, Object value, Object oldValue) + { + Integer A_Depreciation_Table_Header_ID = (Integer)value; + + try + { + if (A_Depreciation_Table_Header_ID != null){ + String SQL = "SELECT A_Term " + + "FROM A_Depreciation_Table_Header " + + "WHERE A_Depreciation_Table_Header_ID='" + +A_Depreciation_Table_Header_ID + +"'"; + + PreparedStatement pstmt = DB.prepareStatement(SQL, null); // arhipac: compatibility + ResultSet rs = pstmt.executeQuery(); + if (rs.next()) + { +// Charges - Set Context + Env.setContext(ctx, WindowNo, "A_DEPRECIATION_MANUAL_PERIOD", rs.getString("A_Term")); + mTab.setValue ("A_DEPRECIATION_MANUAL_PERIOD", rs.getString("A_Term")); + + } + rs.close(); + pstmt.close(); + } + } + catch (SQLException e) + { + log.info("PeriodType "+ e); + return e.getLocalizedMessage(); + } + return ""; + } // Period Type + + /** + * Field_Clear. Used to set the Manual Period Field. This allows + * the Spread Field to be displayed when there is a code that + * has been setup as Yearly. + * The string in the Callout field is: + * com.compiere.custom.CalloutEngine.Table_Period + * + * @param ctx Context + * @param WindowNo current Window No + * @param mTab Model Tab + * @param mField Model Field + * @param value The new value + * @param oldValue The old value + * @return error message or "" if OK + */ + public String Field_Clear (Properties ctx, int WindowNo, + GridTab mTab, GridField mField, Object value, Object oldValue) + { + Object A_Depreciation_ID = value; + + try + { + String SQL = "SELECT DepreciationType " + + "FROM A_Depreciation " + + "WHERE A_Depreciation_ID=" + + A_Depreciation_ID; + + PreparedStatement pstmt = DB.prepareStatement(SQL, null); // arhipac: compatibility + ResultSet rs = pstmt.executeQuery(); + if (rs.next()) + { +// Charges - Set Context + String depType = rs.getString("DepreciationType"); + if ("TAB".equals(depType) || "MAN".equals(depType)) + { + Env.setContext(ctx, WindowNo, "A_DEPRECIATION_MANUAL_PERIOD", ""); + mTab.setValue ("A_Depreciation_Manual_Period", null); + mTab.setValue ("A_Depreciation_Manual_Amount", null); + mTab.setValue ("A_Depreciation_Table_Header_ID", null); + } + if (rs.getString("DepreciationType")== "TAB") + { + mTab.setValue ("A_Depreciation_Manual_Amount", null); + } + if (rs.getString("DepreciationType")== "MAN") + { + mTab.setValue ("A_Depreciation_Table_Header_ID", null); + } + } + rs.close(); + pstmt.close(); + } + catch (SQLException e) + { + log.info("PeriodType "+ e); + return e.getLocalizedMessage(); + } + return ""; + } // Period Type + + /** ARHIPAC: TEO: BEGIN ------------------------------------------------------------------------------------------------------------------------------ */ + /* commented by @win - no necessary code + public String invoiceLineProduct(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive()) { + return ""; + } + ro.arhipac.adempiere.fa.ModelValidator.modelChange_InvoiceLine( + SetGetUtil.wrap(mTab), + -1); + return ""; + } + + public String inventoryLineProduct(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (isCalloutActive()) { + return ""; + } + ro.arhipac.adempiere.fa.ModelValidator.modelChange_InventoryLine( + SetGetUtil.wrap(mTab), + -1); + return ""; + } + */ +} diff --git a/org.adempiere.base/src/org/idempiere/fa/model/ModelValidator.java b/org.adempiere.base/src/org/idempiere/fa/model/ModelValidator.java new file mode 100644 index 0000000000..dac94b09c8 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/model/ModelValidator.java @@ -0,0 +1,284 @@ +/** + * + */ +package org.idempiere.fa.model; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.util.List; + +import org.adempiere.exceptions.AdempiereException; +import org.adempiere.exceptions.FillMandatoryException; +import org.compiere.acct.Fact; +import org.compiere.model.MAcctSchema; +import org.compiere.model.MAsset; +import org.compiere.model.MAssetAddition; +//import org.compiere.model.MAssetType; //commented by @win +import org.compiere.model.MAssetDisposed; +import org.compiere.model.MAttributeSetInstance; +import org.compiere.model.MClient; +import org.compiere.model.MCostDetail; +import org.compiere.model.MDocType; +import org.compiere.model.MInventory; +import org.compiere.model.MInventoryLine; +import org.compiere.model.MInvoice; +import org.compiere.model.MInvoiceLine; +import org.compiere.model.MMatchInv; +import org.compiere.model.MPayment; +import org.compiere.model.MPaymentAllocate; +import org.compiere.model.MProduct; +import org.compiere.model.MProject; +import org.compiere.model.ModelValidationEngine; +import org.compiere.model.PO; +import org.compiere.model.SetGetModel; +import org.compiere.model.SetGetUtil; +import org.compiere.util.ArhRuntimeException; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.idempiere.fa.exceptions.AssetInvoiceWithMixedLines_LRO; +import org.idempiere.fa.exceptions.AssetNotImplementedException; +import org.idempiere.fa.exceptions.AssetProductStockedException; + + + +/** + * Fixed Assets Model Validator + * @author Teo_Sarca, SC ARHIPAC SERVICE SRL + * + */ +public class ModelValidator +implements org.compiere.model.ModelValidator, org.compiere.model.FactsValidator +{ + /** Logger */ + private static CLogger log = CLogger.getCLogger(ModelValidator.class); + /** Client */ + private int m_AD_Client_ID = -1; + + + public int getAD_Client_ID() { + return m_AD_Client_ID; + } + + + public void initialize(ModelValidationEngine engine, MClient client) + { + if (client != null) + { + m_AD_Client_ID = client.getAD_Client_ID(); + } + + engine.addModelChange(MInvoiceLine.Table_Name, this); + engine.addDocValidate(MInvoice.Table_Name, this); + engine.addModelChange(MMatchInv.Table_Name, this); + // +// engine.addFactsValidate(MDepreciationEntry.Table_Name, this); + } + + public String login(int AD_Org_ID, int AD_Role_ID, int AD_User_ID) + { + return null; + } + + public String modelChange(PO po, int type) throws Exception + { + if (po instanceof MMatchInv + && (TYPE_AFTER_NEW == type + || (TYPE_AFTER_CHANGE == type && po.is_ValueChanged(MMatchInv.COLUMNNAME_Processed)))) + { + MMatchInv mi = (MMatchInv)po; + if (mi.isProcessed()) + { + MInvoiceLine invoiceLine = new MInvoiceLine(mi.getCtx(), mi.getC_InvoiceLine_ID(), mi.get_TrxName()); + if (invoiceLine.isA_CreateAsset() + && !invoiceLine.isA_Processed() + /* commented by @win + && MAssetType.isFixedAssetGroup(mi.getCtx(), invoiceLine.getA_Asset_Group_ID()) + */ + ) + { + MAssetAddition.createAsset(mi); + } + } + } + // + // Invoice Line + else if (po instanceof MInvoiceLine) + { + modelChange_InvoiceLine(SetGetUtil.wrap(po), type); + } + return null; + + } + + public String docValidate(PO po, int timing) + { + + log.info(po.get_TableName() + " Timing: " + timing); + String result = null; + + // TABLE C_Invoice + String tableName = po.get_TableName(); + if(tableName.equals(MInvoice.Table_Name)){ + // Invoice - Validate Fixed Assets Invoice (LRO) + if (timing==TIMING_AFTER_PREPARE) + { + MInvoice invoice = (MInvoice)po; + validateFixedAssetsInvoice_LRO(invoice); + } + + if(timing==TIMING_AFTER_COMPLETE){ + MInvoice mi = (MInvoice)po; + if (mi.isSOTrx()) { + MInvoiceLine[] mils = mi.getLines(); + for (MInvoiceLine mil: mils) { + if (mil.isA_CreateAsset() && !mil.isA_Processed()) { + MAssetDisposed.createAssetDisposed(mil); + } + } + } + } //end MInvoice TIMING_AFTER_COMPLETE + } + + return result; + } // docValidate + + /** + * Model Change Invoice Line + * @param ctx + * @param m model + * @param changeType set when called from model validator (See TYPE_*); else -1, when called from callout + */ + public static void modelChange_InvoiceLine(SetGetModel m, int changeType) { + // + // Set Asset Related Fields: + if (-1 == changeType || TYPE_BEFORE_NEW == changeType || TYPE_BEFORE_CHANGE == changeType) { + int invoice_id = SetGetUtil.get_AttrValueAsInt(m, MInvoiceLine.COLUMNNAME_C_Invoice_ID); + boolean isSOTrx = DB.isSOTrx(MInvoice.Table_Name, MInvoice.COLUMNNAME_C_Invoice_ID+"="+invoice_id); + boolean isAsset = false; + /* comment by @win + boolean isFixedAsset = false; + */ + int assetGroup_ID = 0; + //@win commenting this out to enable relating AR Invoice to Asset Disposal + /* + if (!isSOTrx) { + int product_id = SetGetUtil.get_AttrValueAsInt(m, MInvoiceLine.COLUMNNAME_M_Product_ID); + if (product_id > 0) { + MProduct prod = MProduct.get(m.getCtx(), product_id); + isAsset = (prod != null && prod.get_ID() > 0 && prod.isCreateAsset()); + assetGroup_ID = prod.getA_Asset_Group_ID(); + + //isFixedAsset = MAssetType.isFixedAssetGroup(m.getCtx(), assetGroup_ID); //commented by @win - remove asset type + + } + } + */ + int product_id = SetGetUtil.get_AttrValueAsInt(m, MInvoiceLine.COLUMNNAME_M_Product_ID); + if (product_id > 0) { + MProduct prod = MProduct.get(m.getCtx(), product_id); + isAsset = (prod != null && prod.get_ID() > 0 && prod.isCreateAsset()); + assetGroup_ID = prod.getA_Asset_Group_ID(); + } + + // end modification by @win + + m.set_AttrValue(MInvoiceLine.COLUMNNAME_A_CreateAsset, isAsset); + if (isAsset) { + m.set_AttrValue(MInvoiceLine.COLUMNNAME_A_Asset_Group_ID, assetGroup_ID); + /* comment by @win + m.set_AttrValue(MInvoiceLine.COLUMNNAME_IsFixedAssetInvoice, isFixedAsset); + */ + m.set_AttrValue("IsFixedAssetInvoice", isAsset); + m.set_AttrValue(MInvoiceLine.COLUMNNAME_A_CreateAsset, "Y"); + + } + else { + m.set_AttrValue(MInvoiceLine.COLUMNNAME_A_Asset_Group_ID, null); + m.set_AttrValue(MInvoiceLine.COLUMNNAME_A_Asset_ID, null); + m.set_AttrValue("IsFixedAssetInvoice", false); + } + // + // Validate persistent object: + if (isAsset && (m instanceof MInvoiceLine)) { + MInvoiceLine line = (MInvoiceLine)m; + // + // If is expense, then asset is mandatory + if (MInvoiceLine.A_CAPVSEXP_Expense.equals(line.getA_CapvsExp()) && line.getA_Asset_ID() <= 0) { + throw new FillMandatoryException(MInvoiceLine.COLUMNNAME_A_Asset_ID); + } + // + // Check Amounts & Qty + if (line.getLineNetAmt().signum() == 0) { + throw new FillMandatoryException(MInvoiceLine.COLUMNNAME_QtyEntered, MInvoiceLine.COLUMNNAME_PriceEntered); + } + // + // Check Product - fixed assets products shouldn't be stocked (but inventory objects are allowed) + MProduct product = line.getProduct(); + if (product.isStocked() && line.get_ValueAsBoolean("IsFixedAssetInvoice")) { + throw new AssetProductStockedException(product); + } + } + } + + // + // Update Invoice Header: + if (TYPE_AFTER_NEW == changeType || TYPE_AFTER_CHANGE == changeType || TYPE_AFTER_DELETE == changeType) { + int invoice_id = SetGetUtil.get_AttrValueAsInt(m, MInvoiceLine.COLUMNNAME_C_Invoice_ID); + String sql = + "UPDATE C_Invoice i SET IsFixedAssetInvoice" + +"=(SELECT COALESCE(MAX(il.IsFixedAssetInvoice),'N')" + +" FROM C_InvoiceLine il" + +" WHERE il.C_Invoice_ID=i.C_Invoice_ID" + +" AND il."+MInvoiceLine.COLUMNNAME_IsDescription+"='N'" + +")" + +" WHERE C_Invoice_ID=?"; + DB.executeUpdateEx(sql, new Object[]{invoice_id}, m.get_TrxName()); + } + } + + /** + * Check if is a valid fixed asset related invoice (LRO) + * @param invoice + */ + private void validateFixedAssetsInvoice_LRO(MInvoice invoice) + { + if (invoice.get_ValueAsBoolean("IsFixedAssetInvoice")) + { + boolean hasFixedAssetLines = false; + boolean hasNormalLines = false; + for (MInvoiceLine line : invoice.getLines()) + { + if (line.get_ValueAsBoolean("IsFixedAssetInvoice")) + { + hasFixedAssetLines = true; + } + else if (line.getM_Product_ID() > 0) + { + MProduct product = MProduct.get(line.getCtx(), line.getM_Product_ID()); + if (product.isItem()) + { + // Only items are forbiden for FA invoices because in Romania these should use + // V_Liability vendor account and not V_Liability_FixedAssets vendor account + hasNormalLines = true; + } + } + // + // No mixed lines are allowed + if (hasFixedAssetLines && hasNormalLines) + { + throw new AssetInvoiceWithMixedLines_LRO(); + } + } + } + } + + + + + public String factsValidate(MAcctSchema schema, List facts, PO po) { + // TODO: implement it + return null; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_Addition_ProcessAll.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_Addition_ProcessAll.java new file mode 100644 index 0000000000..42487e4cc7 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_Addition_ProcessAll.java @@ -0,0 +1,44 @@ +package org.idempiere.fa.process; + +import org.compiere.model.MAssetAddition; +import org.compiere.model.POResultSet; +import org.compiere.model.Query; +import org.compiere.process.SvrProcess; + + +/** + * Process All (not processed) Additions + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class A_Asset_Addition_ProcessAll extends SvrProcess +{ + + protected void prepare() { + } + + protected String doIt() throws Exception { + int cnt_ok = 0, cnt_err = 0; + // + String whereClause = "AD_Client_ID=? AND IsActive=?" + +" AND "+MAssetAddition.COLUMNNAME_Processed+"=?"; + POResultSet + rs = new Query(getCtx(), MAssetAddition.Table_Name, whereClause, get_TrxName()) + .setParameters(new Object[]{getAD_Client_ID(), "N", "N"}) + .scroll(); + try { + while (rs.hasNext()) { + MAssetAddition a = rs.next(); + boolean ret = a.processIt(MAssetAddition.DOCACTION_Complete); + if (ret) + cnt_ok++; + else + cnt_err++; + } + } + finally { + rs.close(); rs = null; + } + // + return "OK/Error: "+cnt_ok+"/"+cnt_err; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_CreateFromMatchInv.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_CreateFromMatchInv.java new file mode 100644 index 0000000000..cdafbb7602 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Asset_CreateFromMatchInv.java @@ -0,0 +1,48 @@ +package org.idempiere.fa.process; + +import java.util.logging.Level; + +import org.compiere.model.MAssetAddition; +import org.compiere.model.MMatchInv; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; +import org.idempiere.fa.exceptions.AssetException; + + + +/** + * Create asset from match invoice process + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class A_Asset_CreateFromMatchInv extends SvrProcess { + private int p_M_MatchInv_ID = -1; + + /** + * Prepare - e.g., get Parameters. + */ + protected void prepare() + { + ProcessInfoParameter[] para = getParameter(); + for (int i = 0; i < para.length; i++) + { + String name = para[i].getParameterName(); + if (para[i].getParameter() == null) + ; + else if (name.equals("M_MatchInv_ID")) + p_M_MatchInv_ID = para[i].getParameterAsInt(); + else + log.log(Level.SEVERE, "@UnknownParameter@ " + name); + } + } // prepare + + protected String doIt() throws Exception + { + MMatchInv match = new MMatchInv(getCtx(), p_M_MatchInv_ID, get_TrxName()); + if (match == null || match.get_ID() <= 0) { + throw new AssetException("@NotFound@ @M_MatchInv_ID@=" + match + "(ID="+p_M_MatchInv_ID+")"); + } + MAssetAddition assetAdd = MAssetAddition.createAsset(match); + + return "@A_Asset_Addition_ID@ - " + assetAdd; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Check.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Check.java new file mode 100644 index 0000000000..829d24e401 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Check.java @@ -0,0 +1,171 @@ +/** + * + */ +package org.idempiere.fa.process; + +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.List; + +import org.compiere.model.MAsset; +import org.compiere.model.MDepreciationEntry; +import org.compiere.model.MDepreciationExp; +import org.compiere.model.MDepreciationWorkfile; +import org.compiere.model.MPeriod; +import org.compiere.model.Query; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; +import org.compiere.util.DB; +import org.compiere.util.TimeUtil; + + +/** + * @author Anca Bradau www.arhipac.ro + * + */ +public class A_Depreciation_Exp_Check extends SvrProcess +{ + private boolean p_IsTest = true; + private int p_A_Asset_ID = -1; + private String p_WhereClause = null; + + + protected void prepare() + { + ; + for (ProcessInfoParameter para : getParameter()) + { + String name = para.getParameterName(); + if (para.getParameter() == null) + ; + else if (name.equals("IsTest")) + { + p_IsTest = para.getParameterAsBoolean(); + } + else if (name.equals("A_Asset_ID")) + { + p_A_Asset_ID = para.getParameterAsInt(); + } + else if (name.equals("WhereClause")) + { + p_WhereClause = (String)para.getParameter(); + } + else + { + } + } + } + + + protected String doIt() throws Exception + { +// ARHIPAC.assertDebugging(); + + for (int A_Asset_ID : getAsset_IDs()) + { + fixDepreciation(A_Asset_ID); + if (p_IsTest) + { + rollback(); + } + } + + return "Ok"; + } + + private int[] getAsset_IDs() + { + ArrayList params = new ArrayList(); + String whereClause = null; + if (p_A_Asset_ID > 0) + { + whereClause = "A_Asset_ID=?"; + params.add(p_A_Asset_ID); + } + else + { + whereClause = p_WhereClause; + } + + return new Query(getCtx(), MAsset.Table_Name, whereClause, get_TrxName()) + .setParameters(params) + .setOrderBy("A_Asset_ID") + .getIDs(); + } + + private void fixDepreciation(int A_Asset_ID) + { + MAsset asset = MAsset.get(getCtx(), A_Asset_ID, get_TrxName()); + List depreciations = getDepreciation(asset); + // if exist depreciations with period 0 + if (depreciations.get(0).getA_Period()==0) + { + fixDepreciationExp(depreciations.get(0), TimeUtil.getMonthLastDay(asset.getAssetServiceDate())); + Timestamp tms = depreciations.get(0).getDateAcct(); + for (int i=1; i 0) + { + int C_Period_ID = DB.getSQLValueEx(exp.get_TrxName(), + "SELECT C_Period_ID FROM A_Depreciation_Entry WHERE A_Depreciation_Entry_ID=?", + exp.getA_Depreciation_Entry_ID()); + MPeriod period = MPeriod.get(exp.getCtx(), C_Period_ID); + if (!period.isInPeriod(exp.getDateAcct())) + { + addLog("OLD2: "+exp); + MDepreciationEntry.deleteFacts(exp); + exp.setA_Depreciation_Entry_ID(0); + exp.saveEx(); + addLog("NEW2: "+exp); + } + } + } + + private List getDepreciation(MAsset asset) + { + String whereClause = "A_Asset_ID=?"; + return new Query(getCtx(), MDepreciationExp.Table_Name, whereClause, get_TrxName()) + .setParameters(new Object[]{asset.get_ID()}) + .setOrderBy(MDepreciationExp.COLUMNNAME_A_Period) + .list(); + } + +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Modify.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Modify.java new file mode 100644 index 0000000000..98333c561c --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Modify.java @@ -0,0 +1,86 @@ +/** + * + */ +package org.idempiere.fa.process; + +import org.adempiere.exceptions.AdempiereException; +import org.adempiere.exceptions.FillMandatoryException; +import org.compiere.model.MDepreciationEntry; +import org.compiere.model.MDepreciationExp; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; + + +/** + * WARNING: INTERNAL PROCESS + * @author Anca Bradau www.arhipac.ro + * + */ +public class A_Depreciation_Exp_Modify extends SvrProcess +{ + private int p_A_Depreciation_Exp_ID = -1; + private int p_DR_Account_ID = -1; + private int p_CR_Account_ID = -1; + private boolean p_IsTest = true; + + + + protected void prepare() + { + ; + for (ProcessInfoParameter para : getParameter()) + { + String name = para.getParameterName(); + if (para.getParameter() == null) + ; + else if (name.equals("IsTest")) + { + p_IsTest = para.getParameterAsBoolean(); + } + + else if(name.equals(MDepreciationExp.COLUMNNAME_A_Depreciation_Exp_ID)) + { + p_A_Depreciation_Exp_ID = para.getParameterAsInt(); + } + else if (name.equals(MDepreciationExp.COLUMNNAME_DR_Account_ID)) + { + p_DR_Account_ID = para.getParameterAsInt(); + } + else if (name.equals(MDepreciationExp.COLUMNNAME_CR_Account_ID)) + { + p_CR_Account_ID = para.getParameterAsInt(); + } + } + + + } + + + protected String doIt() throws Exception + { +// ARHIPAC.assertDebugging(); + // + if (p_A_Depreciation_Exp_ID <= 0) + { + throw new FillMandatoryException("A_Depreciation_Exp_ID"); + } + // + MDepreciationExp exp = new MDepreciationExp(getCtx(), p_A_Depreciation_Exp_ID, get_TrxName()); + if (exp.get_ID() != p_A_Depreciation_Exp_ID) + { + throw new AdempiereException("@NotFound@ @A_Depreciation_Exp_ID@ = "+p_A_Depreciation_Exp_ID); + } + // + MDepreciationEntry.deleteFacts(exp); + exp.setDR_Account_ID(p_DR_Account_ID); + exp.setCR_Account_ID(p_CR_Account_ID); + exp.saveEx(); + // + if (p_IsTest) + { + rollback(); + } + // + return "Ok"; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Process.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Process.java new file mode 100644 index 0000000000..bebeae73b1 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Exp_Process.java @@ -0,0 +1,25 @@ +/****************************************************************************** + * Copyright (C) 2008 SC ARHIPAC SERVICE SRL. All Rights Reserved. * + *****************************************************************************/ +package org.idempiere.fa.process; + +import org.compiere.model.MDepreciationExp; +import org.compiere.process.SvrProcess; + + +/** + * @author Teo_Sarca, SC ARHIPAC SERVICE SRL + */ +public class A_Depreciation_Exp_Process extends SvrProcess { + + protected void prepare() + { + } + + protected String doIt() throws Exception + { + MDepreciationExp depexp = new MDepreciationExp(getCtx(), getRecord_ID(), get_TrxName()); + depexp.process(); + return "@Processed@"; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Workfile_Build.java b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Workfile_Build.java new file mode 100644 index 0000000000..da80b30e68 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/A_Depreciation_Workfile_Build.java @@ -0,0 +1,66 @@ +/** + * + */ +package org.idempiere.fa.process; + +import org.compiere.model.MDepreciationWorkfile; +import org.compiere.model.POResultSet; +import org.compiere.model.Query; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; +import org.compiere.util.DB; + + +/** + * Create Depreciation + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public class A_Depreciation_Workfile_Build extends SvrProcess +{ + private int A_Depreciation_Workfile_ID = 0; + + protected void prepare() { + A_Depreciation_Workfile_ID = getRecord_ID(); + ProcessInfoParameter[] para = getParameter(); + for (int i = 0; i < para.length; i++) + { + String name = para[i].getParameterName(); + if (para[i].getParameter() == null) + ; + else if (name.equals("AllAssets")) { + if ("Y".equals(para[i].getParameter())) + A_Depreciation_Workfile_ID = 0; + } + else { + } + } + } + + protected String doIt() throws Exception { + int cnt_all = 0; + if (A_Depreciation_Workfile_ID > 0) { + MDepreciationWorkfile wk = new MDepreciationWorkfile(getCtx(), A_Depreciation_Workfile_ID, get_TrxName()); + wk.buildDepreciation(); + wk.saveEx(); + cnt_all = 1; + } + else { + String whereClause = MDepreciationWorkfile.COLUMNNAME_IsDepreciated + "='Y'"; + POResultSet + rs = new Query(getCtx(), MDepreciationWorkfile.Table_Name, whereClause, get_TrxName()) + .scroll(); + try { + while(rs.hasNext()) { + MDepreciationWorkfile wk = rs.next(); + wk.buildDepreciation(); + wk.saveEx(); + } + } + finally { + DB.close(rs); rs = null; + } + } + // + return "@Processed@ #" + cnt_all; + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/process/ImportFixedAsset.java b/org.adempiere.base/src/org/idempiere/fa/process/ImportFixedAsset.java new file mode 100644 index 0000000000..80359b3eda --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/ImportFixedAsset.java @@ -0,0 +1,411 @@ +package org.idempiere.fa.process; + +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.util.logging.Level; + +import org.compiere.model.I_C_BPartner; +import org.compiere.model.MAssetAddition; +import org.compiere.model.MBPartner; +import org.compiere.model.MBPartnerLocation; +import org.compiere.model.MIFixedAsset; +import org.compiere.model.MLocation; +import org.compiere.model.MProduct; +import org.compiere.model.POResultSet; +import org.compiere.model.Query; +import org.compiere.model.X_I_FixedAsset; +import org.compiere.process.DocAction; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; +import org.compiere.util.DB; +import org.compiere.util.Env; + + +/** + * Import Fixed Asset + * + * @author Zuhri Utama, Ambidexter [based on ImportAssetClass Teo Sarca] + * + * @version $Id$ + */ +public class ImportFixedAsset extends SvrProcess +{ + /** Client to be imported to */ + private int p_AD_Client_ID = 0; + /** Organization to be imported to */ + private int p_AD_Org_ID = 0; + + /** Account Date */ + private Timestamp p_DateAcct = null; + + /** Validate Only - only validate import data */ + private boolean p_IsValidateOnly = false; + + /** Delete old Imported */ + private boolean p_DeleteOldImported = true; + + /** + * Prepare - e.g., get Parameters. + */ + protected void prepare() + { + ProcessInfoParameter[] para = getParameter(); + for (int i = 0; i < para.length; i++) + { + String name = para[i].getParameterName(); + if (para[i].getParameter() == null) + ; + else if (name.equals("AD_Client_ID")) + p_AD_Client_ID = ((BigDecimal)para[i].getParameter()).intValue(); + else if (name.equals("AD_Org_ID")) + p_AD_Org_ID = ((BigDecimal)para[i].getParameter()).intValue(); + + else if (name.equals("DateAcct")) + p_DateAcct = ((Timestamp)para[i].getParameter()); + else if (name.equals("DeleteOldImported")) + p_DeleteOldImported = "Y".equals(para[i].getParameter()); + else if (name.equals("IsValidateOnly")) + p_IsValidateOnly = "Y".equals(para[i].getParameter()); + else + log.log(Level.SEVERE, "Unknown Parameter: " + name); + } + } // prepare + + + /** + * Perrform process. + * @return Message + * @throws Exception + */ + protected String doIt() throws java.lang.Exception + { + StringBuffer sql = null; + int no = 0; + if(p_AD_Client_ID==0) + p_AD_Client_ID = Env.getAD_Client_ID(getCtx()); + String sqlCheck = " AND AD_Client_ID=" + p_AD_Client_ID; + + // **** Prepare **** + + // Delete Old Imported + if (p_DeleteOldImported) + { + sql = new StringBuffer ("DELETE "+X_I_FixedAsset.Table_Name + + " WHERE I_IsImported='Y'").append (sqlCheck); + no = DB.executeUpdateEx(sql.toString(), get_TrxName()); + log.fine("Delete Old Imported =" + no); + } + + // Set Client, Org, IsActive, Created/Updated + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+ " " + + "SET AD_Client_ID = COALESCE (AD_Client_ID,").append (p_AD_Client_ID).append (")," + + " AD_Org_ID = COALESCE (AD_Org_ID,").append (p_AD_Org_ID).append (")," + + " IsActive = COALESCE (IsActive, 'Y')," + + " Created = COALESCE (Created, SysDate)," + + " CreatedBy = COALESCE (CreatedBy, 0)," + + " Updated = COALESCE (Updated, SysDate)," + + " UpdatedBy = COALESCE (UpdatedBy, 0)," + + " I_ErrorMsg = ' '," + + " I_IsImported = 'N' " + + "WHERE I_IsImported<>'Y' OR I_IsImported IS NULL"); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.info ("Reset=" + no); + + // Check if Org is Null or 0 + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Org, '" + + "WHERE (AD_Org_ID IS NULL OR AD_Org_ID=0" + + " OR EXISTS (SELECT * FROM AD_Org oo WHERE ifa.AD_Org_ID=oo.AD_Org_ID AND (oo.IsSummary='Y' OR oo.IsActive='N')))" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("Invalid Org=" + no); + + // Check if Name is Null + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=Name Is Mandatory, '" + + "WHERE Name IS NULL AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("Invalid Name=" + no); + + // Asset Group From Value + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET A_Asset_Group_ID=(SELECT MAX(A_Asset_Group_ID) FROM A_Asset_Group t" + + " WHERE ifa.A_Asset_Group_Value=t.Name AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE A_Asset_Group_ID IS NULL AND A_Asset_Group_Value IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set Asset Group from Value=" + no); + + // Check if Asset Group Have Asset Group Acct Record + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=Asset Group Doesnt Have Asset Group Acct Record, ' " + + "WHERE A_Asset_Group_ID IS NOT NULL AND A_Asset_Group_ID>0 " //@win change to AND from OR + + "AND NOT EXISTS (SELECT 1 FROM A_Asset_Group_Acct aga WHERE ifa.A_Asset_Group_ID=aga.A_Asset_Group_ID) " //@win change to AND from OR + + "AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("Invalid Asset Group=" + no); + + // Asset Type From Value + /* commented by @win + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET A_Asset_Type_ID=(SELECT MAX(A_Asset_Type_ID) FROM A_Asset_Type t" + + " WHERE ifa.A_Asset_Type_Value=t.Value AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE A_Asset_Type_ID IS NULL AND A_Asset_Type_Value IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set Asset Type from Value=" + no); + */ + + // BP From Value + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET C_BPartnerSR_ID=(SELECT MAX(C_BPartner_ID) FROM C_BPartner t" + + " WHERE ifa.BPartner_Value=t.Value AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE C_BPartnerSR_ID IS NULL AND BPartner_Value IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set BP from Value=" + no); + + // City From Value + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET C_City_ID=(SELECT MAX(C_City_ID) FROM C_City t" + + " WHERE ifa.C_City_Value=t.Name AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE C_City_ID IS NULL AND C_City_Value IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set City from Value=" + no); + + // Product + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET M_Product_ID=(SELECT MAX(M_Product_ID) FROM M_Product t" + + " WHERE ifa.ProductValue=t.Value AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE M_Product_ID IS NULL AND ProductValue IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set Product from Value=" + no); + + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Product, ' " + + "WHERE M_Product_ID IS NULL AND ProductValue IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("Invalid Product=" + no); + + // Check if Product using Product Category has A Asset Category Set + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=Product Using Product Category Without Asset Group Defined, ' " + + "WHERE EXISTS (SELECT 1 FROM M_Product p " + + "JOIN M_Product_Category pc ON p.M_Product_Category_ID=pc.M_Product_Category_ID " + + "WHERE ifa.M_Product_ID=p.M_Product_ID " + + "AND (pc.A_Asset_Group_ID=0 OR pc.A_Asset_Group_ID IS NULL)) " + + "AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("Invalid Product Category=" + no); + + // Locator From Value + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+" ifa " + + "SET M_Locator_ID=(SELECT MAX(M_Locator_ID) FROM M_Product t" + + " WHERE ifa.LocatorValue=t.Value AND ifa.AD_Client_ID=t.AD_Client_ID) " + + "WHERE M_Locator_ID IS NULL AND LocatorValue IS NOT NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + log.fine("Set Locator from Value=" + no); + + //-- New BPartner --------------------------------------------------- + + // Go through Fixed Assets Records w/o C_BPartner_ID + /* no need this @win + sql = new StringBuffer ("SELECT * FROM "+MIFixedAsset.Table_Name+ " + + "WHERE I_IsImported='N' AND C_BPartnerSR_ID IS NULL").append (sqlCheck); + try + { + PreparedStatement pstmt = DB.prepareStatement (sql.toString(), get_TrxName()); + ResultSet rs = pstmt.executeQuery (); + while (rs.next ()) + { + MIFixedAsset ifa = new MIFixedAsset (getCtx(), rs, get_TrxName()); + if (ifa.getBPartner_Value () == null) + continue; + + // BPartner + MBPartner bp = MBPartner.get (getCtx(), ifa.getBPartner_Value()); + if (bp == null) + { + bp = new MBPartner (getCtx (), -1, get_TrxName()); + bp.setClientOrg (ifa.getAD_Client_ID (), ifa.getAD_Org_ID ()); + bp.setValue (ifa.getBPartner_Value ()); + bp.setName (ifa.getBPartner_Value ()); + if (!bp.save ()) + continue; + } + ifa.setC_BPartnerSR_ID (bp.getC_BPartner_ID ()); + + MBPartnerLocation bpl = null; + + if (bpl == null) + { + // New Location + MLocation loc = new MLocation (getCtx (), 0, get_TrxName()); + loc.setCity (ifa.getC_City_Value ()); + if (!loc.save ()) + continue; + // + bpl = new MBPartnerLocation (bp); + bpl.setC_Location_ID (loc.getC_Location_ID()); + if (!bpl.save ()) + continue; + } + ifa.save (); + } // for all new BPartners + rs.close (); + pstmt.close (); + // + } + catch (SQLException e) + { + log.log(Level.SEVERE, "CreateBP", e); + } + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+ " " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=No BPartner, ' " + + "WHERE C_BPartnerSR_ID IS NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("No BPartner=" + no); + + commitEx(); + + //-- New Product --------------------------------------------------- + // TODO : zuhri Utama - need to fixed create new product + + // Go through Fixed Assets Records w/o M_Product_ID + sql = new StringBuffer ("SELECT * FROM "+MIFixedAsset.Table_Name+ " " + + "WHERE I_IsImported='N' AND M_Product_ID IS NULL").append (sqlCheck); + try + { + PreparedStatement pstmt = DB.prepareStatement (sql.toString(), get_TrxName()); + ResultSet rs = pstmt.executeQuery (); + while (rs.next ()) + { + MIFixedAsset ifa = new MIFixedAsset (getCtx(), rs, get_TrxName()); + if (ifa.getProductValue () == null) + continue; + + // Product + String Value = ifa.getProductValue (); + if (Value == null || Value.length() == 0) + return null; + final String whereClause = "Value=? AND AD_Client_ID=?"; + MProduct product = new Query(getCtx(), MProduct.Table_Name, whereClause, null) + .setParameters(Value,Env.getAD_Client_ID(getCtx())) + .firstOnly(); + if (product == null) + { + product = new MProduct (getCtx (), -1, get_TrxName()); + product.setAD_Org_ID(ifa.getAD_Org_ID ()); + product.setValue (ifa.getProductValue ()); + product.setName (ifa.getProductValue ()); + product.setC_UOM_ID(ifa.getC_UOM_ID()); + if(p_M_Product_Category_ID>0) + product.setM_Product_Category_ID(p_M_Product_Category_ID); + if (!product.save ()) + continue; + } + ifa.setM_Product_ID (product.getM_Product_ID()); + + ifa.save (); + } // for all new Products + rs.close (); + pstmt.close (); + // + } + catch (SQLException e) + { + log.log(Level.SEVERE, "CreateProduct", e); + } + sql = new StringBuffer ("UPDATE "+MIFixedAsset.Table_Name+ " " + + "SET I_IsImported='N', I_ErrorMsg=I_ErrorMsg||'ERR=No BPartner, ' " + + "WHERE M_Product_ID IS NULL" + + " AND I_IsImported<>'Y'").append (sqlCheck); + no = DB.executeUpdate(sql.toString(), get_TrxName()); + if (no != 0) + log.warning ("No Product=" + no); + + commitEx(); + */ //commented by @win + + if(p_IsValidateOnly) + return "Data Was Validated"; + + int cnt_ok = 0; + int cnt_err = 0; + + String whereClause = "NVL(I_IsImported,'N')='N'"+sqlCheck; + POResultSet + rs = new Query(getCtx(), X_I_FixedAsset.Table_Name, whereClause, get_TrxName()) + .scroll(); + try + { + while (rs.hasNext()) { + X_I_FixedAsset xfa = rs.next(); + MIFixedAsset ifa = new MIFixedAsset(getCtx(), xfa.getI_FixedAsset_ID(), get_TrxName()); + try + { + MAssetAddition assetAdd = MAssetAddition.createAsset(ifa); + if(assetAdd==null){ + ifa.setI_ErrorMsg("Failed Create Assets"); + cnt_err++; + assetAdd=null; + continue; + } + //if(p_A_Asset_Group_ID>0) + // assetAdd.getA_Asset().setA_Asset_Group_ID(p_A_Asset_Group_ID); + //if(p_DateAcct!=null) + // assetAdd.setDateAcct(p_DateAcct); + assetAdd.saveEx(); + + //Process Asset Addition Based on Document Action + if(!assetAdd.processIt(ifa.getDocAction())){ + ifa.setI_ErrorMsg("Failed Process Asset Addition"); + cnt_err++; + assetAdd=null; + continue; + } + assetAdd.saveEx(); + + ifa.setI_IsImported(true); + ifa.setI_ErrorMsg(null); + ifa.setA_Asset_ID(assetAdd.getA_Asset_ID()); + ifa.setProcessed(true); + ifa.saveEx(); + + + + cnt_ok++; + } + catch (Exception e) { + ifa.setI_ErrorMsg(e.getLocalizedMessage()); + cnt_err++; + ifa.saveEx(); + } + } + } + finally + { + DB.close(rs); rs = null; + // + addLog (0, null, new BigDecimal (cnt_ok), "Imported @Ok@: "); + addLog (0, null, new BigDecimal (cnt_err), "Imported @Error@: "); + } + + return ""; + } // doIt + +} // ImportAssetClass \ No newline at end of file diff --git a/org.adempiere.base/src/org/idempiere/fa/process/ProjectCreateAsset.java b/org.adempiere.base/src/org/idempiere/fa/process/ProjectCreateAsset.java new file mode 100644 index 0000000000..31993f6894 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/ProjectCreateAsset.java @@ -0,0 +1,124 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.idempiere.fa.process; + + +import java.sql.Timestamp; +import java.util.logging.Level; + +import org.compiere.model.MProductCategory; +import org.compiere.model.MProject; +import org.compiere.model.MProduct; +import org.compiere.model.MAssetAddition; +import org.compiere.process.DocAction; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; + + +/** + * Open Project. + * Opening project will automatically create asset and asset addition + * + * @author zuhri utama + */ +public class ProjectCreateAsset extends SvrProcess +{ + /** Project */ + private int m_C_Project_ID = 0; + + /** Product */ + private int m_Product_ID = 0; + + /** Use Life Years */ + private int m_UseLifeYears = 0; + + + /** DateTrx for create asset */ + private Timestamp m_DateTrx = null; + + private String message = ""; + + /** + * Prepare - e.g., get Parameters. + */ + protected void prepare() + { + ProcessInfoParameter[] para = getParameter(); + for (int i = 0; i < para.length; i++) + { + String name = para[i].getParameterName(); + if (para[i].getParameter() == null) + ; + else if (para[i].getParameterName().equalsIgnoreCase("C_Project_ID")) { + m_C_Project_ID = para[i].getParameterAsInt(); + } + else if (para[i].getParameterName().equalsIgnoreCase("M_Product_ID")) { + m_Product_ID = para[i].getParameterAsInt(); + } + else if (para[i].getParameterName().equalsIgnoreCase("UseLifeYears")) { + m_UseLifeYears = para[i].getParameterAsInt(); + } + else if (para[i].getParameterName().equalsIgnoreCase("DateTrx")) { + m_DateTrx = (Timestamp)para[i].getParameter(); + } + else { + log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name); + } + } + + } // prepare + + /** + * Perform process. + * @return Message (translated text) + * @throws Exception if not successful + */ + protected String doIt() throws Exception + { + if (m_C_Project_ID == 0 || m_Product_ID == 0) { + return "Missing Mandatory Field Value (Project / Product)"; + } + + MProject project = new MProject (getCtx(), m_C_Project_ID, get_TrxName()); + log.info("doIt - " + project); + + MProduct product = new MProduct(getCtx(), m_Product_ID, get_TrxName()); + MProductCategory pc = MProductCategory.get(getCtx(), product.getM_Product_Category_ID()); + if (pc.getA_Asset_Group_ID() == 0) { + return "Product is not asset type"; + } + + MAssetAddition assetAdd = MAssetAddition.createAsset(project, product); + assetAdd.setDateAcct(m_DateTrx); + assetAdd.setDateDoc(m_DateTrx); + assetAdd.setM_Product_ID(m_Product_ID); + if(m_UseLifeYears > 0) { + assetAdd.setDeltaUseLifeYears(m_UseLifeYears); + assetAdd.setDeltaUseLifeYears_F(m_UseLifeYears); + } + assetAdd.saveEx(); + if (!assetAdd.processIt(DocAction.ACTION_Complete)) { + return "Error Process Asset Addition"; + } + assetAdd.saveEx(); + + message += ". @A_Asset_Addition_ID@ - " + assetAdd; + + return "Asset Created " + message; + } // doIt + +} // ProjectClose diff --git a/org.adempiere.base/src/org/idempiere/fa/process/SvrProcess2.java b/org.adempiere.base/src/org/idempiere/fa/process/SvrProcess2.java new file mode 100644 index 0000000000..87d0488f81 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/process/SvrProcess2.java @@ -0,0 +1,97 @@ +/** + * + */ +package org.idempiere.fa.process; + +import java.lang.reflect.Field; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; +import org.compiere.util.CLogger; + +/** + * Server Process Template (v2). + * In this version, parameters fields will be automatically filled if they start with p_ and are accessible. + * + * @author Teo Sarca, www.arhipac.ro + * + */ +public abstract class SvrProcess2 extends SvrProcess +{ + /** Logger */ + private static final CLogger s_log = CLogger.getCLogger(SvrProcess2.class); + + + protected final void prepare() + { + readParameters(this, getParameter()); + } + + private static void readParameters(SvrProcess process, ProcessInfoParameter[] params) + { + try + { + for (Field field : process.getClass().getFields()) + { + if (!field.getName().startsWith("p_")) + { + continue; + } + final String parameterName; + final boolean isTo; + if (field.getName().endsWith("_To")) + { + parameterName = field.getName().substring(2, field.getName().length() - 3); + isTo = true; + } + else + { + parameterName = field.getName().substring(2); + isTo = false; + } + // + boolean isSet = false; + for (ProcessInfoParameter para : params) + { + if (!parameterName.equals(para.getParameterName())) + { + continue; + } + if (field.getType() == int.class) + { + if (isTo) + field.setInt(process, para.getParameter_ToAsInt()); + else + field.setInt(process, para.getParameterAsInt()); + } + else if (field.getType() == boolean.class) + { + if (isTo) + field.setBoolean(process, para.getParameter_ToAsBoolean()); + else + field.setBoolean(process, para.getParameterAsBoolean()); + } + else + { + if (isTo) + field.set(process, para.getParameter_To()); + else + field.set(process, para.getParameter()); + } + isSet = true; + break; + } // for ProcessInfoParameter + // + if (!isSet) + { + s_log.info("Parameter not set - "+parameterName); + } + } // for Field + } + catch (Exception e) + { + throw new AdempiereException(e); + } + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/util/POCacheLocal.java b/org.adempiere.base/src/org/idempiere/fa/util/POCacheLocal.java new file mode 100644 index 0000000000..580bf146b4 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/util/POCacheLocal.java @@ -0,0 +1,101 @@ +/** + * + */ +package org.idempiere.fa.util; + +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MTable; +import org.compiere.model.PO; + +/** + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + */ +public final class POCacheLocal +{ + private final PO parent; + private final String idColumnName; + private final String po_tableName; + private T po = null; + + public static POCacheLocal newInstance(PO parent, Class cl) + { + return new POCacheLocal(parent, cl); + } + + public static POCacheLocal newInstance(PO parent, Class cl, String idColumnName) + { + return new POCacheLocal(parent, cl, idColumnName); + } + + private POCacheLocal(PO parent, Class cl) + { + this(parent, cl, null); + } + + private POCacheLocal(PO parent, Class cl, String idColumnName) + { + this.parent = parent; + try + { + this.po_tableName = (String)cl.getField("Table_Name").get(null); + } + catch (Exception e) + { + throw new AdempiereException(e); + } + if (idColumnName == null) + { + this.idColumnName = this.po_tableName + "_ID"; + } + else + { + this.idColumnName = idColumnName; + } + } + + public T get(boolean requery) + { + int id = get_id(); + if (id <= 0) + { + this.po = null; + return null; + } + if (requery || !isValidPO(this.po)) + { + this.po = load(this.parent.getCtx(), id, this.parent.get_TrxName()); + } + return this.po; + } + + public void set(T po) + { + if (isValidPO(po)) + { + this.po = po; + } + } + + private boolean isValidPO(T po) + { + int id = get_id(); + return id > 0 + && po != null + && po.get_ID() == id + && Util.equals(this.parent.get_TrxName(), po.get_TrxName()) + ; + } + + @SuppressWarnings("unchecked") + protected T load(Properties ctx, int id, String trxName) + { + return (T)MTable.get(ctx, this.po_tableName).getPO(id, trxName); + } + + private int get_id() + { + return parent.get_ValueAsInt(idColumnName); + } +} diff --git a/org.adempiere.base/src/org/idempiere/fa/util/Util.java b/org.adempiere.base/src/org/idempiere/fa/util/Util.java new file mode 100644 index 0000000000..10d011d790 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/fa/util/Util.java @@ -0,0 +1,47 @@ +/** + * + */ +package org.idempiere.fa.util; + +import java.text.SimpleDateFormat; +import java.util.Properties; + +import org.compiere.model.MClient; +import org.compiere.util.DisplayType; +import org.compiere.util.Language; + +/** + * Misc utils + * @author Teo Sarca, www.arhipac.ro + * + */ +public final class Util +{ + private Util() + { + // nothing + } + + /** + * @param ctx + * @return DateFormat for current AD_Client's language + */ + public static SimpleDateFormat getClientDateFormat(Properties ctx) + { + String lang = MClient.get(ctx).getAD_Language(); + return DisplayType.getDateFormat(Language.getLanguage(lang)); + } + + /** + * Check if strings are equal. + * We consider 2 strings equal if they both are null or they both are equal. + * @param s1 + * @param s2 + * @return true if string are equal + */ + public static boolean equals(String s1, String s2) + { + return (s1 == null && s2 == null) + || (s1 != null && s2 != null && s1.equals(s2)); + } +} diff --git a/org.adempiere.install/src/org/compiere/install/ConfigurationData.java b/org.adempiere.install/src/org/compiere/install/ConfigurationData.java index 63dd2973f9..4d499ca374 100644 --- a/org.adempiere.install/src/org/compiere/install/ConfigurationData.java +++ b/org.adempiere.install/src/org/compiere/install/ConfigurationData.java @@ -168,8 +168,9 @@ public class ConfigurationData /** */ public static final String ADEMPIERE_DB_PASSWORD = "ADEMPIERE_DB_PASSWORD"; /** */ - public static final String ADEMPIERE_DB_SYSTEM = "ADEMPIERE_DB_SYSTEM"; - + public static final String ADEMPIERE_DB_SYSTEM = "ADEMPIERE_DB_SYSTEM"; + /** */ + public static final String ADEMPIERE_DB_EXISTS = "ADEMPIERE_DB_EXISTS"; /** */ public static final String ADEMPIERE_MAIL_SERVER = "ADEMPIERE_MAIL_SERVER"; /** */ @@ -277,6 +278,9 @@ public class ConfigurationData setDatabasePassword((String)loaded.get(ADEMPIERE_DB_PASSWORD)); if (loaded.containsKey(ADEMPIERE_DB_SYSTEM)) setDatabaseSystemPassword((String)loaded.get(ADEMPIERE_DB_SYSTEM)); + if (loaded.containsKey(ADEMPIERE_DB_EXISTS)) + setDatabaseExists((String)loaded.get(ADEMPIERE_DB_EXISTS)); + if (p_panel != null) { @@ -1385,6 +1389,33 @@ public class ConfigurationData if (p_panel != null) p_panel.fSystemPassword.setEnabled(enable); } + /** + * @param ADEMPIERE_DB_EXISTS + */ + public void setDatabaseExists(String dbExists) + { + + if (p_panel != null) + p_panel.okdbExists.setSelected("Y".equalsIgnoreCase(dbExists)); + else + updateProperty(ADEMPIERE_DB_EXISTS, dbExists); + } + + /** + * @param + */ + public boolean getDatabaseExists() + { + Object dbExists = p_properties.get(ADEMPIERE_DB_EXISTS); + if (dbExists == null) + dbExists = "N"; + else + dbExists = dbExists.toString(); + return p_panel != null + ? p_panel.okdbExists.isSelected() + : "Y".equalsIgnoreCase( (String) dbExists); + } + /** * @return Returns the databaseUser. */ diff --git a/org.adempiere.install/src/org/compiere/install/ConfigurationPanel.java b/org.adempiere.install/src/org/compiere/install/ConfigurationPanel.java index 113c131f94..09e10939a0 100644 --- a/org.adempiere.install/src/org/compiere/install/ConfigurationPanel.java +++ b/org.adempiere.install/src/org/compiere/install/ConfigurationPanel.java @@ -131,6 +131,7 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon JComboBox fDatabaseType = new JComboBox(ConfigurationData.DBTYPE); // JLabel lDatabaseServer = new JLabel(); + JLabel ldbExists = new JLabel(); JTextField fDatabaseServer = new JTextField(FIELDLENGTH); private JLabel lDatabaseName = new JLabel(); JTextField fDatabaseName = new JTextField(FIELDLENGTH); @@ -148,6 +149,7 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon public JCheckBox okDatabaseUser = new JCheckBox(); public JCheckBox okDatabaseSystem = new JCheckBox(); public JCheckBox okDatabaseSQL = new JCheckBox(); + public JCheckBox okdbExists = new JCheckBox(); // JLabel lMailServer = new JLabel(); JTextField fMailServer = new JTextField(FIELDLENGTH); @@ -282,19 +284,26 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon sectionLabel = new JLabel(res.getString("DatabaseServer")); sectionLabel.setForeground(titledBorder.getTitleColor()); separator = new JSeparator(); + ldbExists.setToolTipText(res.getString("DbExists")); + ldbExists.setText(res.getString("DbExists")); + this.add(sectionLabel, new GridBagConstraints(0, 11, 6, 1, 0.0, 0.0 - ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(15, 5, 0, 0), 0, 0)); + ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(15, 5, 0, 0), 0, 0)); this.add(separator, new GridBagConstraints(0, 12, 7, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 10), 0, 0)); - this.add(lDatabaseServer, new GridBagConstraints(0, 13, 1, 1, 0.0, 0.0 + this.add(ldbExists, new GridBagConstraints(0, 13, 1, 1, 0.0, 0.0 + ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 5, 2, 5), 0, 0)); + this.add(okdbExists, new GridBagConstraints(1, 13, 1, 1, 0.0, 0.0 + ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 2, 5), 0, 0)); + this.add(lDatabaseServer, new GridBagConstraints(0, 14, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 5, 2, 5), 0, 0)); - this.add(fDatabaseServer, new GridBagConstraints(1, 13, 1, 1, 0.5, 0.0 + this.add(fDatabaseServer, new GridBagConstraints(1, 14, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(5, 5, 2, 0), 0, 0)); - this.add(okDatabaseServer, new GridBagConstraints(2, 13, 1, 1, 0.0, 0.0 + this.add(okDatabaseServer, new GridBagConstraints(2, 14, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 2, 5), 0, 0)); - this.add(lDatabaseType, new GridBagConstraints(4, 13, 1, 1, 0.0, 0.0 + this.add(lDatabaseType, new GridBagConstraints(4, 14, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 5, 2, 5), 0, 0)); - this.add(fDatabaseType, new GridBagConstraints(5, 13, 1, 1, 0.0, 0.0 + this.add(fDatabaseType, new GridBagConstraints(5, 14, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 2, 0), 0, 0)); //Database/Service Name lDatabaseName.setToolTipText(res.getString("DatabaseNameInfo")); @@ -307,15 +316,15 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon fDatabaseDiscovered.setEditable(true); fDatabaseDiscovered.setPreferredSize(fDatabaseName.getPreferredSize()); okDatabaseSQL.setEnabled(false); - this.add(lDatabaseName, new GridBagConstraints(0, 14, 1, 1, 0.0, 0.0 + this.add(lDatabaseName, new GridBagConstraints(0, 15, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fDatabaseName, new GridBagConstraints(1, 14, 1, 1, 0.5, 0.0 + this.add(fDatabaseName, new GridBagConstraints(1, 15, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 5, 2, 0), 0, 0)); - this.add(okDatabaseSQL, new GridBagConstraints(2, 14, 1, 1, 0.0, 0.0 + this.add(okDatabaseSQL, new GridBagConstraints(2, 15, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 0, 2, 5), 0, 0)); - this.add(lDatabaseDiscovered, new GridBagConstraints(4, 14, 1, 1, 0.0, 0.0 + this.add(lDatabaseDiscovered, new GridBagConstraints(4, 15, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 0, 2, 5), 0, 0)); - this.add(fDatabaseDiscovered, new GridBagConstraints(5, 14, 1, 1, 0.5, 0.0 + this.add(fDatabaseDiscovered, new GridBagConstraints(5, 15, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 5, 2, 0), 0, 0)); // Port - System lDatabasePort.setToolTipText(res.getString("DatabasePortInfo")); @@ -325,15 +334,15 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon lSystemPassword.setText(res.getString("SystemPassword")); fSystemPassword.setText("."); okDatabaseSystem.setEnabled(false); - this.add(lDatabasePort, new GridBagConstraints(0, 15, 1, 1, 0.0, 0.0 + this.add(lDatabasePort, new GridBagConstraints(0, 16, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fDatabasePort, new GridBagConstraints(1, 15, 1, 1, 0.5, 0.0 + this.add(fDatabasePort, new GridBagConstraints(1, 16, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 5, 2, 0), 0, 0)); - this.add(lSystemPassword, new GridBagConstraints(4, 15, 1, 1, 0.0, 0.0 + this.add(lSystemPassword, new GridBagConstraints(4, 16, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fSystemPassword, new GridBagConstraints(5, 15, 1, 1, 0.5, 0.0 + this.add(fSystemPassword, new GridBagConstraints(5, 16, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 5, 2, 0), 0, 0)); - this.add(okDatabaseSystem, new GridBagConstraints(6, 15, 1, 1, 0.0, 0.0 + this.add(okDatabaseSystem, new GridBagConstraints(6, 16, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 0, 2, 5), 0, 0)); // User - Password @@ -344,23 +353,23 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon lDatabasePassword.setText(res.getString("DatabasePassword")); fDatabasePassword.setText("."); okDatabaseUser.setEnabled(false); - this.add(lDatabaseUser, new GridBagConstraints(0, 16, 1, 1, 0.0, 0.0 + this.add(lDatabaseUser, new GridBagConstraints(0, 17, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fDatabaseUser, new GridBagConstraints(1, 16, 1, 1, 0.5, 0.0 + this.add(fDatabaseUser, new GridBagConstraints(1, 17, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 5, 2, 0), 0, 0)); - this.add(lDatabasePassword, new GridBagConstraints(4, 16, 1, 1, 0.0, 0.0 + this.add(lDatabasePassword, new GridBagConstraints(4, 17, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fDatabasePassword, new GridBagConstraints(5, 16, 1, 1, 0.5, 0.0 + this.add(fDatabasePassword, new GridBagConstraints(5, 17, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 5, 2, 0), 0, 0)); - this.add(okDatabaseUser, new GridBagConstraints(6, 16, 1, 1, 0.0, 0.0 + this.add(okDatabaseUser, new GridBagConstraints(6, 17, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 0, 2, 5), 0, 0)); sectionLabel = new JLabel(res.getString("MailServer")); sectionLabel.setForeground(titledBorder.getTitleColor()); separator = new JSeparator(); - this.add(sectionLabel, new GridBagConstraints(0, 17, 6, 1, 0.0, 0.0 + this.add(sectionLabel, new GridBagConstraints(0, 18, 6, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(15, 5, 0, 0), 0, 0)); - this.add(separator, new GridBagConstraints(0, 18, 7, 1, 1.0, 0.0 + this.add(separator, new GridBagConstraints(0, 19, 7, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 10), 0, 0)); // Mail Server - Email lMailServer.setToolTipText(res.getString("MailServerInfo")); @@ -371,15 +380,15 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon lAdminEMail.setText(res.getString("AdminEMail")); fAdminEMail.setText("."); okMailServer.setEnabled(false); - this.add(lMailServer, new GridBagConstraints(0, 19, 1, 1, 0.0, 0.0 + this.add(lMailServer, new GridBagConstraints(0, 20, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 5, 2, 5), 0, 0)); - this.add(fMailServer, new GridBagConstraints(1, 19, 1, 1, 0.5, 0.0 + this.add(fMailServer, new GridBagConstraints(1, 20, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(5, 5, 2, 0), 0, 0)); - this.add(okMailServer, new GridBagConstraints(2, 19, 1, 1, 0.0, 0.0 + this.add(okMailServer, new GridBagConstraints(2, 20, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 2, 5), 0, 0)); - this.add(lAdminEMail, new GridBagConstraints(4, 19, 1, 1, 0.0, 0.0 + this.add(lAdminEMail, new GridBagConstraints(4, 20, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 5, 2, 5), 0, 0)); - this.add(fAdminEMail, new GridBagConstraints(5, 19, 1, 1, 0.5, 0.0 + this.add(fAdminEMail, new GridBagConstraints(5, 20, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(5, 5, 2, 0), 0, 0)); // Mail User = Password @@ -390,22 +399,22 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon lMailPassword.setText(res.getString("MailPassword")); fMailPassword.setText("."); okMailUser.setEnabled(false); - this.add(lMailUser, new GridBagConstraints(0, 20, 1, 1, 0.0, 0.0 + this.add(lMailUser, new GridBagConstraints(0, 21, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fMailUser, new GridBagConstraints(1, 20, 1, 1, 0.5, 0.0 + this.add(fMailUser, new GridBagConstraints(1, 21, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 5, 2, 0), 0, 0)); - this.add(lMailPassword, new GridBagConstraints(4, 20, 1, 1, 0.0, 0.0 + this.add(lMailPassword, new GridBagConstraints(4, 21, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(2, 5, 2, 5), 0, 0)); - this.add(fMailPassword, new GridBagConstraints(5, 20, 1, 1, 0.5, 0.0 + this.add(fMailPassword, new GridBagConstraints(5, 21, 1, 1, 0.5, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 5, 2, 0), 0, 0)); - this.add(okMailUser, new GridBagConstraints(6, 20, 1, 1, 0.0, 0.0 + this.add(okMailUser, new GridBagConstraints(6, 21, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 0, 2, 5), 0, 0)); //grap extra space when window is maximized JPanel filler = new JPanel(); filler.setOpaque(false); filler.setBorder(null); - this.add(filler, new GridBagConstraints(0, 21, 1, 1, 0.0, 1.0 + this.add(filler, new GridBagConstraints(0, 22, 1, 1, 0.0, 1.0 ,GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0)); // End @@ -414,11 +423,11 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon bSave.setToolTipText(res.getString("SaveInfo")); bSave.setText(res.getString("Save")); bHelp.setToolTipText(res.getString("HelpInfo")); - this.add(bTest, new GridBagConstraints(0, 22, 1, 1, 0.0, 0.0 + this.add(bTest, new GridBagConstraints(0, 23, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(15, 5, 10, 5), 0, 0)); - this.add(bHelp, new GridBagConstraints(3, 22, 2, 1, 0.0, 0.0 + this.add(bHelp, new GridBagConstraints(3, 23, 2, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(15, 5, 10, 5), 0, 0)); - this.add(bSave, new GridBagConstraints(5, 22, 2, 1, 0.0, 0.0 + this.add(bSave, new GridBagConstraints(5, 23, 2, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(15, 5, 10, 5), 0, 0)); // bAdempiereHome.addActionListener(this); @@ -558,6 +567,12 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon */ private void test() throws Exception { + cleanSignalOk (); + /* + * In order to allow the user see a refresh on the screen + * this Thread goes into sleep for 1000L milliseconds + */ + Thread.sleep(1000L); bSave.setEnabled(false); if (!m_data.test(this)) return; @@ -593,6 +608,32 @@ public class ConfigurationPanel extends JPanel implements ActionListener, IDBCon cb.setBackground(Color.GREEN); } // setOK + void cleanSignalOk (){ + okJavaHome.setBackground(null); + okJavaHome.setSelected(false); + okAdempiereHome.setBackground(null); + okAdempiereHome.setSelected(false); + okKeyStore.setBackground(null); + okKeyStore.setSelected(false); + okAppsServer.setBackground(null); + okAppsServer.setSelected(false); + okWebPort.setBackground(null); + okWebPort.setSelected(false); + okSSLPort.setBackground(null); + okSSLPort.setSelected(false); + okDatabaseServer.setBackground(null); + okDatabaseServer.setSelected(false); + okDatabaseUser.setBackground(null); + okDatabaseUser.setSelected(false); + okDatabaseSystem.setBackground(null); + okDatabaseSystem.setSelected(false); + okDatabaseSQL.setBackground(null); + okDatabaseSQL.setSelected(false); + okMailServer.setBackground(null); + okMailServer.setSelected(false); + okMailUser.setBackground(null); + okMailUser.setSelected(false); + } /************************************************************************** * Save Settings. diff --git a/org.adempiere.install/src/org/compiere/install/SetupRes.java b/org.adempiere.install/src/org/compiere/install/SetupRes.java index 1080c031dc..a6eed1c8a1 100644 --- a/org.adempiere.install/src/org/compiere/install/SetupRes.java +++ b/org.adempiere.install/src/org/compiere/install/SetupRes.java @@ -60,6 +60,7 @@ public class SetupRes extends ListResourceBundle { "MailServer", "Mail Server" }, { "AdminEMailInfo", "iDempiere Administrator EMail" }, { "AdminEMail", "Admin EMail" }, + { "DbExists", "DB Already Exists" }, { "DatabaseServerInfo", "Database Server Name" }, { "DatabaseServer", "Database Server" }, { "JavaHomeInfo", "Java Home Folder" }, diff --git a/org.adempiere.install/src/org/compiere/install/SetupRes_es.java b/org.adempiere.install/src/org/compiere/install/SetupRes_es.java index cdcc8ee97a..8f536d5a74 100644 --- a/org.adempiere.install/src/org/compiere/install/SetupRes_es.java +++ b/org.adempiere.install/src/org/compiere/install/SetupRes_es.java @@ -61,6 +61,7 @@ public class SetupRes_es extends ListResourceBundle { "MailServer", "Servidor Correo" }, { "AdminEMailInfo", "Email Administrador iDempiere" }, { "AdminEMail", "Email Admin" }, + { "DbExists", "Base de Datos Existe" }, { "DatabaseServerInfo", "Nombre Servidor Base de Datos" }, { "DatabaseServer", "Servidor Base de Datos" }, { "JavaHomeInfo", "Carpeta Java Home" }, diff --git a/org.adempiere.install/src/org/compiere/install/console/ConfigurationConsole.java b/org.adempiere.install/src/org/compiere/install/console/ConfigurationConsole.java index 55a47c5488..dcd87f0119 100644 --- a/org.adempiere.install/src/org/compiere/install/console/ConfigurationConsole.java +++ b/org.adempiere.install/src/org/compiere/install/console/ConfigurationConsole.java @@ -53,6 +53,7 @@ public class ConfigurationConsole { appServerWebPort(reader, writer); appServerSSLPort(reader, writer); + dbExists(reader, writer); dbType(reader, writer); dbHostname(reader, writer); dbPort(reader, writer); @@ -173,6 +174,7 @@ public class ConfigurationConsole { if (error != null && error.trim().length() > 0) { writer.println("Database test fail: " + error); + dbExists(reader, writer); dbType(reader, writer); dbHostname(reader, writer); dbPort(reader, writer); @@ -422,6 +424,23 @@ public class ConfigurationConsole { } } + private void dbExists(BufferedReader reader, PrintWriter writer) throws IOException { + String dbExists = data.getDatabaseExists() ? "Y" : "N"; + + writer.println("DB Already Exists?(Y/N) [" + dbExists + "]: "); + String yesNo = reader.readLine(); + if (yesNo == null || yesNo.trim().length() == 0) + yesNo = dbExists; + if ("n".equalsIgnoreCase(yesNo)) + { + data.setDatabaseExists("N"); + } + else + { + data.setDatabaseExists("Y"); + } + + } private void dbType(BufferedReader reader, PrintWriter writer) throws IOException { String dbType = data.getDatabaseType(); diff --git a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java index 7d2cfd20cf..86f4515cce 100644 --- a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java +++ b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java @@ -145,4 +145,9 @@ public class GridTab2PackExporter implements IGridTabExporter { public String getContentType() { return "application/zip"; } + + @Override + public String getSuggestedFileName(GridTab gridTab) { + return gridTab.getName() + "." + getFileExtension(); + } } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADWindowToolbar.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADWindowToolbar.java index ef051c716f..15c7c0f3d1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADWindowToolbar.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADWindowToolbar.java @@ -63,9 +63,9 @@ import org.zkoss.zul.Space; public class ADWindowToolbar extends FToolbar implements EventListener { /** - * + * */ - private static final long serialVersionUID = 904447827065380369L; + private static final long serialVersionUID = 3390505814516682801L; private static final String BTNPREFIX = "Btn"; @@ -90,7 +90,9 @@ public class ADWindowToolbar extends FToolbar implements EventListener private ToolBarButton btnChat; private ToolBarButton btnCustomize; - + + private ToolBarButton btnFileImport; + private ToolBarButton btnProcess; private HashMap buttons = new HashMap(); @@ -104,7 +106,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener private Map keyMap = new HashMap(); private Map altKeyMap = new HashMap(); private Map ctrlKeyMap = new HashMap(); - + private List toolbarCustomButtons = new ArrayList(); // Elaine 2008/12/04 @@ -153,7 +155,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener btnGridToggle = createButton("Toggle", "Multi", "Multi"); addSeparator(); btnParentRecord = createButton("ParentRecord", "Parent", "Parent"); - btnDetailRecord = createButton("DetailRecord", "Detail", "Detail"); + btnDetailRecord = createButton("DetailRecord", "Detail", "Detail"); addSeparator(); btnReport = createButton("Report", "Report", "Report"); btnArchive = createButton("Archive", "Archive", "Archive"); @@ -166,14 +168,14 @@ public class ADWindowToolbar extends FToolbar implements EventListener btnRequests = createButton("Requests", "Request", "Request"); btnProductInfo = createButton("ProductInfo", "Product", "InfoProduct"); btnProductInfo.setVisible(isAllowProductInfo); - + addSeparator(); btnCustomize= createButton("Customize", "Customize", "Customize"); btnCustomize.setDisabled(false); - + btnProcess= createButton("Process", "Process", "Process"); btnProcess.setDisabled(false); - + // Help and Exit should always be enabled btnHelp.setDisabled(false); @@ -186,6 +188,8 @@ public class ADWindowToolbar extends FToolbar implements EventListener btnArchive.setDisabled(false); // Elaine 2008/07/28 btnLock.setDisabled(!isPersonalLock); // Elaine 2008/12/04 + btnFileImport = createButton("FileImport", "FileImport", "FileImport"); + configureKeyMap(); setWidth("100%"); @@ -204,7 +208,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener btn.setImage("/images/"+image + "24.png"); btn.setTooltiptext(Msg.getMsg(Env.getCtx(),tooltip)); btn.setSclass("toolbar-button"); - + buttons.put(name, btn); this.appendChild(btn); //make toolbar button last to receive focus @@ -262,7 +266,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener keyMap.put(KeyEvent.F12, btnPrint); altKeyMap.put(KeyEvent.LEFT, btnParentRecord); - altKeyMap.put(KeyEvent.RIGHT, btnDetailRecord); + altKeyMap.put(KeyEvent.RIGHT, btnDetailRecord); altKeyMap.put(VK_P, btnReport); altKeyMap.put(VK_Z, btnIgnore); @@ -362,7 +366,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener } this.event = null; } - + public void enableTabNavigation(boolean enabled) { enableTabNavigation(enabled, enabled); @@ -440,12 +444,12 @@ public class ADWindowToolbar extends FToolbar implements EventListener { btnGridToggle.setDisabled(!enabled); } - + public void enableCustomize(boolean enabled) { btnCustomize.setDisabled(!enabled); } - + public void lock(boolean locked) { this.btnLock.setPressed(locked); @@ -539,10 +543,19 @@ public class ADWindowToolbar extends FToolbar implements EventListener this.windowNo = windowNo; } + /** + * Enable/disable file import button + * @param b + */ + public void enableFileImport(boolean b) { + if (btnFileImport != null) + btnFileImport.setDisabled(!b); + } + private boolean ToolBarMenuRestictionLoaded = false; public void updateToolbarAccess(int AD_Window_ID) { loadCustomButton(AD_Window_ID); - + if (ToolBarMenuRestictionLoaded) return; Properties m_ctx = Env.getCtx(); @@ -597,21 +610,21 @@ public class ADWindowToolbar extends FToolbar implements EventListener ToolBarButton btn = createButton(mToolBarButton.getComponentName(), null, tooltiptext); btn.removeEventListener(Events.ON_CLICK, this); btn.setDisabled(false); - + AImage aImage = Actions.getActionImage(actionId); if (aImage != null) { btn.setImageContent(aImage); } else { btn.setLabel(label); } - + ToolbarCustomButton toolbarCustomBtn = new ToolbarCustomButton(mToolBarButton, btn, actionId, windowNo); toolbarCustomButtons.add(toolbarCustomBtn); - + appendChild(btn); } } - } + } } public void enableProcessButton(boolean b) { diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java index 4ec4d4e662..e03738b036 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java @@ -59,6 +59,7 @@ import org.adempiere.webui.panel.ADForm; import org.adempiere.webui.panel.InfoPanel; import org.adempiere.webui.panel.WAttachment; import org.adempiere.webui.panel.WDocActionPanel; +import org.adempiere.webui.panel.action.FileImportAction; import org.adempiere.webui.panel.action.ReportAction; import org.adempiere.webui.part.AbstractUIPart; import org.adempiere.webui.session.SessionManager; @@ -172,7 +173,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements private boolean m_queryInitiating; protected BreadCrumb breadCrumb; - + /** * Constructor * @param ctx @@ -202,11 +203,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements return super.createPart(parent); } - public BreadCrumb getBreadCrumb() + public BreadCrumb getBreadCrumb() { return breadCrumb; } - + /** * @return StatusBarPanel */ @@ -239,7 +240,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements ((HtmlBasedComponent)adTabPanel).focus(); } } - + /** * @param adWindowId * @param query @@ -321,11 +322,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements Env.setContext(ctx, curWindowNo, "WindowName", gridWindow.getName()); Env.setContext(ctx, curWindowNo, "AD_Window_ID", gridWindow.getAD_Window_ID()); Env.setContext(ctx, curWindowNo, "AD_Window_UU", gridWindow.getAD_Window_UU()); - + if (gridTab != null) gridTab.getTableModel().setChanged(false); - adTabbox.setSelectedIndex(0); + adTabbox.setSelectedIndex(0); // all fields context for window is clear at AbstractADTab.prepareContext, set again IsSOTrx for window Env.setContext(ctx, curWindowNo, "IsSOTrx", gridWindow.isSOTrx()); toolbar.enableTabNavigation(adTabbox.getTabCount() > 1); @@ -471,7 +472,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements }, new Event("onInsert")); } } - + /** * @param query * @param tabIndex @@ -481,7 +482,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements final GridTab gTab = gridWindow.getTab(tabIndex); Env.setContext(ctx, curWindowNo, tabIndex, GridTab.CTX_TabLevel, Integer.toString(gTab.getTabLevel())); - + // Query first tab if (tabIndex == 0) { @@ -491,31 +492,31 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements @Override public void onCallback(MQuery result) { m_queryInitiating = false; - + if (m_findCancelled) { SessionManager.getAppDesktop().closeWindow(curWindowNo); return; } - + if (!getComponent().isVisible()) getComponent().setVisible(true); - + // Set initial Query on first tab if (result != null) { m_onlyCurrentRows = false; gTab.setQuery(result); } - - if (adTabbox.getSelectedTabpanel() != null) + + if (adTabbox.getSelectedTabpanel() != null) { initFirstTabpanel(); - + initQueryOnNew(result); } } - - }); + + }); // curTab = gTab; } @@ -527,7 +528,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements sortTab.registerAPanel(this); if (tabIndex == 0) { sortTab.createUI(); - if (!m_queryInitiating) + if (!m_queryInitiating) { initFirstTabpanel(); } @@ -543,18 +544,18 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements adTabbox.addTab(gTab, fTabPanel); if (tabIndex == 0) { fTabPanel.createUI(); - if (!m_queryInitiating) + if (!m_queryInitiating) { initFirstTabpanel(); } } - - if (!m_queryInitiating && tabIndex == 0) + + if (!m_queryInitiating && tabIndex == 0) { initQueryOnNew(query); } } - + return gTab; } @@ -618,11 +619,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { m_findCancelled = false; m_findCreateNew = false; - GridField[] findFields = mTab.getFields(); + GridField[] findFields = mTab.getFields(); findWindow = new FindWindow(curWindowNo, mTab.getName(), mTab.getAD_Table_ID(), mTab.getTableName(), where.toString(), findFields, 10, mTab.getAD_Tab_ID()); // no query below 10 - if (findWindow.initialize()) + if (findWindow.initialize()) { findWindow.addEventListener(DialogEvents.ON_WINDOW_CLOSE, new EventListener() { @Override @@ -649,7 +650,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements LayoutUtils.openPopupWindow(getComponent(), findWindow, "overlap"); } }); - Events.echoEvent("onInitialQuery", getComponent(), null); + Events.echoEvent("onInitialQuery", getComponent(), null); } else { @@ -681,7 +682,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public void onParentRecord() { List parents = breadCrumb.getParentLinks(); - if (!parents.isEmpty()) { + if (!parents.isEmpty()) { Events.sendEvent(parents.get(parents.size()-1), new Event(Events.ON_CLICK, parents.get(parents.size()-1))); } } @@ -697,7 +698,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (result) { adTabbox.getSelectedGridTab().navigate(0); focusToActivePanel(); - } + } } }; saveAndNavigate(callback); @@ -748,7 +749,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (result) { adTabbox.getSelectedGridTab().navigateRelative(-1); focusToActivePanel(); - } + } } }; saveAndNavigate(callback); @@ -803,7 +804,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements } }); - AEnv.showWindow(recordAccessDialog); + AEnv.showWindow(recordAccessDialog); } }); @@ -839,7 +840,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements }; // Attachment va = new WAttachment ( curWindowNo, adTabbox.getSelectedGridTab().getAD_AttachmentID(), - adTabbox.getSelectedGridTab().getAD_Table_ID(), record_ID, null, listener); + adTabbox.getSelectedGridTab().getAD_Table_ID(), record_ID, null, listener); } public void onChat() @@ -876,7 +877,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements toolbar.getButton("Chat").setPressed(adTabbox.getSelectedGridTab().hasChat()); focusToActivePanel(); } - }); + }); chat.showWindow(); } @@ -916,12 +917,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (CompositeADTabbox.ON_SELECTION_CHANGED_EVENT.equals(event.getName())) { Object eventData = event.getData(); - + if (eventData != null && eventData instanceof Object[] && ((Object[])eventData).length == 2) { Object[] indexes = (Object[]) eventData; int newTabIndex = (Integer)indexes[1]; - + final int originalTabIndex = adTabbox.getSelectedIndex(); final int originalTabRow = adTabbox.getSelectedGridTab().getCurrentRow(); setActiveTab(newTabIndex, new Callback() { @@ -937,9 +938,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements //reset to original adTabbox.setSelectedIndex(originalTabIndex); } - + } - }); + }); } } else if (event.getTarget() instanceof ProcessModalDialog) @@ -954,7 +955,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (adtab == adTabbox.getSelectedTabpanel()) { toolbar.enableProcessButton(adtab.getToolbarButtons().size() > 0); toolbar.dynamicDisplay(); - } + } } } @@ -982,7 +983,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements }; saveAndNavigate(command); } - + } public void saveAndNavigate(final Callback callback) { @@ -998,7 +999,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { onSave(false, true, callback); } - else + else { // new record, but nothing changed adTabbox.dataIgnore(); @@ -1016,7 +1017,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements final Callback callback) { boolean back = false; IADTabpanel oldTabpanel = adTabbox.getSelectedTabpanel(); - + if (!adTabbox.updateSelectedIndex(oldTabIndex, newTabIndex)) { FDialog.warn(curWindowNo, "TabSwitchJumpGo", title); @@ -1025,7 +1026,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements return; } - + IADTabpanel newTabpanel = adTabbox.getSelectedTabpanel(); boolean activated = newTabpanel.isActive(); @@ -1078,7 +1079,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements } updateToolbar(); - + breadCrumb.setNavigationToolbarVisibility(!adTabbox.getSelectedGridTab().isSortTab()); if (callback != null) @@ -1118,9 +1119,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements //ignore non-ui thread event. if (Executions.getCurrent() == null) return; - + boolean detailTab = false; - if (e.getSource() instanceof GridTable) + if (e.getSource() instanceof GridTable) { GridTable gridTable = (GridTable) e.getSource(); if (adTabbox.getSelectedGridTab() != null && adTabbox.getSelectedGridTab().getTableModel() != gridTable) { @@ -1132,7 +1133,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (adTabbox.getSelectedGridTab() != gridTab) detailTab = true; } - if (!detailTab) + if (!detailTab) { logger.info(e.getMessage()); String dbInfo = e.getMessage(); @@ -1147,7 +1148,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements // Set Message / Info if (e.getAD_Message() != null || e.getInfo() != null) { - if (GridTab.DEFAULT_STATUS_MESSAGE.equals(e.getAD_Message())) + if (GridTab.DEFAULT_STATUS_MESSAGE.equals(e.getAD_Message())) { if (detailTab) { adTabbox.setDetailPaneStatusMessage("", false); @@ -1162,7 +1163,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (msg != null && msg.length() > 0) { sb.append(Msg.getMsg(Env.getCtx(), e.getAD_Message())); - } + } String info = e.getInfo(); if (info != null && info.length() > 0) { @@ -1186,13 +1187,13 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements } } - IADTabpanel tabPanel = detailTab ? adTabbox.getSelectedDetailADTabpanel() + IADTabpanel tabPanel = detailTab ? adTabbox.getSelectedDetailADTabpanel() : getADTab().getSelectedTabpanel(); - + // Confirm Error if (e.isError() && !e.isConfirmed() && tabPanel instanceof ADTabpanel) { - //focus to error field + //focus to error field GridField[] fields = tabPanel.getGridTab().getFields(); for (GridField field : fields) { @@ -1207,18 +1208,20 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements // Confirm Warning else if (e.isWarning() && !e.isConfirmed()) { - FDialog.warn(curWindowNo, null, e.getAD_Message(), e.getInfo()); - e.setConfirmed(true); // show just once - if MTable.setCurrentRow is involved the status event is re-issued + if (! adTabbox.getSelectedGridTab().getTableModel().isImporting()) { + FDialog.warn(curWindowNo, null, e.getAD_Message(), e.getInfo()); + e.setConfirmed(true); // show just once - if MTable.setCurrentRow is involved the status event is re-issued + } } boolean changed = e.isChanged() || e.isInserting(); - boolean readOnly = tabPanel.getGridTab().isReadOnly(); + boolean readOnly = adTabbox.getSelectedGridTab().isReadOnly(); boolean insertRecord = !readOnly; - if (!detailTab) + if (!detailTab) { - // update Change - boolChanges = changed; - + // update Change + boolChanges = changed; + if (insertRecord) { insertRecord = tabPanel.getGridTab().isInsertRecord(); @@ -1341,10 +1344,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements toolbar.enablePrint(adTabbox.getSelectedGridTab().isPrinted()); toolbar.enableReport(true); - + toolbar.enableFileImport(!changed && !adTabbox.getSelectedGridTab().isSortTab() && adTabbox.getSelectedGridTab().isInsertRecord()); + //Deepak-Enabling customize button IDEMPIERE-364 if(!(adTabbox.getSelectedTabpanel() instanceof ADSortTab)) - toolbar.enableCustomize(((ADTabpanel)adTabbox.getSelectedTabpanel()).isGridView()); + toolbar.enableCustomize(((ADTabpanel)adTabbox.getSelectedTabpanel()).isGridView()); } /** @@ -1364,7 +1368,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { onRefresh(fireEvent, true); } - + /** * refresh all row * @param fireEvent @@ -1375,14 +1379,14 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (saveCurrentRow) { onSave(false, true, new Callback() { - + @Override public void onCallback(Boolean result) { adTabbox.getSelectedGridTab().dataRefreshAll(fireEvent, true); adTabbox.getSelectedTabpanel().dynamicDisplay(0); focusToActivePanel(); } - }); + }); } else { @@ -1423,7 +1427,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements saveAndNavigate(new Callback() { @Override public void onCallback(Boolean result) { - if (result) + if (result) { newRecord = adTabbox.getSelectedGridTab().dataNew(false); if (newRecord) @@ -1442,9 +1446,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements logger.severe("Could not create new record"); } focusToActivePanel(); - } + } } - }); + }); } // Elaine 2008/11/19 @@ -1493,14 +1497,14 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public void onCallback(Boolean result) { if (result) { doOnFind(); - } + } } - }); + }); } private void doOnFind() { adTabbox.dataIgnore(); - + // Gets Fields from AD_Field_v GridField[] findFields = adTabbox.getSelectedGridTab().getFields(); if (findWindow == null || !findWindow.validate(adTabbox.getSelectedGridTab().getWindowNo(), adTabbox.getSelectedGridTab().getName(), @@ -1509,15 +1513,15 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements findWindow = new FindWindow (adTabbox.getSelectedGridTab().getWindowNo(), adTabbox.getSelectedGridTab().getName(), adTabbox.getSelectedGridTab().getAD_Table_ID(), adTabbox.getSelectedGridTab().getTableName(), adTabbox.getSelectedGridTab().getWhereExtended(), findFields, 1, adTabbox.getSelectedGridTab().getAD_Tab_ID()); - + if (!findWindow.initialize()) { if (findWindow.getTotalRecords() == 0) { FDialog.info(curWindowNo, getComponent(), "NoRecordsFound"); } return; - } + } } - + if (!findWindow.getEventListeners(DialogEvents.ON_WINDOW_CLOSE).iterator().hasNext()) { findWindow.addEventListener(DialogEvents.ON_WINDOW_CLOSE, new EventListener() { @Override @@ -1525,7 +1529,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (!findWindow.isCancel()) { MQuery query = findWindow.getQuery(); - + // Confirmed query if (query != null) { @@ -1533,7 +1537,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements adTabbox.getSelectedGridTab().setQuery(query); adTabbox.getSelectedTabpanel().query(m_onlyCurrentRows, m_onlyCurrentDays, MRole.getDefault().getMaxQueryRecords()); // autoSize } - + if (findWindow.isCreateNew()) onNew(); else @@ -1572,8 +1576,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements } else if (dirtyTabpanel != null) { dirtyTabpanel.getGridTab().dataRefresh(true); // update statusbar & toolbar dirtyTabpanel.dynamicDisplay(0); - } - + } + } if (dirtyTabpanel != null) focusToTabpanel(dirtyTabpanel); @@ -1587,14 +1591,14 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements final IADTabpanel dirtyTabpanel = adTabbox.getDirtyADTabpanel(); onSave(true, false, new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if (result) { String statusLine = breadCrumb.getStatusLine(); adTabbox.getSelectedGridTab().dataRefreshAll(true, true); - breadCrumb.setStatusLine(statusLine); - } + breadCrumb.setStatusLine(statusLine); + } if (dirtyTabpanel != null) { if (dirtyTabpanel == adTabbox.getSelectedDetailADTabpanel()) Clients.scrollIntoView(dirtyTabpanel); @@ -1603,18 +1607,18 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements focusToActivePanel(); } } - }); + }); } - + public void onSavePayment() { onSave(false, false, new Callback() { - + @Override public void onCallback(Boolean result) { onRefresh(false, false); } - + }); } @@ -1622,7 +1626,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements * @param onSaveEvent */ private void onSave(final boolean onSaveEvent, final boolean onNavigationEvent, final Callback callback) - { + { final boolean wasChanged = toolbar.isSaveEnable(); IADTabpanel dirtyTabpanel = adTabbox.getDirtyADTabpanel(); final boolean newRecord = dirtyTabpanel != null ? (dirtyTabpanel.getGridTab().getRecord_ID() <= 0) @@ -1631,7 +1635,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { ADSortTab sortTab = (ADSortTab) dirtyTabpanel; sortTab.saveData(); - + if (!onNavigationEvent) { toolbar.enableSave(sortTab.isChanged()); // set explicitly @@ -1648,21 +1652,21 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements callback.onCallback(true); } else - { - if ((dirtyTabpanel != null && dirtyTabpanel.getGridTab().getCommitWarning() != null + { + if ((dirtyTabpanel != null && dirtyTabpanel.getGridTab().getCommitWarning() != null && dirtyTabpanel.getGridTab().getCommitWarning().trim().length() > 0) || (!Env.isAutoCommit(ctx, curWindowNo) && onNavigationEvent)) { FDialog.ask(curWindowNo, this.getComponent(), "SaveChanges?", dirtyTabpanel.getGridTab().getCommitWarning(), new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if (result) { onSave0(onSaveEvent, onNavigationEvent, newRecord, wasChanged, callback); } - else + else { if (callback != null) callback.onCallback(false); @@ -1692,12 +1696,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { dirtyTabpanel.getGridTab().setCurrentRow(dirtyTabpanel.getGridTab().getCurrentRow()); } - + if (!navigationEvent && dirtyTabpanel != null) { dirtyTabpanel.dynamicDisplay(0); dirtyTabpanel.afterSave(onSaveEvent); } - + IADTabpanel dirtyTabpanel2 = adTabbox.getDirtyADTabpanel(); if (dirtyTabpanel2 != null && dirtyTabpanel2 != dirtyTabpanel) { onSave(onSaveEvent, navigationEvent, callback); @@ -1758,7 +1762,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements onSave(true, true, new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if(result) { @@ -1766,7 +1770,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements onNew(); } } - }); + }); } /** @@ -1782,13 +1786,13 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements FDialog.ask(curWindowNo, null, "DeleteRecord?", new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if (result) { //error will be catch in the dataStatusChanged event adTabbox.getSelectedGridTab().dataDelete(); - + adTabbox.getSelectedTabpanel().dynamicDisplay(0); focusToActivePanel(); } @@ -1930,7 +1934,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements FDialog.ask(curWindowNo, messagePanel, "DeleteSelection", new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if (result) { @@ -1964,8 +1968,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements logger.fine("cancel"); } } - - }); + + }); } }); hbox.appendChild(btnOk); @@ -1991,7 +1995,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements focusToActivePanel(); } }); - AEnv.showWindow(messagePanel); + AEnv.showWindow(messagePanel); } // @@ -2024,10 +2028,10 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements dialog.setPage(AbstractADWindowContent.this.getComponent().getPage()); dialog.doHighlighted(); } - } + } } }; - onSave(false, false, callback); + onSave(false, false, callback); } /** @@ -2045,8 +2049,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements @Override public void onCallback(Boolean result) { if (result) { - onReport0(); - } + onReport0(); + } } }; onSave(false, false, callback); @@ -2152,6 +2156,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements // + @Override + public void onFileImport() { + FileImportAction action = new FileImportAction(this); + action.fileImport(); + } + /************************************************************************** * Start Button Process * @param vButton button @@ -2187,7 +2197,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public void onCallback(Boolean result) { if (result) { actionButton0(col, wButton); - } + } } }); } @@ -2196,11 +2206,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements actionButton0(col, wButton); } } - + /************************************************************************** * Start Button Process - * @param col - * @param wButton + * @param col + * @param wButton */ private void actionButton0 (String col, final IProcessButton wButton) { @@ -2254,13 +2264,13 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public void onCallback(Boolean result) { onRefresh(false, false); } - - }); - } + + }); + } } }); AEnv.showWindow(vp); - } + } return; } // PaymentRule @@ -2278,10 +2288,10 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements { final int recordIdParam = record_ID; win.setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED); - win.setPosition("center"); + win.setPosition("center"); win.addEventListener(DialogEvents.ON_WINDOW_CLOSE, new EventListener() { - public void onEvent(Event event) throws Exception { - if (!win.isStartProcess()) { + public void onEvent(Event event) throws Exception { + if (!win.isStartProcess()) { return; } boolean startWOasking = true; @@ -2289,9 +2299,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements executeButtonProcess(wButton, startWOasking, table_ID, recordIdParam, isProcessMandatory); } }); - AEnv.showWindow(win); + AEnv.showWindow(win); return; - } + } } // DocAction // Pop up Create From @@ -2314,7 +2324,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements } } }); - cf.showWindow(); + cf.showWindow(); } return; } @@ -2370,7 +2380,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements FDialog.ask(curWindowNo, null, "PostImmediate?", new Callback() { @Override - public void onCallback(Boolean result) + public void onCallback(Boolean result) { if (result) { @@ -2383,7 +2393,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements breadCrumb.setStatusLine(error, true); onRefresh(false, false); - } + } } }); } @@ -2422,9 +2432,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public void onCallback(Boolean result) { if (result) { executeButtonProcess0(wButton, startWOasking, table_ID, record_ID); - } + } } - }); + }); } else { @@ -2467,7 +2477,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements else { onRefresh(false, false); - } + } } } @@ -2523,7 +2533,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements IADTabpanel adtab = null; if (button.getADTabpanel() != null) return button.getADTabpanel(); - + Component c = button instanceof WEditor ? ((WEditor)button).getComponent() : (Component)button; while (c != null) { if (c instanceof IADTabpanel) { @@ -2626,7 +2636,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements public int getWindowNo() { return curWindowNo; } - + /** * @see ToolbarListener#onCustomize() */ @@ -2639,12 +2649,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements ArrayList gridFieldIds = new ArrayList(); for (int i = 0; i < fields.length; i++) { Column column = (Column) columnList.get(i+1); - String width = column.getWidth(); + String width = column.getWidth(); columnsWidth.put(fields[i].getAD_Field_ID(), width); gridFieldIds.add(fields[i].getAD_Field_ID()); - + } - CustomizeGridViewDialog.showCustomize(0, adTabbox.getSelectedGridTab().getAD_Tab_ID(), columnsWidth,gridFieldIds,tabPanel.getGridView()); + CustomizeGridViewDialog.showCustomize(0, adTabbox.getSelectedGridTab().getAD_Tab_ID(), columnsWidth,gridFieldIds,tabPanel.getGridView()); } /** @@ -2655,7 +2665,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements ProcessButtonPopup popup = new ProcessButtonPopup(); ADTabpanel adtab = (ADTabpanel) adTabbox.getSelectedTabpanel(); popup.render(adtab.getToolbarButtons()); - + LayoutUtils.openPopupWindow(toolbar.getButton("Process"), popup, "after_start"); } } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ToolbarListener.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ToolbarListener.java index 52dcdb4fc4..241e4811c4 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ToolbarListener.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ToolbarListener.java @@ -159,11 +159,16 @@ public interface ToolbarListener * Copy current record as a new record */ public void onCopy(); - + + /** + * File import data + */ + public void onFileImport(); + /** * Customize grid view. */ public void onCustomize(); - + public void onProcess(); } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java new file mode 100644 index 0000000000..d8fd6aad1d --- /dev/null +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java @@ -0,0 +1,277 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2012 Trek Global * + * Copyright (C) 2012 Carlos Ruiz * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.webui.panel.action; + +import java.io.File; +import java.io.InputStream; +import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.adempiere.base.IGridTabImporter; +import org.adempiere.base.Service; +import org.adempiere.exceptions.AdempiereException; +import org.adempiere.webui.adwindow.AbstractADWindowContent; +import org.adempiere.webui.adwindow.IADTabbox; +import org.adempiere.webui.adwindow.IADTabpanel; +import org.adempiere.webui.apps.AEnv; +import org.adempiere.webui.component.Button; +import org.adempiere.webui.component.ConfirmPanel; +import org.adempiere.webui.component.Label; +import org.adempiere.webui.component.ListItem; +import org.adempiere.webui.component.Listbox; +import org.adempiere.webui.component.Window; +import org.adempiere.webui.util.ReaderInputStream; +import org.adempiere.webui.window.FDialog; +import org.compiere.model.GridTab; +import org.compiere.util.Env; +import org.compiere.util.Ini; +import org.compiere.util.Msg; +import org.zkoss.util.media.AMedia; +import org.zkoss.util.media.Media; +import org.zkoss.zk.ui.event.Event; +import org.zkoss.zk.ui.event.EventListener; +import org.zkoss.zk.ui.event.Events; +import org.zkoss.zk.ui.event.UploadEvent; +import org.zkoss.zul.Div; +import org.zkoss.zul.Filedownload; +import org.zkoss.zul.Hbox; +import org.zkoss.zul.Vbox; + +/** + * + * @author Carlos Ruiz + * + */ +public class FileImportAction implements EventListener +{ + private AbstractADWindowContent panel; + + private Map importerMap = null; + private Map extensionMap = null; + + private Window winImportFile = null; + private ConfirmPanel confirmPanel = new ConfirmPanel(true); + private Listbox cboType = new Listbox(); + private Button bFile = new Button(); + private Listbox fCharset = new Listbox(); + private InputStream m_file_istream = null; + + /** + * @param panel + */ + public FileImportAction(AbstractADWindowContent panel) + { + this.panel = panel; + } + + /** + * execute import action + */ + public void fileImport() + { + // charset + Charset[] charsets = Ini.getAvailableCharsets(); + for (int i = 0; i < charsets.length; i++) + fCharset.appendItem(charsets[i].displayName(), charsets[i]); + Charset charset = Ini.getCharset(); + for (int i = 0; i < fCharset.getItemCount(); i++) + { + ListItem listitem = fCharset.getItemAtIndex(i); + Charset compare = (Charset)listitem.getValue(); + + if (charset == compare) + { + fCharset.setSelectedIndex(i); + break; + } + } + // TODO: change the streamreader when changing the charset + // fCharset.addEventListener(Events.ON_SELECT, this); + + importerMap = new HashMap(); + extensionMap = new HashMap(); + List importerList = Service.list(IGridTabImporter.class); + for(IGridTabImporter importer : importerList) + { + String extension = importer.getFileExtension(); + if (!extensionMap.containsKey(extension)) + { + extensionMap.put(extension, importer.getFileExtensionLabel()); + importerMap.put(extension, importer); + } + } + + if (winImportFile == null) + { + winImportFile = new Window(); + winImportFile.setTitle(Msg.getMsg(Env.getCtx(), "FileImport") + ": " + panel.getActiveGridTab().getName()); + winImportFile.setWidth("450px"); + winImportFile.setClosable(true); + winImportFile.setBorder("normal"); + winImportFile.setStyle("position:absolute"); + + cboType.setMold("select"); + + cboType.getItems().clear(); + for(Map.Entry entry : extensionMap.entrySet()) + { + cboType.appendItem(entry.getKey() + " - " + entry.getValue(), entry.getKey()); + } + + cboType.setSelectedIndex(0); + + Vbox vb = new Vbox(); + vb.setWidth("100%"); + winImportFile.appendChild(vb); + + Hbox hb = new Hbox(); + Div div = new Div(); + div.setAlign("right"); + div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); + hb.appendChild(div); + hb.appendChild(cboType); + cboType.setWidth("100%"); + vb.appendChild(hb); + + hb = new Hbox(); + bFile.setLabel(Msg.getMsg(Env.getCtx(), "FileImportFile")); + bFile.setTooltiptext(Msg.getMsg(Env.getCtx(), "FileImportFileInfo")); + bFile.setUpload("true"); + bFile.addEventListener(Events.ON_UPLOAD, this); + hb.appendChild(bFile); + vb.appendChild(hb); + + hb = new Hbox(); + fCharset.setMold("select"); + fCharset.setRows(0); + fCharset.setTooltiptext(Msg.getMsg(Env.getCtx(), "Charset", false)); + hb.appendChild(fCharset); + vb.appendChild(hb); + + vb.appendChild(confirmPanel); + confirmPanel.addActionListener(this); + } + + winImportFile.setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED); + AEnv.showWindow(winImportFile); + } + + @Override + public void onEvent(Event event) throws Exception { + if (event instanceof UploadEvent) + { + UploadEvent ue = (UploadEvent) event; + processUploadMedia(ue.getMedia()); + } else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL)) { + winImportFile.onClose(); + } + else if (event.getTarget().getId().equals(ConfirmPanel.A_OK)) { + // TODO: Verify that file and charset are mandatory + importFile(); + } + } + + private void processUploadMedia(Media media) { + if (media == null) + return; + + if (media.isBinary()) { + m_file_istream = media.getStreamData(); + } + else { + ListItem listitem = fCharset.getSelectedItem(); + if (listitem == null) { + m_file_istream = new ReaderInputStream(media.getReaderData()); + } else { + Charset charset = (Charset)listitem.getValue(); + m_file_istream = new ReaderInputStream(media.getReaderData(), charset.name()); + } + } + + bFile.setLabel(media.getName()); + } + + private void importFile() { + try { + ListItem li = cboType.getSelectedItem(); + if(li == null || li.getValue() == null) + { + FDialog.error(0, winImportFile, "FileInvalidExtension"); + return; + } + + String ext = li.getValue().toString(); + IGridTabImporter importer = importerMap.get(ext); + if (importer == null) + { + FDialog.error(0, winImportFile, "FileInvalidExtension"); + return; + } + + IADTabbox adTab = panel.getADTab(); + int selected = adTab.getSelectedIndex(); + int tabLevel = panel.getActiveGridTab().getTabLevel(); + Set tables = new HashSet(); + List childs = new ArrayList(); + List includedList = panel.getActiveGridTab().getIncludedTabs(); + for(GridTab included : includedList) + { + String tableName = included.getTableName(); + if (tables.contains(tableName)) + continue; + tables.add(tableName); + childs.add(included); + } + for(int i = selected+1; i < adTab.getTabCount(); i++) + { + IADTabpanel adTabPanel = adTab.getADTabpanel(i); + if (adTabPanel.getGridTab().isSortTab()) + continue; + if (adTabPanel.getGridTab().getTabLevel() <= tabLevel) + break; + String tableName = adTabPanel.getGridTab().getTableName(); + if (tables.contains(tableName)) + continue; + tables.add(tableName); + childs.add(adTabPanel.getGridTab()); + } + + ListItem listitem = fCharset.getSelectedItem(); + Charset charset = null; + if (listitem == null) + return; + charset = (Charset)listitem.getValue(); + + File outFile = importer.fileImport(panel.getActiveGridTab(), childs, m_file_istream, charset); + winImportFile.onClose(); + winImportFile = null; + + AMedia media = null; + media = new AMedia(importer.getSuggestedFileName(panel.getActiveGridTab()), null, importer.getContentType(), outFile, true); + Filedownload.save(media, panel.getActiveGridTab().getName() + "." + ext); + + } catch (Exception e) { + throw new AdempiereException(e); + } finally { + if (winImportFile != null) + winImportFile.onClose(); + } + } +} diff --git a/org.adempiere.ui.zk/images/FileImport16.png b/org.adempiere.ui.zk/images/FileImport16.png new file mode 100644 index 0000000000..f8fde8390d Binary files /dev/null and b/org.adempiere.ui.zk/images/FileImport16.png differ diff --git a/org.adempiere.ui.zk/images/FileImport24.png b/org.adempiere.ui.zk/images/FileImport24.png new file mode 100644 index 0000000000..432727a744 Binary files /dev/null and b/org.adempiere.ui.zk/images/FileImport24.png differ diff --git a/org.compiere.db.oracle.provider/src/org/adempiere/db/oracle/config/ConfigOracle.java b/org.compiere.db.oracle.provider/src/org/adempiere/db/oracle/config/ConfigOracle.java index 0bac97f447..80d0bc9b49 100644 --- a/org.compiere.db.oracle.provider/src/org/adempiere/db/oracle/config/ConfigOracle.java +++ b/org.compiere.db.oracle.provider/src/org/adempiere/db/oracle/config/ConfigOracle.java @@ -325,7 +325,7 @@ public class ConfigOracle implements IDatabaseConfig log.info("OK: Database Port = " + databasePort); data.setProperty(ConfigurationData.ADEMPIERE_DB_PORT, String.valueOf(databasePort)); - + boolean isDBExists = data.getDatabaseExists(); // JDBC Database Info String databaseName = data.getDatabaseName(); // Service Name String systemPassword = data.getDatabaseSystemPassword(); @@ -334,8 +334,13 @@ public class ConfigOracle implements IDatabaseConfig if (monitor != null) monitor.update(new DBConfigStatus(DBConfigStatus.DATABASE_SYSTEM_PASSWORD, "ErrorJDBC", pass, true, error)); - if (!pass) - return error; + if (!pass) { + if (isDBExists) { + log.warning(error); + } else { + return error; + } + } // // URL (derived) jdbc:oracle:thin:@//prod1:1521/prod1 String url = "jdbc:oracle:thin:@//" + databaseServer.getHostName() @@ -371,7 +376,7 @@ public class ConfigOracle implements IDatabaseConfig error = "Cannot connect to User: " + databaseUser + "/" + databasePassword + " - Database may not be imported yet (OK on initial run)."; if (monitor != null) monitor.update(new DBConfigStatus(DBConfigStatus.DATABASE_USER, "ErrorJDBC", - pass, false, error)); + pass, true, error)); if (pass) { log.info("OK: Database User = " + databaseUser); @@ -379,10 +384,16 @@ public class ConfigOracle implements IDatabaseConfig data.setProperty(ConfigurationData.ADEMPIERE_WEBSTORES, data.getWebStores(m_con)); } else - log.warning(error); + { + if (isDBExists) { + return error; + } else { + log.warning(error); + } + } data.setProperty(ConfigurationData.ADEMPIERE_DB_USER, databaseUser); data.setProperty(ConfigurationData.ADEMPIERE_DB_PASSWORD, databasePassword); - + data.setProperty(ConfigurationData.ADEMPIERE_DB_EXISTS, (isDBExists ? "Y" : "N")); String ospath; if (System.getProperty("os.name").startsWith("Windows")) ospath = "windows"; diff --git a/org.compiere.db.postgresql.provider/src/org/adempiere/db/postgresql/config/ConfigPostgreSQL.java b/org.compiere.db.postgresql.provider/src/org/adempiere/db/postgresql/config/ConfigPostgreSQL.java index c87b976ccd..28edaf9ef5 100755 --- a/org.compiere.db.postgresql.provider/src/org/adempiere/db/postgresql/config/ConfigPostgreSQL.java +++ b/org.compiere.db.postgresql.provider/src/org/adempiere/db/postgresql/config/ConfigPostgreSQL.java @@ -118,7 +118,7 @@ public class ConfigPostgreSQL implements IDatabaseConfig log.info("OK: Database Port = " + databasePort); data.setProperty(ConfigurationData.ADEMPIERE_DB_PORT, String.valueOf(databasePort)); - + boolean isDBExists = data.getDatabaseExists(); // JDBC Database Info String databaseName = data.getDatabaseName(); // Service Name String systemPassword = data.getDatabaseSystemPassword(); @@ -132,8 +132,13 @@ public class ConfigPostgreSQL implements IDatabaseConfig if (monitor != null) monitor.update(new DBConfigStatus(DBConfigStatus.DATABASE_SYSTEM_PASSWORD, "ErrorJDBC", pass, true, error)); - if (!pass) - return error; + if (!pass) { + if (isDBExists) { + log.warning(error); + } else { + return error; + } + } log.info("OK: System Connection = " + urlSystem); data.setProperty(ConfigurationData.ADEMPIERE_DB_SYSTEM, systemPassword); @@ -141,13 +146,6 @@ public class ConfigPostgreSQL implements IDatabaseConfig // Database User Info String databaseUser = data.getDatabaseUser(); // UID String databasePassword = data.getDatabasePassword(); // PWD - pass = databasePassword != null && databasePassword.length() > 0; - error = "Invalid Database User Password"; - if (monitor != null) - monitor.update(new DBConfigStatus(DBConfigStatus.DATABASE_USER, "ErrorJDBC", - pass, true, error)); - if (!pass) - return error; // String url= p_db.getConnectionURL(databaseServer.getHostName(), databasePort, databaseName, databaseUser); @@ -156,15 +154,24 @@ public class ConfigPostgreSQL implements IDatabaseConfig error = "Database imported? Cannot connect to User: " + databaseUser + "/" + databasePassword; if (monitor != null) monitor.update(new DBConfigStatus(DBConfigStatus.DATABASE_USER, "ErrorJDBC", - pass, false, error)); + pass, true, error)); if (pass) + { log.info("OK: Database User = " + databaseUser); + } else - log.warning(error); + { + if (isDBExists) { + return error; + } else { + log.warning(error); + } + } data.setProperty(ConfigurationData.ADEMPIERE_DB_URL, url); data.setProperty(ConfigurationData.ADEMPIERE_DB_NAME, databaseName); data.setProperty(ConfigurationData.ADEMPIERE_DB_USER, databaseUser); data.setProperty(ConfigurationData.ADEMPIERE_DB_PASSWORD, databasePassword); + data.setProperty(ConfigurationData.ADEMPIERE_DB_EXISTS, (isDBExists ? "Y" : "N")); return null; } // test diff --git a/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java b/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java index b8979f13b1..46853b8e4d 100755 --- a/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java +++ b/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java @@ -47,6 +47,7 @@ import org.compiere.util.DB; import org.compiere.util.DisplayType; import org.compiere.util.Ini; import org.compiere.util.Trx; +import org.compiere.util.Util; import com.mchange.v2.c3p0.ComboPooledDataSource; @@ -175,11 +176,17 @@ public class DB_PostgreSQL implements AdempiereDatabase public String getConnectionURL (CConnection connection) { // jdbc:postgresql://hostname:portnumber/databasename?encoding=UNICODE - StringBuffer sb = new StringBuffer("jdbc:postgresql:"); - sb.append("//").append(connection.getDbHost()) + StringBuilder sb = new StringBuilder("jdbc:postgresql://") + .append(connection.getDbHost()) .append(":").append(connection.getDbPort()) .append("/").append(connection.getDbName()) .append("?encoding=UNICODE"); + + String urlParameters = System.getProperty("org.idempiere.postgresql.URLParameters"); + if (!Util.isEmpty(urlParameters)) { + sb.append("&").append(urlParameters); + } + m_connection = sb.toString(); return m_connection; } // getConnectionString @@ -195,8 +202,17 @@ public class DB_PostgreSQL implements AdempiereDatabase public String getConnectionURL (String dbHost, int dbPort, String dbName, String userName) { - return "jdbc:postgresql://" - + dbHost + ":" + dbPort + "/" + dbName; + StringBuilder sb = new StringBuilder("jdbc:postgresql://") + .append(dbHost) + .append(":").append(dbPort) + .append("/").append(dbName); + + String urlParameters = System.getProperty("org.idempiere.postgresql.URLParameters") ; + if (!Util.isEmpty(urlParameters)) { + sb.append("?").append(urlParameters); + } + + return sb.toString(); } // getConnectionURL /** diff --git a/org.idempiere.webservices/WEB-INF/classes/META-INF/context.xml b/org.idempiere.webservices/WEB-INF/classes/META-INF/context.xml deleted file mode 100644 index 3d17e74718..0000000000 --- a/org.idempiere.webservices/WEB-INF/classes/META-INF/context.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/org.idempiere.webservices/WEB-INF/classes/META-INF/cxf/services.xml b/org.idempiere.webservices/WEB-INF/classes/META-INF/cxf/services.xml deleted file mode 100644 index 32b51508ad..0000000000 --- a/org.idempiere.webservices/WEB-INF/classes/META-INF/cxf/services.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -